Refund Duties

Highlighted
New Member
6 0 0

There is a new field "refund_duties" in the 2020-10 latest release. But there is not much documentation about what this field does.

Also, there are no examples in the REST scenario , Can you give a couple of valid requests and responses

0 Likes
Highlighted
Shopify Staff
Shopify Staff
15 0 5

Hi @osf_team_store ,

The field refunds duties on the order and allows you to choose the method.

You can find the documentation here.

Also, here's an example:

{
  "refund": {
    "shipping": {
      "amount": 1
    },
		"refund_duties": [
			{
				"duty_id": 1310776,
				"refund_type": "PROPORTIONAL"
			}
		],
    "refund_line_items": [
      {
        "line_item_id": 4510099439672,
        "quantity": 1,
        "restock_type": "no_restock"
      }
    ],
		"currency": "CAD"
  }
}

 

0 Likes