Saltar al contenido principal
GET
/
v1
/
items
/
skus
/
{skuReference}
/
cost
Get the cost of an SKU by its reference
curl --request GET \
  --url https://api.bold-factory.com/v1/items/skus/{skuReference}/cost \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "code": "<string>",
  "externalReference": "<string>",
  "name": "<string>",
  "autoUpdateCost": true,
  "plannedCostPerUnit": {
    "amount": 123,
    "currency": "<string>"
  },
  "unit": {
    "id": "<string>",
    "code": "<string>",
    "name": "<string>"
  }
}

Autorizaciones

Authorization
string
header
requerido

Use a valid JWT token in the Authorization header with the format 'Bearer {token}'

Parámetros de ruta

skuReference
string
requerido

Respuesta

OK

id
string
requerido
code
string
requerido
externalReference
null | string
requerido
name
string
requerido
procurementType
enum<string>
requerido
Opciones disponibles:
Make,
Buy,
Ignore
autoUpdateCost
boolean
requerido
plannedCostPerUnit
object
requerido
unit
object
requerido