Legal Pages

Get Legal Pages

Changed on

Returns every legal page type with its stored content.

get/v1/shops/{shopId}/legal-pages

Request

Response

Example response

{
  "pages": [
    {
      "type": "terms",
      "slug": "terms-of-service",
      "path": "/terms-of-service",
      "url": "http://demo-shop.mysellauth.test:80/terms-of-service",
      "default_title": "Terms of Service",
      "title": null,
      "meta_title": null,
      "meta_description": null,
      "content": null,
      "metadata": null,
      "has_content": false,
      "updated_at": null
    },
    {
      "type": "privacy_policy",
      "slug": "privacy-policy",
      "path": "/privacy-policy",
      "url": "http://demo-shop.mysellauth.test:80/privacy-policy",
      "default_title": "Privacy Policy",
      "title": null,
      "meta_title": null,
      "meta_description": null,
      "content": null,
      "metadata": null,
      "has_content": false,
      "updated_at": null
    },
    {
      "type": "refund_policy",
      "slug": "refund-policy",
      "path": "/refund-policy",
      "url": "http://demo-shop.mysellauth.test:80/refund-policy",
      "default_title": "Refund Policy",
      "title": null,
      "meta_title": null,
      "meta_description": null,
      "content": null,
      "metadata": null,
      "has_content": false,
      "updated_at": null
    },
    {
      "type": "shipping_policy",
      "slug": "shipping-policy",
      "path": "/shipping-policy",
      "url": "http://demo-shop.mysellauth.test:80/shipping-policy",
      "default_title": "Shipping Policy",
      "title": null,
      "meta_title": null,
      "meta_description": null,
      "content": null,
      "metadata": null,
      "has_content": false,
      "updated_at": null
    },
    {
      "type": "cookie_policy",
      "slug": "cookie-policy",
      "path": "/cookie-policy",
      "url": "http://demo-shop.mysellauth.test:80/cookie-policy",
      "default_title": "Cookie Policy",
      "title": null,
      "meta_title": null,
      "meta_description": null,
      "content": null,
      "metadata": null,
      "has_content": false,
      "updated_at": null
    },
    {
      "type": "impressum",
      "slug": "impressum",
      "path": "/impressum",
      "url": "http://demo-shop.mysellauth.test:80/impressum",
      "default_title": "Legal Notice",
      "title": null,
      "meta_title": null,
      "meta_description": null,
      "content": null,
      "metadata": null,
      "has_content": false,
      "updated_at": null
    },
    {
      "type": "withdrawal",
      "slug": "right-of-withdrawal",
      "path": "/right-of-withdrawal",
      "url": "http://demo-shop.mysellauth.test:80/right-of-withdrawal",
      "default_title": "Right of Withdrawal",
      "title": null,
      "meta_title": null,
      "meta_description": null,
      "content": null,
      "metadata": null,
      "has_content": false,
      "updated_at": null
    }
  ]
}

Changes

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • info

      added the optional property // to the response with the status