Get Project Settings
GET/v2/settings
You can get all of the project settings via one API call using a client_credential
token. The response is in object format as shown in the following example.
The default calculation_method
is line
.
Responses
- 200
- 401
- 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"
}
}
Unauthorized
- application/json
- Schema
- Example (from schema)
- unauthorized-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": "Unauthorized",
"status": "401"
}
]
}
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"
}
]
}