Skip to main content
GET
/
open-api
/
v1.0
/
products
/
{productId}
/
inventory
Get product (offer) inventory by id
curl --request GET \
  --url https://api.fourthwall.com/open-api/v1.0/products/{productId}/inventory \
  --header 'Authorization: Bearer <token>'
{
  "results": [
    {
      "variantId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "quantity": 123,
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ],
  "total": 123,
  "page": 123,
  "size": 123,
  "totalPages": 123
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

productId
string
required

Response

OK

results
Stock · object[]
required
total
integer<int32>
page
integer<int32>
size
integer<int32>
totalPages
integer<int32>