POST
/
taxesandfees
curl --request POST \
  --url https://commerce.driv.ly/api/taxesandfees \
  --header 'Content-Type: application/json' \
  --data '{
  "id": "tax_9kq3j4ldks03",
  "type": "Sales Tax",
  "amount": 2800
}'
{
  "data": {
    "id": "tax_9kq3j4ldks03",
    "type": "Sales Tax",
    "amount": 2800
  },
  "success": true
}

Query Parameters

depth
integer

The number of levels of related objects to include in the response

Body

application/json

Response

200
application/json

Taxes & Fees Created

The response is of type object.