Skip to main content
GET
/
v1
/
collections
/
{slug}
/
products
Get products (offers) in a collection
curl --request GET \
  --url https://storefront-api.fourthwall.com/v1/collections/{slug}/products
{
  "results": [
    {
      "id": "<string>",
      "name": "<string>",
      "slug": "<string>",
      "description": "<string>",
      "state": {
        "type": "<string>"
      },
      "access": {
        "type": "<string>"
      },
      "images": [
        {
          "id": "00aa4abd-5778-4199-8161-0b49b2f212e5",
          "url": "https://fourthwall.com/image.png",
          "width": 800,
          "height": 600,
          "transformedUrl": "https://fourthwall.com/image.png"
        }
      ],
      "variants": [
        {
          "id": "<string>",
          "name": "<string>",
          "sku": "<string>",
          "unitPrice": {
            "value": 10,
            "currency": "USD"
          },
          "attributes": {
            "description": "Black, L",
            "color": {
              "name": "Black",
              "swatch": "#000000"
            },
            "size": {
              "name": "L"
            }
          },
          "stock": {
            "type": "<string>",
            "inStock": 5
          },
          "weight": {
            "value": 1,
            "unit": "kg"
          },
          "dimensions": {
            "length": 1,
            "width": 2,
            "height": 3,
            "unit": "cm"
          },
          "images": [
            {
              "id": "00aa4abd-5778-4199-8161-0b49b2f212e5",
              "url": "https://fourthwall.com/image.png",
              "width": 800,
              "height": 600,
              "transformedUrl": "https://fourthwall.com/image.png"
            }
          ],
          "compareAtPrice": {
            "value": 10,
            "currency": "USD"
          }
        }
      ],
      "createdAt": "2020-08-13T09:05:36.939Z",
      "updatedAt": "2020-08-13T09:05:36.939Z",
      "additionalInformation": [
        {
          "type": "MORE_DETAILS",
          "title": "<string>",
          "bodyHtml": "<string>"
        }
      ],
      "sizeGuide": {
        "fitGuideUrls": [
          "<string>"
        ],
        "previewUrl": "<string>",
        "fileUrl": "<string>",
        "description": "<string>",
        "fitGuideDescription": "<string>"
      }
    }
  ],
  "paging": {
    "pageNumber": 123,
    "pageSize": 123,
    "elementsSize": 123,
    "elementsTotal": 123,
    "totalPages": 123,
    "hasNextPage": true
  }
}

Path Parameters

slug
string
required

Query Parameters

storefront_token
string
required
Example:

"ptkn_xxxxxxxxxxxxxxxxxx"

currency
enum<string>
Available options:
USD,
EUR,
CAD,
GBP,
AUD,
NZD,
SEK,
NOK,
DKK,
PLN,
INR,
JPY,
MYR,
SGD,
MXN,
BRL
page
integer<int32>
size
integer<int32>

Response

OK

results
Product · object[]
required
paging
Page Result · object