Shopify Storefront API Modifications

Job ID: 38065660

Budget: $25 – $50 USD

I am currently developing a feature using the Shopify Storefront API (version 2024-04) and need assistance with implementing cart and delivery groups. Specifically, I require a working example that includes:

Creating a new cart/assigning a items to CartDeliveryGroup and CartDeliveryOptions:

https://shopify.dev/docs/api/storefront/2024-04/objects/CartDeliveryGroup

https://shopify.dev/docs/api/storefront/2024-04/objects/CartDeliveryOption

Group A: Item 1 & Item 2 to be delivered to a specific address at a fixed cost.

Group B: Item 3 & Item 4 to be delivered to a different address at a fixed cost.

Final Outputs: After executing the call, I need the checkout URL and cart tokens to be returned for user redirection.

The solution should include: GraphQL queries/mutations: To manage the cart creation and assign items to delivery groups.

JSON Array: Fully formed, showcasing all fields and attributes relevant to the Cart Delivery Group and Cart Delivery Option as defined in the API.

I do not have a public-facing site yet, but I am working in a development environment. While I have successfully implemented various other API interactions, the documentation on delivery groups has been challenging to navigate. Shopify has not provided any examples of how to implement in their learning kit, https://github.com/Shopify/storefront-api-learning-kit/tree/main/examples/08_manage_a_cart

I am a developer on this project. Just looking a working example/sample of the implementation of this aspect of the API. There will be some quick collaboration here to verify it works.

We can iterate on this using a GitHub gist.

I am not able to share access to our GitHub Repo or our Shopify Account.
Related categories: Shopify Development GraphQL