Update Project Settings
PUT/v2/settings
You can use the Settings endpoint to update your project settings at any time. These global settings take immediate effect.
Request
- application/json
Body
Describes the type of request payload you’re sending. Set this value to settings
.
Indicates the number of results per page (max: 100
).
Displays child products or not in product listings.
Represents an array of alpha2 codes for supported languages.
Possible values: [line
, simple
]
Displays the method used to calculate card and order totals.
Indicates an array of fields that are required for creating an address.
Responses
- 200
- 400
- default
OK
- application/json
- Schema
- Example (from schema)
Schema
data object
Describes the type of request payload you’re sending. Set this value to settings
.
Indicates the number of results per page (max: 100
).
Displays child products or not in product listings.
Represents an array of alpha2 codes for supported languages.
Possible values: [line
, simple
]
Displays the method used to calculate card and order totals.
Indicates an array of fields that are required for creating an address.
The currency limit.
The field limit.
The integration limit.
The event limit.
The filter limit.
The tax item limit.
The promotions limit.
The promotion codes limit.
The page offset limit.
meta object
{
"data": {
"type": "settings",
"page_length": 25,
"list_child_products": false,
"additional_languages": [
"es",
"fr",
"de"
],
"calculation_method": "line",
"address_mandatory_fields": [
[
"first_name",
"last_name",
"line_1",
"city",
"region",
"postcode",
"country",
"instructions"
]
],
"currency_limit": 10,
"field_limit": 100,
"integration_limit": 100,
"event_limit": 5,
"filter_limit": 10,
"tax_item_limit": 5,
"promotions_limit": 1000,
"promotion_codes_limit": 1000,
"page_offset_limit": 10000
},
"meta": {
"owner": "store"
}
}
Bad Request
- application/json
- Schema
- Example (from schema)
- bad-request-error
Schema
- Array [
- ]
errors Error[]required
A brief summary of the error.
The HTTP response code of the error.
Optional additional detail about the error.
{
"errors": [
{
"title": "string",
"status": "string",
"detail": "string"
}
]
}
{
"errors": [
{
"title": "enum",
"source": "data.type",
"detail": "data.type must be one of the following: \"settings\""
}
]
}
Internal server error.
- application/json
- Schema
- Example (from schema)
- internal-server-error
Schema
- Array [
- ]
errors Error[]required
A brief summary of the error.
The HTTP response code of the error.
Optional additional detail about the error.
{
"errors": [
{
"title": "string",
"status": "string",
"detail": "string"
}
]
}
{
"errors": [
{
"title": "Internal Server Error",
"status": "500",
"detail": "there was a problem processing your request"
}
]
}