Saltar al contenido principal
GET
/
v1
/
warehouse
/
lots
/
{lotId}
Get one lot by its ID
curl --request GET \
  --url https://api.bold-factory.com/v1/warehouse/lots/{lotId} \
  --header 'Authorization: Bearer <token>'
{
  "type": "Merged",
  "firstLotId": "<string>",
  "firstQuantity": 123,
  "secondLotId": "<string>",
  "secondQuantity": 123,
  "id": "<string>",
  "skuId": "<string>",
  "sku": {
    "id": "<string>",
    "code": "<string>",
    "externalReference": "<string>",
    "name": "<string>",
    "managesLots": true,
    "stock": 123,
    "unit": {
      "id": "<string>",
      "code": "<string>",
      "name": "<string>"
    },
    "displayDecimalPlaces": 123
  },
  "code": "<string>",
  "stock": 123,
  "costPerUnit": {
    "amount": 123,
    "currency": "<string>"
  },
  "createdAt": "2023-11-07T05:31:56Z",
  "createdBy": "<string>",
  "lastModifiedAt": "2023-11-07T05:31:56Z",
  "lastModifiedBy": "<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

type
enum<string>
requerido
Opciones disponibles:
Merged
firstLotId
string
requerido
firstQuantity
number<double>
requerido
secondLotId
string
requerido
secondQuantity
number<double>
requerido
id
string
requerido
skuId
string
requerido
sku
object
requerido
code
string
requerido
status
enum<string>
requerido
Opciones disponibles:
Active,
Inactive
stock
number<double>
requerido
costPerUnit
object
requerido
createdAt
string<date-time>
requerido
createdBy
string
requerido
lastModifiedAt
string<date-time>
requerido
lastModifiedBy
string
requerido