What's your biggest current challenge? Have your say in Community Polls along the right column.
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

No shipping required when fulfill an order

No shipping required when fulfill an order

Shirleyw
Visitor
1 0 1

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.

Screen Shot 2020-07-17 at 4.04.14 PM.pngScreen Shot 2020-07-17 at 4.04.40 PM.png

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!

Reply 1 (1)

pku
Visitor
1 0 0

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?