Get rich items by SKUs

POST /i/richItem/{businessId}/itemsBySkus

Returns a list of rich items matching the SKUs provided in the request.

Path parameters

application/json

Body Required

array[string] array[string]

A stock-keeping unit

Maximum length of each is 25.

Responses

  • 200 application/hal+json;charset=UTF-8

    OK

    Hide response attributes Show response attributes object
    • Hide _embedded attribute Show _embedded attribute
      • richItemDtoList array[object]

        List of rich items

        Hide richItemDtoList attributes Show richItemDtoList attributes object
        • businessId integer(int64)

          The id of the business

        • sku string

          A stock-keeping unit

        • descriptions array[object]

          Stores a description with its locale code

          Hide descriptions attributes Show descriptions attributes object
          • localeCode string Required

            Language code (ISO 639) of the description

            Minimum length is 2, maximum length is 7.

          • Item description in the provided language

            Maximum length is 4000.

          • Display name (for the customer) in the provided language

        • allergenCodes array[string]

          List of allergen codes

        • creationDate string(date-time)

          Creation date of the richItem

        • lastUpdateDate string(date-time)

          Last update date of the richItem

        • Url of the picture

        • Url of the raw picture

POST /i/richItem/{businessId}/itemsBySkus
curl \
 -X POST https://api.trial.lsk.lightspeed.app/i/richItem/454335871/itemsBySkus \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '["UGG-BB-PUR-06"]'
Request example
[
  "UGG-BB-PUR-06"
]