| Param name | Description |
|---|---|
|
shop
required |
Shopify domain of the store. Example: test-store.myshopify.com Validations:
|
|
page
optional |
Page number for pagination (default: 1) Validations:
|
|
per_page
optional |
Items per page (default: 50, max: 100) Validations:
|
|
shopping_cart
optional |
Array of shopping cart items Validations:
|
|
shopping_cart[variant_id]
required |
Variant ID Validations:
|
|
shopping_cart[quantity]
required |
Quantity of the product Validations:
|
|
shopping_cart[sku]
optional |
SKU (required if product overrides configured based on SKUs) Validations:
|
|
shopping_cart[tags]
optional |
Product tags (required if product overrides configured based on tags) Validations:
|
|
shopping_cart[product_id]
required |
Product ID Validations:
|
Pickup locations information
| Param name | Description |
|---|---|
|
data
required |
Array of location objects Validations:
|
|
data[id]
required |
Location ID Validations:
|
|
data[name]
required |
Location name Validations:
|
|
data[address1]
optional |
Address line 1 Validations:
|
|
data[address2]
optional |
Address line 2 Validations:
|
|
data[city]
optional |
City Validations:
|
|
data[zip]
optional |
ZIP/Postal code Validations:
|
|
data[province]
optional |
Province/State Validations:
|
|
data[country]
optional |
Country Validations:
|
|
data[country_code]
optional |
Country code Validations:
|
|
data[province_code]
optional |
Province/State code Validations:
|
|
data[pickup_enabled]
required |
Whether pickup is enabled for this location Validations:
|
|
pagy
required |
Pagination metadata Validations:
|
|
pagy[count]
required |
Total number of records across all pages Validations:
|
|
pagy[page]
required |
Current page number Validations:
|
|
pagy[items]
required |
Number of records per page Validations:
|
|
pagy[pages]
required |
Total number of pages Validations:
|
|
pagy[last]
required |
Last page number Validations:
|
|
pagy[from]
required |
1-based index of the first record on the current page Validations:
|
|
pagy[to]
required |
1-based index of the last record on the current page Validations:
|
|
pagy[prev]
optional |
Previous page number (null on the first page) Validations:
|
|
pagy[next]
optional |
Next page number (null on the last page) Validations:
|
Shop not found
| Param name | Description |
|---|
Invalid parameters
| Param name | Description |
|---|