Saltar al contenido principal
GET
/
v1
/
warehouse
/
lots
/
{lotId}
/
cost
Get the cost of one lot by its reference
curl --request GET \
  --url https://api.bold-factory.com/v1/warehouse/lots/{lotId}/cost \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "code": "<string>",
  "costPerUnit": {
    "amount": 123,
    "currency": "<string>"
  },
  "skuId": "<string>",
  "sku": {
    "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

lotId
string
requerido

Respuesta

OK

id
string
requerido
code
string
requerido
costPerUnit
object
requerido
skuId
string
requerido
sku
object
requerido