Development discussions around Shopify APIs
Hi there,
I wanted to know how i can update Delivery method ("shipping_lines") in API Post request :
{
"order":{
"line_items":[
{
"variant_id":41075873120427,
"quantity":1
}
]
},
"shipping_lines":[
{
"id":3415903010987,
"carrier_identifier":null,
"code":"Gratuit",
"delivery_category":null,
"discounted_price":"0.00",
"discounted_price_set":{
"shop_money":{
"amount":"0.00",
"currency_code":"EUR"
},
"presentment_money":{
"amount":"0.00",
"currency_code":"EUR"
}
},
"phone":null,
"price":"0.00",
"price_set":{
"shop_money":{
"amount":"0.00",
"currency_code":"EUR"
},
"presentment_money":{
"amount":"0.00",
"currency_code":"EUR"
}
},
"requested_fulfillment_service_id":null,
"source":"shopify",
"title":"Gratuit",
"tax_lines":[
],
"discount_allocations":[
]
}
]
}
Thanks
Hi there @Theo_fr!
I just wanted to let you know I have moved your query here to our API forums, so as to get you the best chance of a useful reply on this.
These forums are moderated and responded to by our developers and your fellow Partners, so it really is the best place to share queries like this.
If you haven't already, you can always check out our API dev docs here, to learn more about objects like this one.
Don | Social Care @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog
Hey @Theo_fr
Thanks for getting touch about this! At present, it's not possible to add or update the shipping lines via the API. Please feel free to check out here for further info - there's a potential workaround too. Hope that at least explains! Thanks.
User | RANK |
---|---|
12 | |
6 | |
5 | |
5 | |
5 |
Learn these 5 things I had to learn the hard way with starting and running my own business
By Kitana Jan 27, 2023Would you love to unleash the unbridled power of the Google Shopping Channel into your sho...
By Gabe Jan 6, 2023How can you turn a hobby into a career? That’s what Emmanuel did while working as a wa...
By Skye Dec 30, 2022