Open medteck opened 2 years ago
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.
I cannot use the endpoint
/checkout/{token}/shipping/{id}
to choose a cart shipping method because theorder-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.