Skip to main content
POST
/
{shopId}
/
policies
Create policy
curl --request POST \
  --url http://staging.qshop.ng/apiv2/{shopId}/policies \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "Return policy again",
  "policy": "<div>Pick up update again and againer</div>",
  "type": "return-policy"
}
'

Body

application/json
name
string
Example:

"Return policy again"

policy
string
Example:

"<div>Pick up update again and againer</div>"

type
string
Example:

"return-policy"

Response

200 - undefined