Skip to main content
DELETE
/
{shopId}
/
discount
/
{appliedOn}
/
{id}
Remove discount
curl --request DELETE \
  --url http://staging.qshop.ng/apiv2/{shopId}/discount/{appliedOn}/{id}/ \
  --header 'Content-Type: application/json' \
  --data '
{
  "code": "APRILEASTEREGGS"
}
'

Path Parameters

appliedOn
string
required
Example:

"cart"

id
string
required
Example:

"01GRA8RXJ1HEFEA1F5Q02QFN5N"

Query Parameters

code
string
Example:

"APRILEASTEREGGS"

id
string
Example:

"627e1b7d514f2d760748f68c"

Body

application/json
code
string
Example:

"APRILEASTEREGGS"

Response

200 - undefined