A space to discuss online store customization, theme development, and Liquid templating.
Hi,
I am trying to create order via api, and the order get created successfully. However, when I try to mark the product as fulfilled, it shows `No shipping required` and doesn't give me the option to select shipping carrier. And if I create an order via web interface, it has the option to choose a shipping carrier.
I created the order using the following parameter:
{
"order": {
"inventory_behaviour": "decrement_obeying_policy",
"currency": "USD",
"line_items": [{
"variant_id": 34706930172062,
"price": "3.00",
"quantity": 2,
"fulfillable_quantity": 2,
"requires_shipping": true
}],
"shipping_lines": [
{
"code": "custom",
"price": 1.00,
"title": "Shipping",
"carrier_identifier": "third_party_carrier_identifier"
}
],
"total_tax": "1.00",
"shipping_address": {
"company": "",
"first_name": "",
"last_name": "test",
"name": "test",
"address1": "123 St",
"address2": "test",
"phone": "1234567890",
"city": "Waterloo",
"province": "AZ",
"country": "United States",
"zip": " 85002"
},
"transactions": [
{
"kind": "sale",
"status": "success",
"amount": "100"
}
]
}
}
Any help is appreciated, thanks in advance!
I'm having this problem as well. Made sure to pass the param "required_shipping" for all line items when creating the order, but still says no shipping required for the user during fulfillment.
Interestingly, if I edit the shipping address, the shipping carrier box appears at fulfillment. Is this a bug?