ReDoc documentation

carts/mine/coupons

carts/mine/coupons

get/V1/carts/mine/coupons

Returns information for a coupon in a specified cart.

Responses
200

200 Success.

400

400 Bad Request

401

401 Unauthorized

default

Unexpected error

Response samples
"string"

carts/mine/coupons

delete/V1/carts/mine/coupons

Deletes a coupon from a specified cart.

Responses
200

200 Success.

400

400 Bad Request

401

401 Unauthorized

default

Unexpected error

Response samples
true

carts/mine/coupons

get/V2/carts/mine/coupons

Returns information for all coupons in a specified cart.

Responses
200

200 Success.

401

401 Unauthorized

500

Internal Server error

default

Unexpected error

Response samples
[
  • "string"
]

carts/mine/coupons

post/V2/carts/mine/coupons

Append the coupon code(s) to cart

Request
Request Body schema:
couponCodes
required
Array of strings
Responses
401

401 Unauthorized

500

Internal Server error

default

Unexpected error

Request samples
{
  • "couponCodes": [
    ]
}
Response samples
{
  • "message": "string",
  • "errors": [
    ],
  • "code": 0,
  • "parameters": [
    ],
  • "trace": "string"
}

carts/mine/coupons

put/V2/carts/mine/coupons

Replace the coupon code(s) in cart with the new code(s)

Request
Request Body schema:
couponCodes
required
Array of strings
Responses
401

401 Unauthorized

500

Internal Server error

default

Unexpected error

Request samples
{
  • "couponCodes": [
    ]
}
Response samples
{
  • "message": "string",
  • "errors": [
    ],
  • "code": 0,
  • "parameters": [
    ],
  • "trace": "string"
}