Magidoc

Update baskets

When you create a basket, the EAC GraphQL API will assign a unique id to each basket. This id can be returned by the enterBaskets mutation as shown in the basket creation section.

To update a basket, simply use the enterBaskets mutation. It works the same way as for creating new baskets except that you provide the id of the basket to update. Note that a new unique id will be assigned to the updated basket, the update works as a delete then create operation.

To update the name of your basket as well as adding or removing child orders, you simply resubmit the complete updated basket using the same id.