Basic information
PUT /{shopId}/legal/rights-of-withdrawal
Modifies the customer rights of withdrawal 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": "Right of withdrawal",
"navigationCaption": "Right of withdrawal",
"description": "You can withdraw from your contract declaration without stating any reasons within two weeks.<br />This can be done in either writing (e.g. letter, fax, e-mail) or by returning the goods."
}
Response attributes
| Name | Type | Description |
|---|---|---|
|
object of contentPage |
Response
HTTP 200
Media type application/json
{
"name": "Right of withdrawal",
"navigationCaption": "Right of withdrawal",
"description": "You can withdraw from your contract declaration without stating any reasons within two weeks.<br />This can be done in either writing (e.g. letter, fax, e-mail) or by returning the goods."
}