bagisto / headless-ecommerce

Laravel Headless eCommerce APIs allow you to experience seamless and easily scalable storefront performance. An open-source and GraphQL based Rest API Laravel platform delivering ultra-fast, dynamic, and personalized shopping experiences.
https://bagisto.com/en/headless-ecommerce/
MIT License
78 stars 46 forks source link

Upsell product is not adding via update product api request and cross sell and related products parameter is not available in api. #226

Closed nishant-webkul closed 1 month ago

nishant-webkul commented 8 months ago

Bagisto - v2.0.0

Bagisto-headless - v2.0.0

API - Admin >> Catalog >> Products >> Update Virtual Product

Postman Screenshot

Screenshot from 2024-03-12 11-36-50

API - Admin >> Catalog >> Products >> Update Downloadable Product

Postman Screenshot

Screenshot from 2024-03-12 12-30-57

Web Screenshot

Screenshot from 2024-03-12 11-37-01

mayank-webkul commented 1 month ago

@NishantSharma12 This issue is same as #224

nishant-webkul commented 1 month ago

@mayank-webkul Upsell and cross sell products issue is fixed. Please add the related products parameter in the API request.

Bagisto - v2.2.2

Bagisto-headless - v2.2.2

API - Admin >> Catalog >> Products >> Update Virtual Product

Postman Screenshot:

Screenshot from 2024-10-04 13-36-24

Screenshot from 2024-10-04 13-35-05

mayank-webkul commented 1 month ago

@nishant-webkul This feature has already been implemented. Please review the updated simple product API collection. I have also updated the collection for all product types for your convenience.

ashishkumar-webkul commented 1 month ago

Checked and found that the upsell and cross sell product details are updated when we are hitting the API with postman. Please check the screenshots for the same.

Screenshots

Screenshot from 2024-10-18 09-20-40

Screenshot from 2024-10-18 09-21-00

Screenshot from 2024-10-18 09-22-15