Skip to main content
POST
/
{shopId}
/
applydiscount
/
{applyOn}
/
{id}
Apply discount Copy
curl --request POST \
  --url http://staging.qshop.ng/apiv2/{shopId}/applydiscount/{applyOn}/{id}/ \
  --header 'Content-Type: application/json' \
  --data '
{
  "code": "576JTJM"
}
'

Path Parameters

applyOn
string
required
Example:

"cart"

id
string
required
Example:

"01GYF206JFYEXAP7QBGZ7D793H"

Body

application/json
code
string
Example:

"576JTJM"

Response

200 - undefined