Saltar al contenido principal
GET
/
v1
/
warehouse
/
lots
/
{lotId}
/
components
/
cost
Get the cost of the components of a lot by its reference
curl --request GET \
  --url https://api.bold-factory.com/v1/warehouse/lots/{lotId}/components/cost \
  --header 'Authorization: Bearer <token>'
{
  "results": [
    {
      "lotId": "<string>",
      "componentId": "<string>",
      "quantity": 123,
      "costPerUnit": {
        "amount": 123,
        "currency": "<string>"
      }
    }
  ],
  "totalCount": 123
}

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

results
object[]
requerido
totalCount
integer<int32>
requerido