Skip to main content
POST
Create a policy

Authorizations

Authorization
string
header
required

JWT token for an authenticated seller session (seller_api audience)

Headers

X-Spree-Seller-Id
string
required

Body

application/json
name
string
required
Example:

"Shipping Policy"

slug
string
Example:

"shipping-policy"

body
string
Example:

"<p>Orders leave the workshop within two working days.</p>"

Response

201 - application/json

policy created

id
string
required
name
string
required
slug
string
required
body
string | null
required
body_html
string | null
required
updated_at
string
required
created_at
string
required