Skip to content

Save a product to the wishlist (up to 100)

POST/store/v1/customers/me/wishlist
  • Idempotency-Key supported

Save a product to the wishlist (up to 100). Saving it again keeps it, with the variant if one is given. A store with wishlists off answers 409 wishlist_off.

Headers

  • X-Customer-Tokenstringrequired

    Customer session token

  • Idempotency-Keystring

    Send the same key to retry safely: the first answer is replayed for 24 hours.

  • shop-api-versionYYYY-MM

    The version to answer in. Without it, your app’s pinned version, else the newest.

Body

  • product_idstringrequired

    TypeID with the prod prefix.

  • variant_idstring · or null

    The size or colour chosen, if any.

Returns

204 Saved.

Errors

  • 401unauthenticatedNo valid customer session.
  • 409The store has wishlists off.
  • 422validation_failedThe wishlist is full.