لم يُكتب وصف هذه العملية بالعربية بعد، فأوصافها بالإنجليزية.
Save a product to the wishlist (up to 100)
POST
/ store/ v1/ customers/ me/ wishlist- يدعم Idempotency-Key
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.
الترويسات
X-Customer-TokenstringمطلوبCustomer session token
Idempotency-Keystringأرسل المفتاح نفسه لإعادة المحاولة بأمان: تُعاد الإجابة الأولى لمدة ٢٤ ساعة.
shop-api-versionYYYY-MMالإصدار الذي تُكتب به الإجابة. بدونه يُستخدم الإصدار المثبّت لتطبيقك، وإلا الأحدث.
الجسم
product_idstringمطلوبTypeID with the
prodprefix.variant_idstring · أو nullThe size or colour chosen, if any.
ما يُرجعه
204 Saved.
الأخطاء
- 401
unauthenticatedNo valid customer session. - 409The store has wishlists off.
- 422
validation_failedThe wishlist is full.