Archive a coupon list

Prev Next
Post
/couponList/archive

A list locked by an import cannot be archived.

Query parameters
couponListName
stringRequired

List name in the authenticated customer; case-insensitive.

Responses
204

Coupon list archived successfully; no response body.

400

InvalidParameterException / MISSING_PARAMETER: couponListName is omitted; INVALID_PARAMETER: name length must be 3-50 characters or the list is locked by an import.
NoSuchObjectException / NO_SUCH_OBJECT: no list with this name exists in the authenticated customer.
UnexpectedErrorException / PERMISSION_DENIED: caller lacks edit access or the archive action denies permission.

object
errorActor
string
errorCode
string
message
string
500

UnexpectedErrorException / UNEXPECTED_ERROR: a backend operation failed; errorActor is SERVER.

object
errorActor
string
errorCode
string
message
string