Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't choose a cart shipping method #725

Open
medteck opened this issue Mar 8, 2022 · 1 comment
Open

Can't choose a cart shipping method #725

medteck opened this issue Mar 8, 2022 · 1 comment

Comments

@medteck
Copy link
Contributor

medteck commented Mar 8, 2022

I cannot use the endpoint /checkout/{token}/shipping/{id} to choose a cart shipping method because the order-id is not given by the API.

I looked inside order details, as well as checkout details in /checkout/{token} and none of them provides the order number.

The order number should be provided at least by the /checkout/{token} endpoint in order to follow the checkout flow logic.

@mamazu
Copy link
Member

mamazu commented Mar 8, 2022

This {id} in this endpoint is not the id of the order but the index of the shipping method. This is a documentation fault. The order in the ShopApi is always referenced by token. Which is generated by a cart pickup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants