Basic information

PUT /{shopId}/legal/cookie-policy

Modifies the cookie policy 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": "Cookie policy",
  "title": "Cookie policy",
  "navigationCaption": "Cookie policy",
  "description": "Our online shop uses cookies. Cookies help us to improve the efficiency of your user experience."
}

Response attributes

Name Type Description

object of contentPage

Response

HTTP 200

Media type application/json

{
  "name": "Cookie policy",
  "title": "Cookie policy",
  "navigationCaption": "Cookie policy",
  "description": "Our online shop uses cookies. Cookies help us to improve the efficiency of your user experience."
}