latestOpenAPI 3.0.12026-08-101292701.1 MB

f21981db32be

Orders

Lists an order's tax details

Retrieves the tax details of each line item in an order. You're required to specify the order's identifier as a path parameter.

get/orders/{id}/tax-details

Path parameters

idstring required

Order ID

Response

OK.

orderIdstring

The unique identifier of the order.

Example response

{
  "orderId": "ord_5823594809",
  "items": [
    {
      "id": "5823594809",
      "taxDetails": [
        {
          "country": "CA",
          "region": "MN",
          "jurisdictionType": "Country",
          "jurisdictionName": "TRANSIT IMPROVEMENT (RAMSEY CO)",
          "taxType": "Sales",
          "taxSubType": "0",
          "taxName": "MN SPECIAL TAX",
          "unitOfBasis": "PerCurrencyUnit",
          "rate": 0.08,
          "effectiveRate": 0.080016,
          "taxAmount": 8
        }
      ],
      "shippingTaxDetails": [
        {
          "country": "CA",
          "region": "MN",
          "jurisdictionType": "Country",
          "jurisdictionName": "TRANSIT IMPROVEMENT (RAMSEY CO)",
          "taxType": "Sales",
          "taxSubType": "0",
          "taxName": "MN SPECIAL TAX",
          "unitOfBasis": "PerCurrencyUnit",
          "rate": 0.08,
          "effectiveRate": 0.080016,
          "taxAmount": 8
        }
      ]
    }
  ]
}