Arcadier / Developer-Community-Support

:revolving_hearts: Share new ideas with us and report bugs/problems here
4 stars 1 forks source link

How to upload bulk items through APIs #48

Open Nirmaljit07 opened 2 months ago

Nirmaljit07 commented 2 months ago

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like A clear and concise description of what you want to happen.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

Nirmaljit07 commented 2 months ago

Issue Description: When using the Arcadier Bulk Create Items API to upload multiple items, the API returns a 200 OK response with a success message indicating that the request was submitted and processed. However, the items do not appear in the Arcadier admin panel.

API Details:

Endpoint: /api/v2/merchants/merchant-id/bulk-create Method: POST Content-Type: application/json Authorization: Bearer

Expected Behavior: The items submitted via the Bulk Create Items API should be visible in the Arcadier admin panel once the operation is successfully processed.

Actual Behavior:

The API returns a 200 OK response with a success message. The items do not appear in the Arcadier admin panel.

Nirmaljit07 commented 2 months ago

Could please provide us any update on above issue?

tashantukin commented 2 months ago

can you share us your payload on this?

Nirmaljit07 commented 2 months ago

Please check payload of request. Request Body (Raw) :

[ { "SKU": "SKU1", "Name": "Orthopedic Pet Calming Bed Soft Warm Cat Dog Nest House Small Large Washable Mat", "BuyerDescription": "test", "SellerDescription": null, "Price": 50.00, "PriceUnit": "AUD", "StockLimited": false, "StockQuantity": "5", "IsVisibleToCustomer": true, "CurrencyCode": "AUD", "Active": true, "IsAvailable":true, "Categories": [ { "ID": "988d5c86-5d97-4eee-afcb-5b92ca587d1f" } ] }, { "SKU": "SKU2", "Name": "Calming Dog Beds Cat Cave Bed with Hooded Cover, Anti-Anxiety Soft Plush Faux", "BuyerDescription": "test", "SellerDescription": null, "Price": 50.00, "PriceUnit": "AUD", "StockLimited": false, "StockQuantity": "5", "IsVisibleToCustomer": true, "CurrencyCode": "AUD", "Active": true, "IsAvailable":true, "Categories": [ { "ID": "988d5c86-5d97-4eee-afcb-5b92ca587d1f" } ] } ] Response Payload: Response Body (Raw) : { "Code": 200, "Message": "The request has been submitted for bulk create item operation. 2 item(s) submitted and 0 with errors." }

tashantukin commented 2 months ago

hi , thanks for the payload, can you please share the request URL and the method you used, assuming it is POST, thanks share with me the full URL .

Nirmaljit07 commented 2 months ago

URL : https://petsupplies.arcadier.io/api/v2/merchants/59f21e80-e97b-45c0-9277-2d52a7dcd32d/items/bulk-create Method : POST

Nirmaljit07 commented 2 months ago

Hi, Any update on the above issue?

Nirmaljit07 commented 2 months ago

Any update?

Nirmaljit07 commented 2 months ago

Could you please provide us any update on the above issue?

tashantukin commented 2 months ago

hi @Nirmaljit07 we are still investigating from our end about this issue, will get back to you as soon as we have updates. thanks.

Nirmaljit07 commented 2 months ago

we have also added isAvailble parameter in payload too but with that also bulk API not showing items in frontend and backend

Nirmaljit07 commented 1 month ago

Hi team, Any update on the above issue?