Skip to content

A customer's wishlist

GET
/api/v1/commerce/customers/{id}/wishlist
curl --request GET \
--url https://digize.com/api/v1/commerce/customers/example/wishlist \
--header 'x-api-key: <x-api-key>'

What a customer saved for later on the storefront, the newest first.

Needs the commerce:read permission.

id
required
string
>= 1 characters <= 64 characters

Done

Media typeapplication/json
Array<object>
object
productId
required
string
variantId
required
string | null
name
required
string
variant
required
string | null
price
required
number | null
addedAt
required
string format: date-time

Example generated

[
{
"productId": "example",
"variantId": "example",
"name": "example",
"variant": "example",
"price": 1,
"addedAt": "2026-04-15T12:00:00Z"
}
]

What was sent isn’t valid (invalid).

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

No key, or one that’s unknown, off or expired.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

The key doesn’t have the permission this needs.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

Nothing has that id (not_found).

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

Over the rate limit; see retry-after.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}