Draft orders: Can't save shipping_line handles anymore

Hey everyone!

Currently I’m trying to automate a custom checkout flow for our store but lately I encountered a problem with draft orders, and I’m wondering if anyone has an idea what’s wrong.

  1. We developed a custom checkout flow for some items of our store
  2. In this flow I’m creating draft orders via https://shopify.dev/docs/api/admin-rest/2023-07/resources/draftorder
  3. After the user filled in his shipping address, I’m using the draftOrderCalculate query to fetch the available shipping options https://shopify.dev/docs/api/admin-graphql/2023-07/mutations/draftOrderCalculate
  4. Our logistics partner installed an app called BUKU to our store for the shipping management. And the draftOrderCalculate query returns the correct shipping options.
  5. After a user selects one of the available options, I’m updating the draft order https://shopify.dev/docs/api/admin-rest/2023-07/resources/draftorder#put-draft-orders-draft-order-id , to set shipping_line.custom = false and shipping_line.handle = {the selected handle}
  6. This worked until mid of October and I could see in the admin backend, that one of the shipment options was added to the draft order
  7. Now my draft order update API request still gets accepted, but the shipping_line values don’t get saved anymore
  8. When I set shipping_line.custom = true , I can set any shipping title and price and this still works. However, this breaks some of the BUKU automation and we need to process these orders manually.

We’re using the API version 2023-07 and didn’t change anything related to the flow, but somehow the non custom shipping handles can’t be saved anymore via API.

I appreciate any help.