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.
Photo by Marco Verch Sales channels on Shopify are various platforms where you can sell...
By Ollie May 25, 2023Summary of EventsBeginning in January of 2023, some merchants reported seeing a large amo...
By Trevor May 15, 2023With 2-Factor Authentication being required to use Shopify Payments, we’re here to help yo...
By Imogen Apr 26, 2023