Saltar al contenido principal
GET
/
v1
/
items
/
skus
/
{skuReference}
/
values
Get all properties and its values for a given SKU
curl --request GET \
  --url https://api.bold-factory.com/v1/items/skus/{skuReference}/values \
  --header 'Authorization: Bearer <token>'
{
  "results": [
    {
      "skuId": "<string>",
      "sku": {
        "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
      },
      "propertyId": "<string>",
      "property": {
        "id": "<string>",
        "externalReference": "<string>",
        "name": "<string>",
        "createdAt": "2023-11-07T05:31:56Z",
        "createdBy": "<string>",
        "lastModifiedAt": "2023-11-07T05:31:56Z",
        "lastModifiedBy": "<string>"
      },
      "value": "<string>",
      "isMandatory": true,
      "enumValue": {
        "id": "<string>",
        "externalReference": "<string>",
        "name": "<string>",
        "propertyId": "<string>",
        "property": {
          "id": "<string>",
          "externalReference": "<string>",
          "name": "<string>",
          "createdAt": "2023-11-07T05:31:56Z",
          "createdBy": "<string>",
          "lastModifiedAt": "2023-11-07T05:31:56Z",
          "lastModifiedBy": "<string>"
        }
      }
    }
  ],
  "totalCount": 123,
  "missingValues": [
    {
      "id": "<string>",
      "externalReference": "<string>",
      "name": "<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

skuReference
string
requerido

Respuesta

OK

results
object[]
requerido
totalCount
integer<int32>
requerido
missingValues
object[]
requerido