direct the user to a cart

martin01martin01 Member Posts: 2
edited March 2021 in Development

Hello together,

I have an APP (CAD planner) that generates a parts list.

Via API, I want to transfer the parts list to a shopping cart. Afterwards, the end user should be directed to the shop and there either change the filled shopping cart (add or remove items) and / or then go through the normal check-out process.

The parts list uses product master data from the shop.

Can this be done with the API?

Post edited by Geanny on

1 comment

  • josfabrejosfabre Member Posts: 40

    I have the same situation, but from a clothing shop. Have you managed to do this already via the api?

    I can see there is an url for adding products to the cart ( {url}cart/add/{variant_id} ), but if a product has custom fields I must supply the custom fields, but I don't know in what way (as get params, post params, form-data, ...)


Sign In or Register to comment.