Ordexs API v1 Get an API key

Content

Set a policy

PUThttps://api.ordexs.com/v1/policies/{kind}

Creates or replaces the policy. body is plain text: blank lines separate paragraphs, lines starting with "- " make a list, "## " a heading. A policy with an empty body is never published. The title defaults to the usual one.

Path parameters

  • kindstringRequired

    One of returns, shipping, terms, privacy

Body

  • titlestring

    up to 120 characters

  • bodystring

    up to 20000 characters

  • publishedboolean

    default true

Returns

200 OK · The policy. Policy

  • objectstring

    always "policy"

  • kindstring

    One of returns, shipping, terms, privacy

  • titlestring
  • bodystring
  • publishedboolean
  • urlstring or null
  • updated_atstring

    ISO 8601 date-time, UTC

Errors

Every error has the same shape. This endpoint can answer with: