Package Options (0.1)
Download OpenAPI specification:Download
Team Store Fulfillment: team-store-fulfillment@newstore.com URL: https://apidocs.newstore.io License: Proprietary. All rights reserved.
API responsible for handling package options for stores.
Set relation between stores and package_options
Use this method to set relation between stores and package_options for a tenant.
Request Body schema: application/json
Array of objects | |||||||
Array
|
Responses
Request samples
- Payload
Content type
application/json
{- "stores": [
- {
- "store_id": "string",
- "package_options": [
- "string"
], - "default_package": "string"
}
]
}
Response samples
- 200
- 400
Content type
application/json
{- "stores": [
- {
- "store_id": "string",
- "package_options": [
- "string"
], - "default_package": "string"
}
]
}
Set package options
Use this method to set package options for a tenant.
Request Body schema: application/json
Array of objects | |||||||||||||||||
Array
|
Responses
Request samples
- Payload
Content type
application/json
{- "packages": [
- {
- "uuid": "uuid1",
- "name": "L",
- "weight": 1.74,
- "weight_unit": "lb",
- "length": 42.55,
- "width": 53.34,
- "height": 19.91,
- "length_unit": "cm"
}
]
}
Response samples
- 200
- 400
Content type
application/json
{- "packages": [
- {
- "uuid": "uuid1",
- "name": "L",
- "weight": 1.74,
- "weight_unit": "lb",
- "length": 42.55,
- "width": 53.34,
- "height": 19.91,
- "length_unit": "cm"
}
]
}