Prepaid subscription swap product

tcarmi
Shopify Partner
14 0 3

As far as I understand nowadays Shopify API do not support swiping products on a fulfillment order.  
I wonder if there is a plan do add such ability?
Or, is there another way to allow this kind of functionality?

Replies 12 (12)

matart
Shopify Staff (Retired)
31 4 5

Hey @tcarmi ,

 

Would Billing Cycles solve this problem?

 

 

Billing Cycles: https://shopify.dev/docs/apps/subscriptions/billing-cycles

To learn more visit the Shopify Help Center or the Community Blog.

tcarmi
Shopify Partner
14 0 3

Hi @matart,
thanks for the answer.
First, I can see this here:

 

  • You can't edit billing cycles for prepaid subscriptions.

Also, even if I could use it, I am not sure BillingCycle will allow me to change the already existing FulfillmentOrders. I mean I would still have to cancel the old FulfillmentOrders, no?

matart
Shopify Staff (Retired)
31 4 5

Darn, Looks like from the subscriptions API side there is currently no way to do this. You may have better luck in the https://community.shopify.com/c/shopify-apis-and-sdks/bd-p/shopify-apis-and-technology forum as I am not super familiar with fulfillmentOrders. I can move this question there if that works.

To learn more visit the Shopify Help Center or the Community Blog.

tcarmi
Shopify Partner
14 0 3

If you think it might help me get an answer of course I'd be glad if you could move it there...
thanks!

matart
Shopify Staff (Retired)
31 4 5

No guarantee but fingers crossed 

To learn more visit the Shopify Help Center or the Community Blog.

ShopifyDevSup
Shopify Staff
1453 238 512

Hi @tcarmi A FulfillmentOrder is immutable, so any edit to an order would result in the creation of a new fulfillment_order(s) even if it's just a change in the quantity. If you need to change the line items you can adjust the order and continue to work with the new fulfillmentorder(s) that will be created as a result 

Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

keila2k
Shopify Partner
2 0 3

Hi @ShopifyDevSup 
What do you mean by "adjust the order"? which mutation exactly can I use? Can you please elaborate on the process? 
Thanks

ShopifyDevSup
Shopify Staff
1453 238 512

Hi @keila2k , any editing will create new FulfillmentOrders. If you are getting started with editing via the API we have this guide here https://shopify.dev/docs/apps/fulfillment/order-management-apps/order-editing. Hope this helps!

Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

tcarmi
Shopify Partner
14 0 3

Hi @ShopifyDevSup
the link redirects to 404 page

keila2k
Shopify Partner
2 0 3

Hi @ShopifyDevSup ,
When trying to execute `orderEditBegin` over one of my orders (prepaid order with scheduled fulfillment orders) I'm getting the following error:

"message": "The order cannot be edited."
{
    "data": {
        "orderEditBegin": {
            "calculatedOrder": null,
            "userErrors": [
                {
                    "message": "The order cannot be edited."
                }
            ]
        }
    }
}

 

tcarmi
Shopify Partner
14 0 3

@ShopifyDevSup 
Editing a prepaid order is not working, as @keila2k mentioned.
Is this a bug? or are we missing something here?

tcarmi
Shopify Partner
14 0 3

@ShopifyDevSup, thx for the answer.
Do you have an answer to @keila2k question?