REST API
Catalog
Get Product Availability
revtrieve the availability status of products given their sku multiple skus can be queried in a single request by passing the sku parameter in in array format ?sku\[]=abc\&sku\[]1235\&sku\[]= valid response values for availability are in stock out of stock backordered return returns an array of availability objects if one or more skus incorrectly formatted, the api call will error { "tab" "examples", "url" "/v1/dispensary/products/availability?sku\[]= ", "name" "api", "method" "get", "request" { "pathparameters" \[], "queryparameters" \[ { "kind" "required", "name" "sku\[]", "type" "string", "children" \[], "description" "the sku you need to check availability for " }, { "kind" "optional", "name" "sku\[]", "type" "string", "children" \[], "description" "additional multiple sku queries in the same request " } ], "headerparameters" \[ { "kind" "required", "name" "authorization", "type" "string", "children" \[], "description" "the access token" } ], "bodydataparameters" \[], "formdataparameters" \[] }, "results" { "languages" \[ { "id" "st7x5ecla7vjy6twnarmd", "code" "\[\n {\n \\"sku\\" \\"sf811\\",\n \\"availability\\" \\"in stock\\"\n }\n]", "language" "200", "customlabel" "" } ], "selectedlanguageid" "st7x5ecla7vjy6twnarmd" }, "examples" { "languages" \[ { "id" "lhvvurblv3o1djzkyhqcq", "code" "curl location g request get 'https //{{api host}}/rest/{{scope}}/v1/dispensary/products/availability?sku\[]=sf811' \\\\\n header 'content type application/json' \\\\\n header 'authorization bearer {{access token}}' ", "language" "curl", "customlabel" "" } ], "selectedlanguageid" "lhvvurblv3o1djzkyhqcq" }, "description" "", "currentnewparameter" { "label" "query parameter", "value" "queryparameters" } }