oneye
April 12, 2023, 5:41pm
1
Hi,
I am trying to create an order with expedited shipping.
The following is what I had sent when I use create_order
“shipping_lines”:{
“title”: “Express”,
“price”: “0.00”,
“carrier”: “cheapest”,
“method”: “sf_expedited”
},
However my shipping is still showing standard.
1 Like
Hey @oneye ,
Thanks for reaching out!
Would you mind sharing the request id for this mutation and the order id as well?
Please let me know if you have any questions or concerns.
Best,
RayanP
oneye
April 12, 2023, 9:10pm
3
Hi Rayanp,
I had figured out the problem. It had to do with state code for the state and country code for country.
Is there a way for me to know what are the possible values for shipment methods aside from “sf_expedited” using the carrier “cheapest”?
Hey @oneye ,
Thanks for hanging in there!
Since there is no way to query shipping methods through the API, you will have to use SF App to see your available options.
You’ll need to open any order in SF App and on the right hand side of the screen you’ll see your options:
Please let me know if you have any further questions or concerns.
Best,
RayanP
oneye
April 18, 2023, 7:02pm
5
Hi Rayanp,
Okay, I will try that out, will update you if I encounter any issues.
Thanks
1 Like
hi @sh-agent can we put in a feature request to be able to query shipping methods through the API?
Thanks!
Hey @daniellanger ,
Thanks for reaching out!
I’ll pass along your feedback to our team! I’ll keep you posted of any updates that happen here.
Please let me know if you have any questions or concerns.
Best,
RayanP
@tomasfd bumping this thread as well. any updates on pulling shipping lines from the API?
Hello @daniellanger .
For the time being, we won’t be adding this feature to the current agenda. I will let you know if this changes in the future.
Have a nice day!
hey @tomasfd got it. So how are we supposed to know what a valid shipping line is when creating an order from the API for a given customer?
Hi @daniellanger
The only way to do this is to check through the UI.
Have a nice day!