{
"stock_location": {
"id": "<string>",
"name": "<string>",
"fulfillment_sets": [
{
"id": "<string>",
"name": "<string>",
"type": "<string>",
"location": "<unknown>",
"service_zones": [
{
"id": "<string>",
"name": "<string>",
"fulfillment_set_id": "<string>",
"fulfillment_set": "<unknown>",
"geo_zones": [
{
"id": "<string>",
"type": "country",
"country_code": "<string>",
"province_code": "<string>",
"city": "<string>",
"postal_expression": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"deleted_at": "2023-11-07T05:31:56Z"
}
],
"shipping_options": [
{
"id": "<string>",
"name": "<string>",
"price_type": "calculated",
"service_zone_id": "<string>",
"service_zone": "<unknown>",
"shipping_option_type_id": "<string>",
"type": {
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"deleted_at": "2023-11-07T05:31:56Z",
"label": "<string>",
"description": "<string>",
"code": "<string>",
"shipping_option_id": "<string>"
},
"prices": [
{
"id": "<string>",
"title": "<string>",
"currency_code": "usd",
"amount": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"deleted_at": "2023-11-07T05:31:56Z"
}
],
"data": {},
"metadata": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"deleted_at": "2023-11-07T05:31:56Z"
}
],
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"deleted_at": "2023-11-07T05:31:56Z"
}
],
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"deleted_at": "2023-11-07T05:31:56Z"
}
]
}
}Updates the sales channels of a Stock Location.
{
"stock_location": {
"id": "<string>",
"name": "<string>",
"fulfillment_sets": [
{
"id": "<string>",
"name": "<string>",
"type": "<string>",
"location": "<unknown>",
"service_zones": [
{
"id": "<string>",
"name": "<string>",
"fulfillment_set_id": "<string>",
"fulfillment_set": "<unknown>",
"geo_zones": [
{
"id": "<string>",
"type": "country",
"country_code": "<string>",
"province_code": "<string>",
"city": "<string>",
"postal_expression": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"deleted_at": "2023-11-07T05:31:56Z"
}
],
"shipping_options": [
{
"id": "<string>",
"name": "<string>",
"price_type": "calculated",
"service_zone_id": "<string>",
"service_zone": "<unknown>",
"shipping_option_type_id": "<string>",
"type": {
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"deleted_at": "2023-11-07T05:31:56Z",
"label": "<string>",
"description": "<string>",
"code": "<string>",
"shipping_option_id": "<string>"
},
"prices": [
{
"id": "<string>",
"title": "<string>",
"currency_code": "usd",
"amount": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"deleted_at": "2023-11-07T05:31:56Z"
}
],
"data": {},
"metadata": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"deleted_at": "2023-11-07T05:31:56Z"
}
],
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"deleted_at": "2023-11-07T05:31:56Z"
}
],
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"deleted_at": "2023-11-07T05:31:56Z"
}
]
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The ID of the Stock Location
The comma-separated fields to include in the response
OK
The stock location's details.
Show child attributes
The location's ID.
The location's name.
The fulfillment sets associated with the location.
Show child attributes
The fulfillment set's ID.
The fulfillment set's name.
The fulfillment set's type.
The fulfillment set's service zones.
Show child attributes
The service zone's ID.
The service zone's name.
The service zone's fulfillment set id.
The service zone's geo zones.
Show child attributes
The geo zone's ID.
The geo zone's type.
country, province, city, zip The geo zone's country code.
The geo zone's province code.
The geo zone's city.
The geo zone's postal expression.
The geo zone's created at.
The geo zone's updated at.
The geo zone's deleted at.
The service zone's shipping options.
Show child attributes
The shipping option's ID.
The shipping option's name.
The shipping option's price type. If it's flat, the price is fixed and is set in the prices property. If it's calculated, the price is calculated on checkout by the associated fulfillment provider.
calculated, flat The ID of the service zone this option belongs to.
The ID of the associated shipping option type.
The shipping option's details.
Show child attributes
The shipping option's ID.
The date the shipping option was created.
The date the shipping option was updated.
The date the shipping option was deleted.
The type's label.
The type's description.
The type's code.
The type's shipping option id.
The shipping option's prices. If the price_type is calculated, this array will be empty since the price is calculated by the fulfillment provider during checkout.
Show child attributes
The price's ID.
The price's title.
The price's currency code.
"usd"
The price's amount.
The date the price was created.
The date the price was updated.
The date the price was deleted.
The shipping option's data, useful for the fulfillment provider handling fulfillments created from this option.
The shipping option's metadata, can hold custom key-value pairs.
The date the shipping option was created.
The date the shipping option was updated.
The date the shipping option was deleted.
The service zone's created at.
The service zone's updated at.
The service zone's deleted at.
The fulfillment set's created at.
The fulfillment set's updated at.
The fulfillment set's deleted at.