Pickup Stores
GET/stores
Retrieve stores supporting local pickup shipping method
Responses
- 200
- 400
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
Array [
Array [
]
]
title string
Title of this group of stores. Will be shown on the checkout window to the user.
strategy stringrequired
Determines how the stores will be embedded on the shipping options.
shippingId string
Required for strategy append
stores
object[]
required
id stringrequired
Shipping Method ID. Will be sent as the selected method for the order.
title stringrequired
Title of the store location. Will be shown on the checkout window to the user.
[
{
"title": "string",
"strategy": "string",
"shippingId": "string",
"stores": [
{
"id": "string",
"title": "string"
}
]
}
]
[
{
"strategy": "append",
"title": "Title",
"stores": [
{
"id": "1",
"title": "Store 1"
},
{
"id": "2",
"title": "Store 2"
}
]
},
{
"strategy": "expand",
"shippingId": "Parent Id",
"title": "Title 2",
"stores": [
{
"id": "3",
"title": "Store 3"
},
{
"id": "4",
"title": "Store 5"
}
]
},
{
"strategy": "merge",
"stores": [
{
"id": "5",
"title": "Store 5"
}
]
}
]
Error
Loading...