Hi there!
I’m working on an app to customize delivery options where I pull the existing options from GraphQL’s DeliveryMethodDefinition
to determine customization of shipping options on checkout.
Where I’ve run into trouble is pairing the Delivery Customization API Function Input CartDeliveryOption
to the GraphQL equivalent DeliveryMethodDefinition
.
For some reason the CartDeliveryOption
doesn’t reference the DeliveryMethodDefinition
ID, and only has properties like title
or cost
in common (which are not unique).
I do see a handle
on the Function Input which seems unique but it’s not available in GraphQL.
Anyone run into this before? Any thoughts?
References:
GraphQL DeliveryMethodDefinition
Function Input CartDeliveryOption