Restore an archived coupon list

Prev Next
Post
/couponList/restore

Marks the list as active again, retaining its metadata and stored coupon codes.

Query parameters
couponListName
stringRequired

List name in the authenticated customer; case-insensitive.

Responses
204

Coupon list restored successfully; no response body.

400

InvalidParameterException / MISSING_PARAMETER: couponListName is omitted; INVALID_PARAMETER: name length must be 3-50 characters.
NoSuchObjectException / NO_SUCH_OBJECT: no list with this name exists in the authenticated customer.
UnexpectedErrorException / PERMISSION_DENIED: caller lacks edit access or the restore 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