has_one
stock_locations

Retrieve the stock location associated to the stock item

Retrieve the stock location associated to the stock item

get/stock_items/{stockItemId}/stock_location

Request

  • Base URL
    https://{your_organization_slug}.commercelayer.io/api
  • URL
    https://{your_organization_slug}.commercelayer.io/api/stock_items/{stockItemId}/stock_location
  • Auth
    HTTP bearer

Path parameters

stockItemIdstring required

The resource's id

Response

The stock_location associated to the stock item

Changes

No recorded changes to this operation across all 11 revisions of this API.