POST v1/NexusTax/NexusTaxUpdate

Update Nexus Tax

This is secure method and requires below attributes in header

Authorization: Midnight Authorize Token

Request Information

URI Parameters

None.

Body Parameters

NexusTaxUpdateRequest
NameDescriptionTypeAdditional information
NexusTaxID

Required for NexusTaxUpdate.

integer

Required

OrderNumber

Required. Must be a valid OrderNumber.

string

Required

Quantity

integer

None.

TaxCode

string

None.

TaxRate

decimal number

None.

AttnLine

string

None.

AddressLine1

string

None.

AddressLine2

string

None.

AddressLine3

string

None.

City

string

None.

StateCode

string

None.

ZipCode

string

None.

CountryCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "NexusTaxID": 1,
  "OrderNumber": "sample string 3",
  "Quantity": 4,
  "TaxCode": "sample string 5",
  "TaxRate": 6.0,
  "AttnLine": "sample string 7",
  "AddressLine1": "sample string 8",
  "AddressLine2": "sample string 9",
  "AddressLine3": "sample string 10",
  "City": "sample string 11",
  "StateCode": "sample string 12",
  "ZipCode": "sample string 13",
  "CountryCode": "sample string 14"
}

application/xml, text/xml

Sample:
<NexusTaxUpdateRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <NexusTaxID>1</NexusTaxID>
  <OrderID>2</OrderID>
  <OrderNumber>sample string 3</OrderNumber>
  <Quantity>4</Quantity>
  <TaxCode>sample string 5</TaxCode>
  <TaxRate>6</TaxRate>
  <AttnLine>sample string 7</AttnLine>
  <AddressLine1>sample string 8</AddressLine1>
  <AddressLine2>sample string 9</AddressLine2>
  <AddressLine3>sample string 10</AddressLine3>
  <City>sample string 11</City>
  <StateCode>sample string 12</StateCode>
  <ZipCode>sample string 13</ZipCode>
  <CountryCode>sample string 14</CountryCode>
  <NexusTaxBatchID>15</NexusTaxBatchID>
</NexusTaxUpdateRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'NexusTaxUpdateRequest'.

Response Information

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string>sample string 1</string>