Skip to main content
POST
/
api
/
landed-cost
/
bills
/
{billId}
/
allocate
Allocate landed cost to bill items
curl --request POST \
  --url https://api.example.com/api/landed-cost/bills/{billId}/allocate \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --header 'organization-id: <organization-id>' \
  --data '{}'

Headers

Authorization
string
required

Value must be 'Bearer ' where is an API key prefixed with 'bc_' or a JWT token.

Example:

"Bearer bc_1234567890abcdef"

organization-id
string
required

Required if Authorization is a JWT token. The organization ID to operate within.

Path Parameters

billId
number
required

Body

application/json

The body is of type object.

Response

201

Landed cost allocated successfully.