POST
/
parties
curl --request POST \
  --url https://api.terminal49.com/v2/parties \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "data": {
    "attributes": {
      "company_name": "COMPANY NAME"
    }
  }
}'
{
  "data": {
    "id": "ba4cb904-827f-4038-8e31-1e92b3356218",
    "type": "party",
    "attributes": {
      "company_name": "COMPANY NAME"
    }
  },
  "links": {
    "self": "/v2/parties/ba4cb904-827f-4038-8e31-1e92b3356218"
  }
}

Authorizations

Authorization
string
header
required

Token YOUR_API_TOKEN

The APIs require authentication to be done using header-based API Key and Secret Authentication.

API key and secret are sent va the Authorization request header.

You send your API key and secret in the following way:

Authorization: Token YOUR_API_KEY

Body

application/json
data
object

Response

201
application/json
Party Created
data
object