I’m attempting to set the TaxLine channel_liable field to true on an order created using the Admin REST API POST /admin/api/2023-04/orders.json endpoint. No matter where I do that, on tax lines at the line item level (what I actually want) or at the order level, the resulting order always has channel_liable set to null. I’ve attempted this with both dev Shopify stores and actual paid stores. Is there something I’m missing here?
Example payload (I generally use product variant IDs, but for the sake of example went with a fake product; it makes no difference in the outcome):
{
"order": {
"email": "examplecustomer@example.com",
"currency": "USD",
"shipping_address": {
"address1": "123 Example Street",
"address2": "PO BOX 123",
"city": "Boise",
"province_code": "ID",
"zip": "54321",
"country_code": "US",
"first_name": "Jason",
"last_name": "Bourne"
},
"transactions": [
{
"amount": 2.2,
"kind": "sale",
"status": "success"
}
],
"line_items": [
{
"title": "Test",
"quantity": 1,
"price": 2.00,
"tax_lines": [
{
"price": 0.2,
"rate": 0.1,
"channel_liable": true
}
]
}
],
"total_tax": 0.2
}
}
Abbreviated response:
{
"order": {
"contact_email": "examplecustomer@example.com",
"created_at": "2023-04-20T15:32:56-07:00",
"currency": "USD",
"current_subtotal_price": "2.00",
"current_total_discounts": "0.00",
"current_total_price": "2.20",
"current_total_tax": "0.20",
"financial_status": "paid",
"presentment_currency": "USD",
"subtotal_price": "2.00",
"tax_lines": [
{
"price": "0.20",
"rate": 0.1,
"title": "Tax",
"price_set": {
"shop_money": {
"amount": "0.20",
"currency_code": "USD"
},
"presentment_money": {
"amount": "0.20",
"currency_code": "USD"
}
},
"channel_liable": null
}
],
"taxes_included": false,
"total_line_items_price": "2.00",
"total_price": "2.20",
"total_tax": "0.20",
"total_tax_set": {
"shop_money": {
"amount": "0.20",
"currency_code": "USD"
},
"presentment_money": {
"amount": "0.20",
"currency_code": "USD"
}
},
"line_items": [
{
"name": "Test",
"price": "2.00",
"taxable": true,
"title": "Test",
"tax_lines": [
{
"channel_liable": null,
"price": "0.20",
"price_set": {
"shop_money": {
"amount": "0.20",
"currency_code": "USD"
},
"presentment_money": {
"amount": "0.20",
"currency_code": "USD"
}
},
"rate": 0.1,
"title": "Tax"
}
]
}
]
}
}