Basic information
PUT /{shopId}/legal/terms-and-conditions
Modifies the terms and conditions of a shop. This endpoint expects a complete object representation, all fields included. If any field is not set, it will be deleted from the transferred object.
Authorisation
OAuth 2.0 Token required with scopes:
legal_write
URI parameters
| Name | Type | Description |
|---|---|---|
shopId |
string |
The unique identifier of the shop. Required:
true
Example:
DemoShop
|
Query parameters
| Name | Type | Description |
|---|---|---|
locale |
string |
Represents the language code according to ISO 639-1 and the country code according to ISO 3166-1. Required:
true
Example:
en_US
|
Request attributes
| Name | Type | Description |
|---|---|---|
|
object of contentPage |
This endpoint expects a complete object representation, all fields included. If any field is not set, it will be deleted from the transferred object. |
Request body
Media type application/json
{
"name": "Terms and conditions",
"navigationCaption": "Terms and conditions",
"description": "Our terms and conditions shall apply exclusively.<br />We will not accept any conditions of the customer which are contradictory to or deviant from our terms and conditions."
}
Response attributes
| Name | Type | Description |
|---|---|---|
|
object of contentPage |
Response
HTTP 200
Media type application/json
{
"name": "Terms and conditions",
"navigationCaption": "Terms and conditions",
"description": "Our terms and conditions shall apply exclusively.<br />We will not accept any conditions of the customer which are contradictory to or deviant from our terms and conditions."
}