Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

Expose `product_id` and Product at Wishlist Item API (#14361)

Damian Legawiecf62ec82e4fff
diff --git a/.changeset/open-parrots-search.md b/.changeset/open-parrots-search.md
new file mode 100644
index 0000000000..8ca368292f
--- /dev/null
+++ b/.changeset/open-parrots-search.md
@@ -0,0 +1,5 @@
+---
+"@spree/sdk": patch
+---
+
+Expose product_id and Product at Wishlist Item
diff --git a/docs/api-reference/store.yaml b/docs/api-reference/store.yaml
index b2f8079c10..0249ae93a9 100644
--- a/docs/api-reference/store.yaml
+++ b/docs/api-reference/store.yaml
@@ -87,16 +87,16 @@ paths:
content:
application/json:
example:
- token: eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VyX3R5cGUiOiJjdXN0b21lciIsImp0aSI6ImFiNzZhNjQzLTY0ZmYtNDJmMy1iYTRjLTcxNzc5NjUwZGVjYyIsImlzcyI6InNwcmVlIiwiYXVkIjoic3RvcmVfYXBpIiwiZXhwIjoxNzg0NjU0NDExfQ.th8X6tMByJ5GFE7rBtUx7BeMQ5F-VWUPMmgkL7Xp8q4
- refresh_token: yc2xFoGugFWxKRnFoGaLmVwF
+ token: eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VyX3R5cGUiOiJjdXN0b21lciIsImp0aSI6Ijk5ZTI4MjcyLTk5ZWYtNDBmOC1hNjM1LTRhMTgyODc4ZjQ5ZiIsImlzcyI6InNwcmVlIiwiYXVkIjoic3RvcmVfYXBpIiwiZXhwIjoxNzg1MDEyMDYyfQ.Mpf047_zweLRDzSLZjjePB5EieHI50pUuSqgLKWsH0Y
+ refresh_token: LQgQuH8rdUfM5EEX3L72Jmfv
user:
id: cus_UkLWZg9DAJ
- first_name: Candi
- last_name: Schumm
+ first_name: Lorri
+ last_name: Keebler
phone:
accepts_email_marketing: false
- full_name: Candi Schumm
+ full_name: Lorri Keebler
available_store_credit_total: '0'
display_available_store_credit_total: "$0.00"
addresses: []
@@ -194,16 +194,16 @@ paths:
content:
application/json:
example:
- token: eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VyX3R5cGUiOiJjdXN0b21lciIsImp0aSI6IjZiNWNiMGExLWNhN2YtNDI4MC05ZDg1LTE5ODdlZmE2M2JmOSIsImlzcyI6InNwcmVlIiwiYXVkIjoic3RvcmVfYXBpIiwiZXhwIjoxNzg0NjU0NDEyfQ.qOPFDsCKQnXSo1Vd79BFjCQB1iYxgAMw5NbiS2wQC84
- refresh_token: eCPfFnyVYDYwYM6tqrHZz1Rd
+ token: eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VyX3R5cGUiOiJjdXN0b21lciIsImp0aSI6ImMyOWVjYzMyLWM2OWYtNDc0MC1hZWMxLTAwYmI1MjAwMmM4YiIsImlzcyI6InNwcmVlIiwiYXVkIjoic3RvcmVfYXBpIiwiZXhwIjoxNzg1MDEyMDYzfQ.hPY384l3tHxqKb6PPNBFa9tDeoeOBCp6sC175Q80jgs
+ refresh_token: Whgj8rch8LakTYo8Aa4THTCX
user:
id: cus_UkLWZg9DAJ
- first_name: Stephanie
- last_name: Reichel
+ first_name: Sharlene
+ last_name: Zieme
phone:
accepts_email_marketing: false
- full_name: Stephanie Reichel
+ full_name: Sharlene Zieme
available_store_credit_total: '0'
display_available_store_credit_total: "$0.00"
addresses: []
@@ -393,16 +393,16 @@ paths:
content:
application/json:
example:
- token: eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VyX3R5cGUiOiJjdXN0b21lciIsImp0aSI6ImEyZTRiZjg1LTk5N2MtNDdkZS1iOGY3LTk3MDk4YzZiYzYyNCIsImlzcyI6InNwcmVlIiwiYXVkIjoic3RvcmVfYXBpIiwiZXhwIjoxNzg0NjU0NDI2fQ.5R12jnwlyHXq1P2L46dY3nxPWY5dKfgi2JyLI-qjzxg
- refresh_token: xgGeG4wdBFf9AhhoBbBYtMTi
+ token: eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VyX3R5cGUiOiJjdXN0b21lciIsImp0aSI6ImNmMWJmMTNjLTNmMjEtNGFlYy05MGM1LWVkOTViMjNjZGU1YyIsImlzcyI6InNwcmVlIiwiYXVkIjoic3RvcmVfYXBpIiwiZXhwIjoxNzg1MDEyMDc3fQ.3r4DoE_bzjyFXWDxwIbornisqHBM6tzQ7eqW-zYEUtM
+ refresh_token: h2NQpqVqBVhgNYoMBQ4wDChM
user:
id: cus_UkLWZg9DAJ
- first_name: Chasidy
- last_name: Block
+ first_name: Joelle
+ last_name: Feil
phone:
accepts_email_marketing: false
- full_name: Chasidy Block
+ full_name: Joelle Feil
available_store_credit_total: '0'
display_available_store_credit_total: "$0.00"
addresses: []
@@ -804,8 +804,8 @@ paths:
example:
data:
- id: prod_UkLWZg9DAJ
- name: Product 1525934
- slug: product-1525934
+ name: Product 1524935
+ slug: product-1524935
meta_title:
meta_description:
meta_keywords:
@@ -834,8 +834,8 @@ paths:
price_list_id:
original_price:
- id: prod_gbHJdmfrXB
- name: Product 153345
- slug: product-153345
+ name: Product 1533120
+ slug: product-1533120
meta_title:
meta_description:
meta_keywords:
@@ -847,19 +847,15 @@ paths:
in_stock: false
backorderable: true
available: true
- description: Modi tenetur numquam voluptates ratione eaque voluptatibus
- facere. Facere incidunt beatae laboriosam asperiores praesentium
- vel consequuntur quibusdam. Molestias id ipsam rem alias at ad
- assumenda consequatur. Mollitia natus ducimus facere illo aperiam
- saepe reiciendis. Doloremque modi inventore tenetur nihil. Sit
- provident rerum dignissimos illo iusto voluptate. Exercitationem
- dolor eaque possimus voluptatem nisi eveniet earum dolorem. Dolore
- facere ut eum excepturi cum molestias. Mollitia exercitationem
- minima perferendis dolorem quasi. Ut tenetur aliquam libero molestias
- magni doloremque aliquid dolorem.
+ description: Minima error distinctio ducimus quas modi. Veniam beatae
+ adipisci assumenda eveniet voluptatibus. Voluptate accusamus natus
+ non reiciendis doloribus distinctio temporibus nam. Voluptates
+ eaque soluta corrupti quae ex dicta. Voluptatem laudantium dolorum
+ vel laborum sequi dicta. Perferendis consequuntur tempore quibusdam
+ eligendi repellat. Eum qui quae repellendus officiis dolorum culpa.
description_html: |-
- Modi tenetur numquam voluptates ratione eaque voluptatibus facere. Facere incidunt beatae laboriosam asperiores praesentium vel consequuntur quibusdam. Molestias id ipsam rem alias at ad assumenda consequatur. Mollitia natus ducimus facere illo aperiam saepe reiciendis. Doloremque modi inventore tenetur nihil.
- Sit provident rerum dignissimos illo iusto voluptate. Exercitationem dolor eaque possimus voluptatem nisi eveniet earum dolorem. Dolore facere ut eum excepturi cum molestias. Mollitia exercitationem minima perferendis dolorem quasi. Ut tenetur aliquam libero molestias magni doloremque aliquid dolorem.
+ Minima error distinctio ducimus quas modi. Veniam beatae adipisci assumenda eveniet voluptatibus. Voluptate accusamus natus non reiciendis doloribus distinctio temporibus nam. Voluptates eaque soluta corrupti quae ex dicta.
+ Voluptatem laudantium dolorum vel laborum sequi dicta. Perferendis consequuntur tempore quibusdam eligendi repellat. Eum qui quae repellendus officiis dolorum culpa.
default_variant_id: variant_EfhxLZ9ck8
thumbnail_url:
tags: []
@@ -961,8 +957,8 @@ paths:
application/json:
example:
id: prod_UkLWZg9DAJ
- name: Product 180822
- slug: product-180822
+ name: Product 1809191
+ slug: product-1809191
meta_title:
meta_description:
meta_keywords:
@@ -996,7 +992,7 @@ paths:
amount_in_cents: 999
currency: USD
display_amount: "$9.99"
- recorded_at: '2026-07-06T16:22:42Z'
+ recorded_at: '2026-07-10T19:41:57Z'
schema:
"$ref": "#/components/schemas/Product"
'404':
@@ -1236,9 +1232,9 @@ paths:
- id: cart_gbHJdmfrXB
market_id:
channel_id: ch_UkLWZg9DAJ
- number: R342007989
- token: VS7APqPxHRMsNq5MGjzUnLDqWdnR3pkAWaJ
+ number: R747370910
+ token: KL2exoBuzKh24EVAArgsr92gKcehgXAfwaK
customer_note:
currency: USD
locale: en
@@ -1282,8 +1278,8 @@ paths:
preorder_ships_at:
quantity: 1
currency: USD
- name: Product 921529
- slug: product-921529
+ name: Product 921732
+ slug: product-921732
options_text: ''
price: '10.0'
display_price: "$10.00"
@@ -1308,7 +1304,7 @@ paths:
digital_links: []
fulfillments:
- id: ful_gbHJdmfrXB
- number: H45075660320
+ number: H97804265871
tracking: U10000
tracking_url:
cost: '100.0'
@@ -1337,7 +1333,7 @@ paths:
stock_location:
id: sloc_UkLWZg9DAJ
state_abbr: NY
- name: Dewitt Cruickshank
+ name: Emogene Cruickshank
address1: 1600 Pennsylvania Ave NW
city: Washington
zipcode: '20500'
@@ -1408,9 +1404,9 @@ paths:
- id: cart_UkLWZg9DAJ
market_id:
channel_id: ch_UkLWZg9DAJ
- number: R495129612
- token: Z82RbRQLtzf85HGQSptDokZACx8yh99x8HG
+ number: R392027120
+ token: 5YfNnvaM97uFunvE7iM924om6KCqNh3oqMk
customer_note:
currency: USD
locale: en
@@ -1454,8 +1450,8 @@ paths:
preorder_ships_at:
quantity: 1
currency: USD
- name: Product 917362
- slug: product-917362
+ name: Product 919112
+ slug: product-919112
options_text: ''
price: '10.0'
display_price: "$10.00"
@@ -1480,7 +1476,7 @@ paths:
digital_links: []
fulfillments:
- id: ful_UkLWZg9DAJ
- number: H07522527247
+ number: H34758896458
tracking: U10000
tracking_url:
cost: '100.0'
@@ -1509,7 +1505,7 @@ paths:
stock_location:
id: sloc_UkLWZg9DAJ
state_abbr: NY
- name: Dewitt Cruickshank
+ name: Emogene Cruickshank
address1: 1600 Pennsylvania Ave NW
city: Washington
zipcode: '20500'
@@ -1653,8 +1649,8 @@ paths:
id: cart_UkLWZg9DAJ
market_id:
channel_id: ch_UkLWZg9DAJ
- number: R257847599
- token: g5bgjgci2Cd6pSfS7nJDQsV8SED1bvREHkz
+ number: R218346036
+ token: n5eNamrTj7vLwp5d1U9x854eMiL19r4q71U
email:
customer_note:
currency: USD
@@ -1810,16 +1806,16 @@ paths:
id: cart_UkLWZg9DAJ
market_id:
channel_id: ch_UkLWZg9DAJ
- number: R756323828
- token: xPgVauGASkDehw4w1KFe6diPx4RG4Su6c2f
+ number: R050861879
+ token: gPtWcdxxCHpWHUqNBmbAtAtbsioYp6amXwu
customer_note:
currency: USD
locale: en
total_quantity: 0
warnings:
- code: line_item_removed
- message: Product 964208 was removed because it was sold out
+ message: Product 963498 was removed because it was sold out
line_item_id: li_UkLWZg9DAJ
variant_id: variant_UkLWZg9DAJ
item_total: '0.0'
@@ -1982,9 +1978,9 @@ paths:
id: cart_UkLWZg9DAJ
market_id:
channel_id: ch_UkLWZg9DAJ
- number: R807663331
- token: adDXkz1zdhq9t54a1RH9pju1nxteWguuP8p
+ number: R940369961
+ token: QZrARYHAJXNZFCh63A6LiUDS5Q7YeA2H5rZ
customer_note: Leave at door
currency: USD
locale: en
@@ -2030,8 +2026,8 @@ paths:
preorder_ships_at:
quantity: 1
currency: USD
- name: Product 973836
- slug: product-973836
+ name: Product 97539
+ slug: product-97539
options_text: ''
price: '19.99'
display_price: "$19.99"
@@ -2056,7 +2052,7 @@ paths:
digital_links: []
fulfillments:
- id: ful_gbHJdmfrXB
- number: H72063751672
+ number: H31836788241
tracking:
tracking_url:
cost: '10.0'
@@ -2085,7 +2081,7 @@ paths:
stock_location:
id: sloc_UkLWZg9DAJ
state_abbr: NY
- name: Barabara Yost
+ name: Keeley Skiles
address1: 1600 Pennsylvania Ave NW
city: Washington
zipcode: '20500'
@@ -2330,9 +2326,9 @@ paths:
id: cart_UkLWZg9DAJ
market_id:
channel_id: ch_UkLWZg9DAJ
- number: R852645698
- token: wpKwLJ9pbxKykmxMzCU29fEnj13umouWTxM
+ number: R399625921
+ token: TDadX58HdfjSGineeB9cHshgd5ZDZEYqpWh
customer_note:
currency: USD
locale: en
@@ -2376,8 +2372,8 @@ paths:
preorder_ships_at:
quantity: 1
currency: USD
- name: Product 992524
- slug: product-992524
+ name: Product 995969
+ slug: product-995969
options_text: ''
price: '10.0'
display_price: "$10.00"
@@ -2402,7 +2398,7 @@ paths:
digital_links: []
fulfillments:
- id: ful_UkLWZg9DAJ
- number: H77553200603
+ number: H18212968266
tracking: U10000
tracking_url:
cost: '100.0'
@@ -2431,7 +2427,7 @@ paths:
stock_location:
id: sloc_UkLWZg9DAJ
state_abbr: NY
- name: Jeanelle Huels
+ name: Rubye Gusikowski
address1: 1600 Pennsylvania Ave NW
city: Washington
zipcode: '20500'
@@ -2576,15 +2572,15 @@ paths:
id: or_UkLWZg9DAJ
market_id:
channel_id: ch_UkLWZg9DAJ
- number: R339098687
+ number: R106523615
customer_note:
currency: USD
locale: en
total_quantity: 1
fulfillment_status: backorder
payment_status: paid
- completed_at: '2026-07-21T16:20:19.426Z'
+ completed_at: '2026-07-25T19:41:09.090Z'
item_total: '19.99'
display_item_total: "$19.99"
adjustment_total: '0.0'
@@ -2616,8 +2612,8 @@ paths:
preorder_ships_at:
quantity: 1
currency: USD
- name: Product 1027544
- slug: product-1027544
+ name: Product 1025278
+ slug: product-1025278
options_text: ''
price: '19.99'
display_price: "$19.99"
@@ -2642,7 +2638,7 @@ paths:
digital_links: []
fulfillments:
- id: ful_gbHJdmfrXB
- number: H01647913406
+ number: H04719635845
tracking:
tracking_url:
cost: '10.0'
@@ -2671,7 +2667,7 @@ paths:
stock_location:
id: sloc_UkLWZg9DAJ
state_abbr: NY
- name: Casie Stracke
+ name: Sidney Carroll
address1: 1600 Pennsylvania Ave NW
city: Washington
zipcode: '20500'
@@ -2700,8 +2696,8 @@ paths:
payments:
- id: py_UkLWZg9DAJ
payment_method_id: pm_UkLWZg9DAJ
- response_code: BGS-d60cccf8ad16
- number: PKV9QA41
+ response_code: BGS-c33567c055af
+ number: P40KTO0F
amount: '29.99'
display_amount: "$29.99"
status: completed
@@ -2840,9 +2836,9 @@ paths:
id: cart_UkLWZg9DAJ
market_id:
channel_id: ch_UkLWZg9DAJ
- number: R729368018
- token: gVnZL99E49c4G6Yyp9PzFng2n2ZXX48CCaX
+ number: R928002715
+ token: L5prV5kAroDMaNZ2EknMFDwcygexRz4zXDQ
customer_note:
currency: USD
locale: en
@@ -2893,8 +2889,8 @@ paths:
preorder_ships_at:
quantity: 1
currency: USD
- name: Product 1218988
- slug: product-1218988
+ name: Product 1218077
+ slug: product-1218077
options_text: ''
price: '10.0'
display_price: "$10.00"
@@ -2919,7 +2915,7 @@ paths:
digital_links: []
fulfillments:
- id: ful_UkLWZg9DAJ
- number: H27197612367
+ number: H83691313514
tracking: U10000
tracking_url:
cost: '100.0'
@@ -2948,7 +2944,7 @@ paths:
stock_location:
id: sloc_UkLWZg9DAJ
state_abbr: NY
- name: Alicia Kuvalis
+ name: Yolando Heller
address1: 1600 Pennsylvania Ave NW
city: Washington
zipcode: '20500'
@@ -3103,9 +3099,9 @@ paths:
id: cart_UkLWZg9DAJ
market_id:
channel_id: ch_UkLWZg9DAJ
- number: R837055202
- token: ynr1cN84XFaGhrBztZ7JdF44DFKsLuqBLtd
+ number: R920678008
+ token: hgQA61MpbkxakNNon1gAu71XE1VM1vFuTvA
customer_note:
currency: USD
locale: en
@@ -3149,8 +3145,8 @@ paths:
preorder_ships_at:
quantity: 1
currency: USD
- name: Product 1233716
- slug: product-1233716
+ name: Product 1231174
+ slug: product-1231174
options_text: ''
price: '10.0'
display_price: "$10.00"
@@ -3175,7 +3171,7 @@ paths:
digital_links: []
fulfillments:
- id: ful_UkLWZg9DAJ
- number: H18878420324
+ number: H78674840337
tracking: U10000
tracking_url:
cost: '100.0'
@@ -3204,7 +3200,7 @@ paths:
stock_location:
id: sloc_UkLWZg9DAJ
state_abbr: NY
- name: Jenifer Sanford
+ name: Leonel Muller
address1: 1600 Pennsylvania Ave NW
city: Washington
zipcode: '20500'
@@ -3348,9 +3344,9 @@ paths:
id: cart_UkLWZg9DAJ
market_id:
channel_id: ch_UkLWZg9DAJ
- number: R232244636
- token: 8jj23MK5pmbL5SQkDhyzkTbbSyovPZctTHC
+ number: R146081501
+ token: aainvU5HCjMBZVFJydWMvo1AbrrzvwCP8pV
customer_note:
currency: USD
locale: en
@@ -3396,8 +3392,8 @@ paths:
preorder_ships_at:
quantity: 1
currency: USD
- name: Product 1254790
- slug: product-1254790
+ name: Product 1256298
+ slug: product-1256298
options_text: ''
price: '10.0'
display_price: "$10.00"
@@ -3422,7 +3418,7 @@ paths:
digital_links: []
fulfillments:
- id: ful_UkLWZg9DAJ
- number: H92946793801
+ number: H45408931001
tracking: U10000
tracking_url:
cost: '100.0'
@@ -3451,7 +3447,7 @@ paths:
stock_location:
id: sloc_UkLWZg9DAJ
state_abbr: NY
- name: Idalia Kertzmann
+ name: Kimbra Ritchie
address1: 1600 Pennsylvania Ave NW
city: Washington
zipcode: '20500'
@@ -3609,9 +3605,9 @@ paths:
id: cart_UkLWZg9DAJ
market_id:
channel_id: ch_UkLWZg9DAJ
- number: R680731425
- token: jwMuqQRHS39he1xEFAfUJvvEytbMWDxvvV8
+ number: R770266035
+ token: wXFSUSKVkoPHm249TJ7R7mrXugs4vn8eneL
customer_note:
currency: USD
locale: en
@@ -3652,8 +3648,8 @@ paths:
preorder_ships_at:
quantity: 1
currency: USD
- name: Product 1279749
- slug: product-1279749
+ name: Product 1271723
+ slug: product-1271723
options_text: ''
price: '10.0'
display_price: "$10.00"
@@ -3678,7 +3674,7 @@ paths:
digital_links: []
fulfillments:
- id: ful_UkLWZg9DAJ
- number: H54318322800
+ number: H93733158647
tracking: U10000
tracking_url:
cost: '100.0'
@@ -3707,7 +3703,7 @@ paths:
stock_location:
id: sloc_UkLWZg9DAJ
state_abbr: NY
- name: Tyisha Swift
+ name: Sasha Effertz
address1: 1600 Pennsylvania Ave NW
city: Washington
zipcode: '20500'
@@ -3736,8 +3732,8 @@ paths:
payments:
- id: py_UkLWZg9DAJ
payment_method_id: pm_UkLWZg9DAJ
- response_code: 1-SC-20260721162039441482
- number: PL7TNINM
+ response_code: 1-SC-20260725194128535812
+ number: PIQ6KHDS
amount: '50.0'
display_amount: "$50.00"
status: checkout
@@ -3917,9 +3913,9 @@ paths:
id: cart_UkLWZg9DAJ
market_id:
channel_id: ch_UkLWZg9DAJ
- number: R740288025
- token: JUg9Upygd8RLUPBW4BvpVKYPBg8GCGGoaD6
+ number: R818170564
+ token: s3xYyqrME8qD3gho4sducCd535KMwKZCZWe
customer_note:
currency: USD
locale: en
@@ -3963,8 +3959,8 @@ paths:
preorder_ships_at:
quantity: 1
currency: USD
- name: Product 1312118
- slug: product-1312118
+ name: Product 1311850
+ slug: product-1311850
options_text: ''
price: '10.0'
display_price: "$10.00"
@@ -3989,7 +3985,7 @@ paths:
digital_links: []
fulfillments:
- id: ful_UkLWZg9DAJ
- number: H93043543546
+ number: H99882305400
tracking: U10000
tracking_url:
cost: '100.0'
@@ -4018,7 +4014,7 @@ paths:
stock_location:
id: sloc_UkLWZg9DAJ
state_abbr: NY
- name: Kip Rath
+ name: Markus Bechtelar
address1: 1600 Pennsylvania Ave NW
city: Washington
zipcode: '20500'
@@ -4047,8 +4043,8 @@ paths:
payments:
- id: py_UkLWZg9DAJ
payment_method_id: pm_UkLWZg9DAJ
- response_code: 1-SC-20260721162042057199
- number: P1O3NKS2
+ response_code: 1-SC-20260725194131124623
+ number: PZB5XQ18
amount: '50.0'
display_amount: "$50.00"
status: invalid
@@ -4179,9 +4175,9 @@ paths:
id: cart_UkLWZg9DAJ
market_id:
channel_id: ch_UkLWZg9DAJ
- number: R004099846
- token: Knp5XSnseniFgNT1ie7x4AsSyfH9k3wjkyv
+ number: R733456622
+ token: Fvbskuym7JjYCif4YiK3ZmPem9tXwBxsGVT
customer_note:
currency: USD
locale: en
@@ -4231,8 +4227,8 @@ paths:
preorder_ships_at:
quantity: 1
currency: USD
- name: Product 1341957
- slug: product-1341957
+ name: Product 1348379
+ slug: product-1348379
options_text: ''
price: '10.0'
display_price: "$10.00"
@@ -4261,8 +4257,8 @@ paths:
preorder_ships_at:
quantity: 1
currency: USD
- name: Product 1356516
- slug: product-1356516
+ name: Product 1355524
+ slug: product-1355524
options_text: ''
price: '19.99'
display_price: "$19.99"
@@ -4406,9 +4402,9 @@ paths:
id: cart_UkLWZg9DAJ
market_id:
channel_id: ch_UkLWZg9DAJ
- number: R265564023
- token: rLoUv1N9ih7v1HHnLHFNbMz74hy745LRj86
+ number: R843149651
+ token: XhP8s6PLVGXsyuuGyEzR3kjbb5NP27eiam6
customer_note:
currency: USD
locale: en
@@ -4455,8 +4451,8 @@ paths:
preorder_ships_at:
quantity: 1
currency: USD
- name: Product 1385705
- slug: product-1385705
+ name: Product 1383196
+ slug: product-1383196
options_text: ''
price: '10.0'
display_price: "$10.00"
@@ -4580,9 +4576,9 @@ paths:
id: cart_UkLWZg9DAJ
market_id:
channel_id: ch_UkLWZg9DAJ
- number: R725463425
- token: rUu1ard9oJ9uaXHwejmNfDTEkz4cmNsStD6
+ number: R725723396
+ token: BKVjbAoa8GVS68wVEkU5hL74Dy9FCHfFFUX
customer_note:
currency: USD
locale: en
@@ -4729,9 +4725,9 @@ paths:
id: ps_gbHJdmfrXB
status: pending
currency: USD
- external_id: bogus_081cef0f43a38dc9a23e37b2
+ external_id: bogus_635c810d2ee1b5d41b126712
external_data:
- client_secret: bogus_secret_a9e3e4aa9cb10c44
+ client_secret: bogus_secret_b3a9bdfd05316696
customer_external_id:
expires_at:
amount: '110.0'
@@ -4829,7 +4825,7 @@ paths:
id: ps_UkLWZg9DAJ
status: pending
currency: USD
- external_id: bogus_1c83f5b4634029b929befd45
+ external_id: bogus_761185063658b3880fffba37
external_data:
client_secret: secret_123
customer_external_id:
@@ -4891,7 +4887,7 @@ paths:
id: ps_UkLWZg9DAJ
status: pending
currency: USD
- external_id: bogus_863405b319c7d4c7878ee868
+ external_id: bogus_60fab7e3b0c145ed466428ec
external_data:
client_secret: secret_123
customer_external_id:
@@ -4993,7 +4989,7 @@ paths:
id: ps_UkLWZg9DAJ
status: completed
currency: USD
- external_id: bogus_ab1f491c431fc7c14942b273
+ external_id: bogus_78fec2996c71cd0663195e1e
external_data:
client_secret: secret_123
customer_external_id:
@@ -5091,7 +5087,7 @@ paths:
id: py_UkLWZg9DAJ
payment_method_id: pm_UkLWZg9DAJ
response_code:
- number: PQXDCJKR
+ number: P5DAWO0Q
amount: '110.0'
display_amount: "$110.00"
status: checkout
@@ -5198,9 +5194,9 @@ paths:
id: cart_UkLWZg9DAJ
market_id:
channel_id: ch_UkLWZg9DAJ
- number: R748692900
- token: ExTC9aN1JGUqdcW9bJjimNYK6bnNmtEydrh
+ number: R409425140
+ token: xswvgfnoez7AqFEdUxbDamrfZFqgB7r6oMU
customer_note:
currency: USD
locale: en
@@ -5241,8 +5237,8 @@ paths:
preorder_ships_at:
quantity: 1
currency: USD
- name: Product 2004532
- slug: product-2004532
+ name: Product 2005982
+ slug: product-2005982
options_text: ''
price: '10.0'
display_price: "$10.00"
@@ -5267,7 +5263,7 @@ paths:
digital_links: []
fulfillments:
- id: ful_UkLWZg9DAJ
- number: H39641127215
+ number: H81505158386
tracking: U10000
tracking_url:
cost: '100.0'
@@ -5296,7 +5292,7 @@ paths:
stock_location:
id: sloc_UkLWZg9DAJ
state_abbr: NY
- name: Tawny Boehm
+ name: Silvia Hermann
address1: 1600 Pennsylvania Ave NW
city: Washington
zipcode: '20500'
@@ -5325,8 +5321,8 @@ paths:
payments:
- id: py_UkLWZg9DAJ
payment_method_id: pm_UkLWZg9DAJ
- response_code: 1-SC-20260721162248221498
- number: P5RKE43T
+ response_code: 1-SC-20260725194202800328
+ number: PRDKBYS4
amount: '10.0'
display_amount: "$10.00"
status: checkout
@@ -5470,9 +5466,9 @@ paths:
id: cart_UkLWZg9DAJ
market_id:
channel_id: ch_UkLWZg9DAJ
- number: R465837888
- token: NfyNCVCWeFDYXiwKYwxy4wx9uXassVWCQAi
+ number: R001123443
+ token: vTEPVBXb5hYFoCsJ8xZLBv2mmwTzQc8uq5i
customer_note:
currency: USD
locale: en
@@ -5516,8 +5512,8 @@ paths:
preorder_ships_at:
quantity: 1
currency: USD
- name: Product 202786
- slug: product-202786
+ name: Product 2022312
+ slug: product-2022312
options_text: ''
price: '10.0'
display_price: "$10.00"
@@ -5542,7 +5538,7 @@ paths:
digital_links: []
fulfillments:
- id: ful_UkLWZg9DAJ
- number: H67232884262
+ number: H84545543277
tracking: U10000
tracking_url:
cost: '100.0'
@@ -5571,7 +5567,7 @@ paths:
stock_location:
id: sloc_UkLWZg9DAJ
state_abbr: NY
- name: Shery Lesch
+ name: Dione Turner
address1: 1600 Pennsylvania Ave NW
city: Washington
zipcode: '20500'
@@ -5713,7 +5709,7 @@ paths:
id: or_UkLWZg9DAJ
market_id:
channel_id: ch_UkLWZg9DAJ
- number: R711852325
+ number: R984698608
customer_note:
currency: USD
@@ -5721,7 +5717,7 @@ paths:
total_quantity: 1
fulfillment_status:
payment_status:
- completed_at: '2026-07-21T16:20:55.623Z'
+ completed_at: '2026-07-25T19:41:44.353Z'
item_total: '10.0'
display_item_total: "$10.00"
adjustment_total: '0.0'
@@ -5753,8 +5749,8 @@ paths:
preorder_ships_at:
quantity: 1
currency: USD
- name: Product 1427596
- slug: product-1427596
+ name: Product 1427424
+ slug: product-1427424
options_text: ''
price: '10.0'
display_price: "$10.00"
@@ -5779,7 +5775,7 @@ paths:
digital_links: []
fulfillments:
- id: ful_UkLWZg9DAJ
- number: H62333056142
+ number: H46248291504
tracking: U10000
tracking_url:
cost: '100.0'
@@ -5808,7 +5804,7 @@ paths:
stock_location:
id: sloc_UkLWZg9DAJ
state_abbr: NY
- name: Ileen Brekke
+ name: Yulanda Cassin
address1: 1600 Pennsylvania Ave NW
city: Washington
zipcode: '20500'
@@ -6745,15 +6741,15 @@ paths:
- id: or_UkLWZg9DAJ
market_id:
channel_id: ch_UkLWZg9DAJ
- number: R398862344
+ number: R738167381
customer_note:
currency: USD
locale: en
total_quantity: 1
fulfillment_status:
payment_status:
- completed_at: '2026-07-21T16:20:27.773Z'
+ completed_at: '2026-07-25T19:41:18.090Z'
item_total: '10.0'
display_item_total: "$10.00"
adjustment_total: '0.0'
@@ -6785,8 +6781,8 @@ paths:
preorder_ships_at:
quantity: 1
currency: USD
- name: Product 1119809
- slug: product-1119809
+ name: Product 1114844
+ slug: product-1114844
options_text: ''
price: '10.0'
display_price: "$10.00"
@@ -6811,7 +6807,7 @@ paths:
digital_links: []
fulfillments:
- id: ful_UkLWZg9DAJ
- number: H43385476115
+ number: H45537721707
tracking: U10000
tracking_url:
cost: '100.0'
@@ -6840,7 +6836,7 @@ paths:
stock_location:
id: sloc_UkLWZg9DAJ
state_abbr: NY
- name: Sophie Hermann
+ name: Lanette Smith
address1: 1600 Pennsylvania Ave NW
city: Washington
zipcode: '20500'
@@ -7003,15 +6999,15 @@ paths:
id: or_UkLWZg9DAJ
market_id:
channel_id: ch_UkLWZg9DAJ
- number: R755711983
+ number: R030998792
customer_note:
currency: USD
locale: en
total_quantity: 1
fulfillment_status:
payment_status:
- completed_at: '2026-07-21T16:20:28.608Z'
+ completed_at: '2026-07-25T19:41:18.787Z'
item_total: '10.0'
display_item_total: "$10.00"
adjustment_total: '0.0'
@@ -7043,8 +7039,8 @@ paths:
preorder_ships_at:
quantity: 1
currency: USD
- name: Product 1133496
- slug: product-1133496
+ name: Product 1133247
+ slug: product-1133247
options_text: ''
price: '10.0'
display_price: "$10.00"
@@ -7069,7 +7065,7 @@ paths:
digital_links: []
fulfillments:
- id: ful_UkLWZg9DAJ
- number: H59093298847
+ number: H18740531973
tracking: U10000
tracking_url:
cost: '100.0'
@@ -7098,7 +7094,7 @@ paths:
stock_location:
id: sloc_UkLWZg9DAJ
state_abbr: NY
- name: Malinda Williamson
+ name: Marcelo Lehner
address1: 1600 Pennsylvania Ave NW
city: Washington
zipcode: '20500'
@@ -7218,8 +7214,8 @@ paths:
content:
application/json:
example:
- token: eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VyX3R5cGUiOiJjdXN0b21lciIsImp0aSI6ImEyMzIyNmE1LTRmZGItNGNiNS1iZjllLTk1ZjNkOWEyYTkwYiIsImlzcyI6InNwcmVlIiwiYXVkIjoic3RvcmVfYXBpIiwiZXhwIjoxNzg0NjU0NDMwfQ.Cxyk-QP-NTPScoDVq37Goh9tAKe5WI3_uA1Le6TdVv0
- refresh_token: wNUQgozZCPBq46sjCR6uYn99
+ token: eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VyX3R5cGUiOiJjdXN0b21lciIsImp0aSI6IjBiNDk1ZTBmLTRhZmQtNDY1Zi1hMTA0LTU2NzdkZGRhN2U2ZiIsImlzcyI6InNwcmVlIiwiYXVkIjoic3RvcmVfYXBpIiwiZXhwIjoxNzg1MDEyMDgwfQ.XBJaPkz-mXn6KzhhDNOkzBRZDqEV6WGKR3sDC8vtbP0
+ refresh_token: Rwa2AmXx3wLhcxiPjH4wxbjT
user:
id: cus_UkLWZg9DAJ
@@ -7236,10 +7232,10 @@ paths:
newsletter_subscriber:
id: sub_UkLWZg9DAJ
- created_at: '2026-07-21T16:20:29.876Z'
- updated_at: '2026-07-21T16:20:29.878Z'
+ created_at: '2026-07-25T19:41:19.980Z'
+ updated_at: '2026-07-25T19:41:19.981Z'
verified: true
- verified_at: '2026-07-21T16:20:29Z'
+ verified_at: '2026-07-25T19:41:19Z'
customer_id: cus_UkLWZg9DAJ
customer_groups: []
schema:
@@ -7342,12 +7338,12 @@ paths:
application/json:
example:
id: cus_UkLWZg9DAJ
- first_name: Kathrine
- last_name: Yost
+ first_name: Sandy
+ last_name: Feeney
phone: 555-555-0199
accepts_email_marketing: false
- full_name: Kathrine Yost
+ full_name: Sandy Feeney
available_store_credit_total: '0'
display_available_store_credit_total: "$0.00"
addresses:
@@ -7483,7 +7479,7 @@ paths:
application/json:
example:
id: cus_UkLWZg9DAJ
first_name: Updated
last_name: Name
phone: 555-555-0199
@@ -7674,7 +7670,7 @@ paths:
example:
data:
- id: gc_UkLWZg9DAJ
- code: F5FF4BFD9C5C9A38
+ code: 1B1F2EEF61F73904
status: active
currency: USD
amount: '10.0'
@@ -7770,7 +7766,7 @@ paths:
application/json:
example:
id: gc_UkLWZg9DAJ
- code: 2FA5A3CC7B0E77B3
+ code: DA06DD5E2C4FD382
status: active
currency: USD
amount: '10.0'
@@ -7842,8 +7838,8 @@ paths:
example:
id: pss_gbHJdmfrXB
status: pending
- external_id: bogus_seti_59a8f0cb4097daca5377ad0e
- external_client_secret: bogus_seti_secret_d79d0cb5e151cbf1
+ external_id: bogus_seti_9cc7ff2843f3f955ed0945c3
+ external_client_secret: bogus_seti_secret_b4dd83e7e5ce6b76
external_data: {}
payment_method_id: pm_UkLWZg9DAJ
payment_source_id:
@@ -7942,8 +7938,8 @@ paths:
example:
id: pss_UkLWZg9DAJ
status: pending
- external_id: seti_test_f9f0bd37a53046a006fe4795
- external_client_secret: seti_secret_e47007878c2b2ca3ca3a686d
+ external_id: seti_test_c6eefdcf5c2bfba562121f09
+ external_client_secret: seti_secret_797cb7fd657e4309568b1031
external_data:
client_secret: secret_123
payment_method_id: pm_UkLWZg9DAJ
@@ -8019,8 +8015,8 @@ paths:
example:
id: pss_UkLWZg9DAJ
status: completed
- external_id: seti_test_544613606c84fda77853c3dc
- external_client_secret: seti_secret_fab5517e19d16c860e4d704b
+ external_id: seti_test_c0e84c5d631133265c0e20a6
+ external_client_secret: seti_secret_dee1775377b3d93f81105bfe
external_data:
client_secret: secret_123
payment_method_id: pm_UkLWZg9DAJ
@@ -8961,7 +8957,7 @@ paths:
data:
- id: wl_UkLWZg9DAJ
name: My Wishlist
- token: xtTAEirKdUyHVmeVjEvpWkCD
+ token: EH8956zxZJKiKUp36sNDESk9
is_default: false
is_private: true
meta:
@@ -9037,7 +9033,7 @@ paths:
example:
id: wl_gbHJdmfrXB
name: Birthday Ideas
- token: ecn6DbXfgwBmXYxxi29izAKE
+ token: 355Jp84AbFjhG5NdeggsYJg3
is_default: false
is_private: true
schema:
@@ -9092,7 +9088,7 @@ paths:
})
const wishlist = await client.wishlists.get('wl_abc123', {
- expand: ['wished_items'],
+ expand: ['items.product'],
}, {
token: '<token>',
})
@@ -9115,7 +9111,8 @@ paths:
- name: expand
in: query
required: false
- description: Expand wished_items
+ description: Comma-separated associations to expand (eg items.product to get
+ wishlist items with associated products)
schema:
type: string
- name: fields
@@ -9133,7 +9130,7 @@ paths:
example:
id: wl_UkLWZg9DAJ
name: My Wishlist
- token: m5StTE9sAQNmwr8sEJgXx4Kr
+ token: ChUn1LGAz64UyN74XjVJAMP1
is_default: false
is_private: true
schema:
@@ -9195,7 +9192,7 @@ paths:
example:
id: wl_UkLWZg9DAJ
name: Updated Name
- token: vMrpCQxBoVg6pAhPnA7DJfCs
+ token: wDce1DpMKWt86ZDszTj55DWi
is_default: false
is_private: true
schema:
@@ -9305,6 +9302,7 @@ paths:
example:
id: wi_gbHJdmfrXB
variant_id: variant_gbHJdmfrXB
+ product_id: prod_gbHJdmfrXB
wishlist_id: wl_UkLWZg9DAJ
quantity: 1
variant:
@@ -9476,11 +9474,11 @@ paths:
application/json:
example:
id: sub_UkLWZg9DAJ
- created_at: '2026-07-21T16:20:50.582Z'
- updated_at: '2026-07-21T16:20:50.583Z'
+ created_at: '2026-07-25T19:41:38.859Z'
+ updated_at: '2026-07-25T19:41:38.861Z'
verified: true
- verified_at: '2026-07-21T16:20:50Z'
+ verified_at: '2026-07-25T19:41:38Z'
customer_id: cus_UkLWZg9DAJ
schema:
"$ref": "#/components/schemas/NewsletterSubscriber"
@@ -9559,10 +9557,10 @@ paths:
example:
id: sub_UkLWZg9DAJ
- created_at: '2026-07-21T16:20:50.607Z'
- updated_at: '2026-07-21T16:20:50.613Z'
+ created_at: '2026-07-25T19:41:38.924Z'
+ updated_at: '2026-07-25T19:41:38.932Z'
verified: true
- verified_at: '2026-07-21T16:20:50Z'
+ verified_at: '2026-07-25T19:41:38Z'
customer_id:
schema:
"$ref": "#/components/schemas/NewsletterSubscriber"
@@ -9732,7 +9730,7 @@ paths:
body_html: ''
- id: pol_OIJLhNcSbf
name: Privacy Policy
- slug: privacy-policy-8800ef1a-581d-4c89-9e7f-3e199290b6c2
+ slug: privacy-policy-432f576a-3ff5-4dd3-a07d-1ee90aa4eda8
body: We respect your privacy.
body_html: |
<div class="trix-content">
@@ -10244,6 +10242,26 @@ components:
required:
- id
- name
+ AdminUserStore:
+ type: object
+ description: A store the staff member can access through a role assignment
+ properties:
+ id:
+ type: string
+ description: Prefixed store ID
+ example: store_abc123
+ name:
+ type: string
+ description: Store name
+ example: My Store
+ code:
+ type: string
+ description: Store code
+ example: my-store
+ required:
+ - id
+ - name
+ - code
PreferenceField:
type: object
description: A single configurable preference on a payment method, promotion
@@ -12613,15 +12631,20 @@ components:
type: string
variant_id:
type: string
+ product_id:
+ type: string
wishlist_id:
type: string
quantity:
type: number
variant:
"$ref": "#/components/schemas/Variant"
+ product:
+ "$ref": "#/components/schemas/Product"
required:
- id
- variant_id
+ - product_id
- wishlist_id
- quantity
- variant
diff --git a/packages/sdk/examples/wishlists/get.ts b/packages/sdk/examples/wishlists/get.ts
index 56763b828a..798757b9ae 100644
--- a/packages/sdk/examples/wishlists/get.ts
+++ b/packages/sdk/examples/wishlists/get.ts
@@ -6,11 +6,16 @@ const client = createClient({
})
// region:example
-const wishlist = await client.wishlists.get('wl_abc123', {
- expand: ['wished_items'],
-}, {
- token: '<token>',
-})
+const wishlist = await client.wishlists.get(
+ 'wl_abc123',
+ {
+ expand: ['items.product'],
+ },
+ {
+ token: '<token>',
+ },
+)
+
// endregion:example
export { wishlist }
diff --git a/packages/sdk/src/types/generated/WishlistItem.ts b/packages/sdk/src/types/generated/WishlistItem.ts
index b6baea5ec5..f9598f5c08 100644
--- a/packages/sdk/src/types/generated/WishlistItem.ts
+++ b/packages/sdk/src/types/generated/WishlistItem.ts
@@ -1,14 +1,16 @@
-// Typelizer digest f3c77c86515b8cc3b6752bb49098523e
+// Typelizer digest 5ff6c8ef34024634c7f4ed15591983aa
//
// DO NOT MODIFY: This file was automatically generated by Typelizer.
-import type {Variant} from '@/types'
+import type {Variant, Product} from '@/types'
interface WishlistItem {
id: string;
variant_id: string;
+ product_id: string;
wishlist_id: string;
quantity: number;
variant: Variant;
+ product?: Product;
}
export default WishlistItem;
diff --git a/packages/sdk/src/zod/generated/WishlistItem.ts b/packages/sdk/src/zod/generated/WishlistItem.ts
index f4435342cc..62ef16bec2 100644
--- a/packages/sdk/src/zod/generated/WishlistItem.ts
+++ b/packages/sdk/src/zod/generated/WishlistItem.ts
@@ -1,13 +1,16 @@
// This file is auto-generated. Do not edit directly.
import { z } from 'zod';
+import { ProductSchema } from './Product';
import { VariantSchema } from './Variant';
export const WishlistItemSchema = z.object({
id: z.string(),
variant_id: z.string(),
+ product_id: z.string(),
wishlist_id: z.string(),
quantity: z.number(),
variant: VariantSchema,
+ product: ProductSchema.optional(),
});
export type WishlistItem = z.infer<typeof WishlistItemSchema>;
diff --git a/spree/api/app/serializers/spree/api/v3/wishlist_item_serializer.rb b/spree/api/app/serializers/spree/api/v3/wishlist_item_serializer.rb
index 50792cb6a4..94ac41f339 100644
--- a/spree/api/app/serializers/spree/api/v3/wishlist_item_serializer.rb
+++ b/spree/api/app/serializers/spree/api/v3/wishlist_item_serializer.rb
@@ -2,12 +2,17 @@ module Spree
module Api
module V3
class WishlistItemSerializer < BaseSerializer
- typelize variant_id: :string, wishlist_id: :string, quantity: :number
+ typelize variant_id: :string, wishlist_id: :string, quantity: :number,
+ product_id: :string
attribute :variant_id do |wished_item|
wished_item.variant&.prefixed_id
end
+ attribute :product_id do |wished_item|
+ wished_item.product&.prefixed_id
+ end
+
attribute :wishlist_id do |wished_item|
wished_item.wishlist&.prefixed_id
end
@@ -15,6 +20,8 @@ module Spree
attributes :quantity
one :variant, resource: proc { Spree.api.variant_serializer }
+ one :product, resource: proc { Spree.api.product_serializer },
+ if: proc { expand?('product') }
end
end
end
diff --git a/spree/api/spec/controllers/spree/api/v3/store/wishlist_items_controller_spec.rb b/spree/api/spec/controllers/spree/api/v3/store/wishlist_items_controller_spec.rb
index 8f2073b6dc..2409c8024b 100644
--- a/spree/api/spec/controllers/spree/api/v3/store/wishlist_items_controller_spec.rb
+++ b/spree/api/spec/controllers/spree/api/v3/store/wishlist_items_controller_spec.rb
@@ -26,6 +26,7 @@ RSpec.describe Spree::Api::V3::Store::WishlistItemsController, type: :controller
expect(response).to have_http_status(:created)
expect(json_response['variant_id']).to eq(new_variant.prefixed_id)
+ expect(json_response['product_id']).to eq(new_product.prefixed_id)
expect(json_response['quantity']).to eq(3)
end
diff --git a/spree/api/spec/integration/spree/api/v3/store/wishlists_spec.rb b/spree/api/spec/integration/spree/api/v3/store/wishlists_spec.rb
index d01b868eff..2d2bdf7456 100644
--- a/spree/api/spec/integration/spree/api/v3/store/wishlists_spec.rb
+++ b/spree/api/spec/integration/spree/api/v3/store/wishlists_spec.rb
@@ -111,7 +111,7 @@ RSpec.describe 'Wishlists API', type: :request, swagger_doc: 'api-reference/stor
parameter name: 'Authorization', in: :header, type: :string, required: true
parameter name: :id, in: :path, type: :string, required: true
parameter name: :expand, in: :query, type: :string, required: false,
- description: 'Expand wished_items'
+ description: 'Comma-separated associations to expand (eg items.product to get wishlist items with associated products)'
parameter name: :fields, in: :query, type: :string, required: false,
description: 'Comma-separated list of fields to include (e.g., name,slug,price). id is always included.'