Skip to navigation

Fetch costings for a product

Fetch costing sheets for a specific product.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

product_idstringRequiredformat: "uuid"
ID of the product.

Response

Costing sheets for the product
acceptedCostingStateenum or null

Returns accepted or preAccepted for the selected costing in its season, or at product level for a costing without a season. Unselected costings return null.

Allowed values:
idstringOptionalformat: "uuid"
namestringOptional
productIdstringOptionalformat: "uuid"
seasonIdstring or nullOptionalformat: "uuid"
Season of the costing, or null for a costing without a season.
variantIdinteger or nullOptional
currencystringOptional
currencyIdstringOptionalformat: "uuid"
currencySymbolstringOptional
supplierIdstring or nullOptionalformat: "uuid"
manufacturerLocationIdstring or nullOptionalformat: "uuid"
makeCostfloatOptional
freightCostfloatOptional
dutyCostfloatOptional
miscCostfloatOptional
dutyRatefloatOptional
countryOfOriginstringOptional
targetFobfloatOptional
wholesalePricefloatOptional
retailRecommendedPricefloatOptional
directSalePricefloatOptional
costingTypestringOptional
finishedProductfloatOptional
salesChannelslist of stringsOptional
costingV2map from strings to anyOptional
productobjectOptional
costingSectionslist of maps from strings to anyOptional
costingColumnslist of objectsOptional
statusstringOptionalDeprecated

Deprecated workflow status of the costing. Use acceptedCostingState to check whether a costing is selected.

Errors

401
Unauthorized Error
404
Not Found Error