Skip to content

Delete Shopping List

DELETE
/v3/{retailerBannerId}/customers/{retailerCustomerId}/shopping-lists/{retailerShoppingListId}

Delete a Shopping List for the supplied:

  • retailerShoppingListId
  • retailerBannerId
  • retailerCustomerId
retailerBannerId
required
string
/^[a-zA-Z0-9-_]+$/

Your unique identifier for the retail banner.

retailerCustomerId
required
string
/^[a-zA-Z0-9-_]+$/

Your unique identifier for the customer.

retailerShoppingListId
required
string
/^[a-zA-Z0-9-_]+$/

Your unique identifier for the shopping list.

x-api-key
required
string

The API key for the environment. To obtain an API key, speak to your account contact.

RequestId
required
string
default: aa13e836-5c1a-4b05-b24d-d30571c49da8

Request id

Response Code 204 - success

CC-002 - Bad request exception

Error response schema. It provides further details when a request fails.

object
timestamp
required

Date and time the response was generated

string format: date-time
httpStatus
required

HTTP response status code

integer format: int32
400
message
required

Textual details about error, may contain parameters described in args

string
args

Optional values for parameters used in ‘message’

object
key
additional properties
any
code
required

Custom OSP error code

string
/[-A-Z0-9]+/
moreInfo
required

Link to troubleshooting page with information about the error

string

CC-090 - Unauthorized

Error response schema. It provides further details when a request fails.

object
timestamp
required

Date and time the response was generated

string format: date-time
httpStatus
required

HTTP response status code

integer format: int32
400
message
required

Textual details about error, may contain parameters described in args

string
args

Optional values for parameters used in ‘message’

object
key
additional properties
any
code
required

Custom OSP error code

string
/[-A-Z0-9]+/
moreInfo
required

Link to troubleshooting page with information about the error

string

CC-091 - Access is denied

Error response schema. It provides further details when a request fails.

object
timestamp
required

Date and time the response was generated

string format: date-time
httpStatus
required

HTTP response status code

integer format: int32
400
message
required

Textual details about error, may contain parameters described in args

string
args

Optional values for parameters used in ‘message’

object
key
additional properties
any
code
required

Custom OSP error code

string
/[-A-Z0-9]+/
moreInfo
required

Link to troubleshooting page with information about the error

string

CC-101 - Customer not found, SL-0004 - Shopping list not found, CC-2600 - The retail banner cannot be found, or the service account used is not authorised

Error response schema. It provides further details when a request fails.

object
timestamp
required

Date and time the response was generated

string format: date-time
httpStatus
required

HTTP response status code

integer format: int32
400
message
required

Textual details about error, may contain parameters described in args

string
args

Optional values for parameters used in ‘message’

object
key
additional properties
any
code
required

Custom OSP error code

string
/[-A-Z0-9]+/
moreInfo
required

Link to troubleshooting page with information about the error

string

CC-001 - Unhandled exception

Error response schema. It provides further details when a request fails.

object
timestamp
required

Date and time the response was generated

string format: date-time
httpStatus
required

HTTP response status code

integer format: int32
400
message
required

Textual details about error, may contain parameters described in args

string
args

Optional values for parameters used in ‘message’

object
key
additional properties
any
code
required

Custom OSP error code

string
/[-A-Z0-9]+/
moreInfo
required

Link to troubleshooting page with information about the error

string