Basic information

PUT /{shopId}/legal/privacy-policy

Modifies the privacy 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": "Privacy policy",
  "title": "Privacy policy",
  "navigationCaption": "Privacy policy",
  "description": "The Policy is changed occasionally to update you regarding any changes, so please make sure you review the Privacy Policy."
}

Response attributes

Name Type Description

object of contentPage

Response

HTTP 200

Media type application/json

{
  "name": "Privacy policy",
  "navigationCaption": "Privacy policy",
  "description": "The Policy is changed occasionally to update you regarding any changes, so please make sure you review the Privacy Policy."
}