Delivery Customizations API changes

Looks very much like Shopify have today updated the Delivery Customizations API to allow (read: just blindly implement it without any opt-in required) 3rd party apps to alter draft order shipping methods as well as website checkout ones.

Is there any sort of release notes or news about this anywhere? Just noticed today we get this message on draft shipping selection " Shipping and delivery options are based on your delivery customizations." and any Delivery customization app rules (eg. hide shipping method) are now applying to draft methods as well as web checkout.

Bit annoying as we use this to allow custom draft shipping methods not available to customers.

Hi - I’ve connected with the relevant team for their recommendation on this scenario. Will update here asap!

Hi there, as of Winter Editions yesterday, draft orders now supports delivery and payment customization APIs. Can you help me understand why this is problematic for your use case?

Have seen the update now :slight_smile: It’s an issue as we use a date/time picker app to vary shipping services on the frontend (see Your Shopping Cart ) - not sure exactly how they work but essentially only a single service is exposed to shopify (“Custom zip code base shipping (Rates provided by app)”) and the service name/price is changed around by app based on options chosen during cart and checkout (I assume that’s what happens anyway).

For draft orders, this means we only see one service available, and whilst this can change price based on address fields (eg. postcode/distance), there’s no way to have it change based on date/time or other user options.

We could previously add additional shipping rates to manually select from (eg. Sunday Delivery, Priority Delivery), and would hide these from the frontend using a hide-shipping-service app. This now won’t work, as it hides them from draft orders too.

Regardless, if people want to add a shipping service only available internally through drafts (eg. special customers, customised prices), I can’t think of an easy way to do this now other than using the custom field (subject to user input errors), or some long winded way with the customization apps by adding in a particular product (“Expose Shipping Services Dummy Product”), use this as an option to hide services if it’s not present in a cart (ie. expose them when it is), then remove it once shipping is selected.

I just hope someone was sensible enough to code in an option to turn on/off applying delivery customisations to draft orders, and the app devs can take advantage of this with a quick update.

This is also an issue for our Plus store. We have shipping methods that should only show to some customers but need to be available for our customer service team to select for any customer. If the input query had where the Function is running available to it, that would be an easy way to allow developers to solve this. Another approach is to add a boolean field to the deliveryCustomizationCreate mutation which dictates whether that Delivery Customization runs on draft orders

This has been somewhat resolved by app devs - not sure how, but at least the Blockify Checkout app team have a way to disable their “hide shipping method” rules for the draft order pages. It’s not user selectable yet but contact them and they can disable it for drafts.

1 Like