Saltar al contenido principal
POST
/
v1
/
items
/
skus
/
search
Search for SKUs by its values (paginated)
curl --request POST \
  --url https://api.bold-factory.com/v1/items/skus/search \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "productReference": "<string>",
  "filters": [
    {
      "propertyReference": "<string>",
      "value": "<string>"
    }
  ]
}
'
{
  "results": [
    {
      "id": "<string>",
      "externalReference": "<string>",
      "code": "<string>",
      "name": "<string>",
      "description": "<string>",
      "validationErrors": "<string>",
      "productId": "<string>",
      "imageFileId": "<string>",
      "image": {
        "id": "<string>",
        "readOnlyUri": "<string>"
      },
      "product": {
        "id": "<string>",
        "externalReference": "<string>",
        "code": "<string>",
        "name": "<string>",
        "description": "<string>",
        "deletedAt": "2023-11-07T05:31:56Z",
        "createdAt": "2023-11-07T05:31:56Z",
        "createdBy": "<string>",
        "lastModifiedAt": "2023-11-07T05:31:56Z",
        "lastModifiedBy": "<string>"
      },
      "deletedAt": "2023-11-07T05:31:56Z",
      "createdAt": "2023-11-07T05:31:56Z",
      "createdBy": "<string>",
      "lastModifiedAt": "2023-11-07T05:31:56Z",
      "lastModifiedBy": "<string>",
      "unit": {
        "id": "<string>",
        "code": "<string>",
        "name": "<string>"
      },
      "displayDecimalPlaces": 123
    }
  ],
  "pageNumber": 123,
  "totalPages": 123,
  "totalCount": 123,
  "pageSize": 123
}

Autorizaciones

Authorization
string
header
requerido

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

Parámetros de consulta

PageNumber
integer<int32>
PageSize
integer<int32>

Cuerpo

application/json
productReference
null | string
requerido
filters
object[]
requerido

Respuesta

OK

results
object[]
requerido
pageNumber
integer<int32>
requerido
totalPages
integer<int32>
requerido
totalCount
integer<int32>
requerido
pageSize
integer<int32>
requerido