Skip to main content

Package Options (0.1)

Download OpenAPI specification:Download

API responsible for handling package options for stores.

Package Options

Use this resource to manage package options for each store.

Get store configuration

Get relation between stores and package_options

Use this method to get relation between stores and package_options for a tenant.

Responses

Response samples

Content type
application/json
{
  • "stores": [
    ]
}

Update store configuration

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
store_id
string

ID of the store

package_options
Array of strings

Package option IDs of the store

default_package
string

ID of the default package option

Responses

Request samples

Content type
application/json
{
  • "stores": [
    ]
}

Response samples

Content type
application/json
{
  • "stores": [
    ]
}

Get packages configuration

Get package options

Use this method to get package options for a tenant.

Responses

Response samples

Content type
application/json
{
  • "packages": [
    ]
}

Update packages configuration

Set package options

Use this method to set package options for a tenant.

Request Body schema: application/json
Array of objects
Array
uuid
string

uuid of the package

name
string

name of the package

weight
number

weight of the package

weight_unit
string

weight_unit of the package

length
number

length of the package

width
number

width of the package

height
number

height of the package

length_unit
string

length_unit of the package

Responses

Request samples

Content type
application/json
{
  • "packages": [
    ]
}

Response samples

Content type
application/json
{
  • "packages": [
    ]
}