Menu
Get Availability
Returns availability for multiple products.
GET
/organizations/{organizationId}/availabilityUse it in a workflow
- Add a step and choose the Salesforce Commerce Cloud connector.
- Pick the Get Availability action (under Shopper Availability).
- Fill in the fields below, then reference the result from later steps as
{{getAvailability.response.data}}.
Request
Path parameters
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{getAvailability.response.data.<field>}}.
{
"limit": 2,
"data": [
{
"id": "apple-ipod-classic",
"inventories": [
{
"id": "Site1InventoryList",
"ats": 15,
"backorderable": true,
"inStockDate": "9999-12-31T00:00:00.0Z",
"orderable": true,
"preorderable": false,
"stockLevel": 10
}
]
}
],
"total": 2
}
Need more? See the Salesforce Commerce Cloud guide for connection setup and behaviour shared by every action.
Was this page helpful?