For the complete documentation index, see llms.txt. This page is also available as Markdown.

Vendors

Returns vendors

get
Authorizations
ApiKeystringRequired

Api key taken from 'Gateway API key' setting.

Query parameters
codestringOptional
clientIdstring · uuidOptional
Responses
200

OK

companyNamestring · nullableOptional
emailstring · nullableOptional
phonestring · nullableOptional
contactPersonstring · nullableOptional
descriptionstring · nullableOptional
idstring · uuidOptional
vendorCodestring · nullableOptional
get/vendors
GET /vendors HTTP/1.1
ApiKey: YOUR_API_KEY
Accept: */*
200

OK

[
  {
    "companyName": "text",
    "email": "text",
    "phone": "text",
    "contactPerson": "text",
    "description": "text",
    "address": {
      "address1": "text",
      "address2": "text",
      "city": "text",
      "stateProvince": "text",
      "zipPostalCode": "text",
      "country": "text"
    },
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "client": {
      "description": "text",
      "ssccCompanyId": "text",
      "companyName": "text",
      "email": "text",
      "phone": "text",
      "contactPerson": "text",
      "taxId": "text",
      "address1": "text",
      "address2": "text",
      "city": "text",
      "stateProvince": "text",
      "zipPostalCode": "text",
      "country": "text",
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "name": "text"
    },
    "vendorCode": "text"
  }
]

Create new vendor

post
Authorizations
ApiKeystringRequired

Api key taken from 'Gateway API key' setting.

Body
companyNamestring · nullableOptional
emailstring · nullableOptional
phonestring · nullableOptional
contactPersonstring · nullableOptional
descriptionstring · nullableOptional
clientIdstring · uuid · nullableOptional
vendorCodestring · nullableOptional
Responses
200

OK

idstring · uuidOptional
post/vendors
POST /vendors HTTP/1.1
ApiKey: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 291

{
  "companyName": "text",
  "email": "text",
  "phone": "text",
  "contactPerson": "text",
  "description": "text",
  "address": {
    "address1": "text",
    "address2": "text",
    "city": "text",
    "stateProvince": "text",
    "zipPostalCode": "text",
    "country": "text"
  },
  "clientId": "123e4567-e89b-12d3-a456-426614174000",
  "vendorCode": "text"
}
{
  "id": "123e4567-e89b-12d3-a456-426614174000"
}

Update an existing vendor

put
Authorizations
ApiKeystringRequired

Api key taken from 'Gateway API key' setting.

Body
companyNamestring · nullableOptional
emailstring · nullableOptional
phonestring · nullableOptional
contactPersonstring · nullableOptional
descriptionstring · nullableOptional
idstring · uuidOptional
Responses
200

OK

idstring · uuidOptional
put/vendors
PUT /vendors HTTP/1.1
ApiKey: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 265

{
  "companyName": "text",
  "email": "text",
  "phone": "text",
  "contactPerson": "text",
  "description": "text",
  "address": {
    "address1": "text",
    "address2": "text",
    "city": "text",
    "stateProvince": "text",
    "zipPostalCode": "text",
    "country": "text"
  },
  "id": "123e4567-e89b-12d3-a456-426614174000"
}
{
  "id": "123e4567-e89b-12d3-a456-426614174000"
}

Returns a single vendor by id

get
Authorizations
ApiKeystringRequired

Api key taken from 'Gateway API key' setting.

Path parameters
idstring · uuidRequired
Responses
200

OK

companyNamestring · nullableOptional
emailstring · nullableOptional
phonestring · nullableOptional
contactPersonstring · nullableOptional
descriptionstring · nullableOptional
idstring · uuidOptional
vendorCodestring · nullableOptional
get/vendors/{id}
GET /vendors/{id} HTTP/1.1
ApiKey: YOUR_API_KEY
Accept: */*
{
  "companyName": "text",
  "email": "text",
  "phone": "text",
  "contactPerson": "text",
  "description": "text",
  "address": {
    "address1": "text",
    "address2": "text",
    "city": "text",
    "stateProvince": "text",
    "zipPostalCode": "text",
    "country": "text"
  },
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "client": {
    "description": "text",
    "ssccCompanyId": "text",
    "companyName": "text",
    "email": "text",
    "phone": "text",
    "contactPerson": "text",
    "taxId": "text",
    "address1": "text",
    "address2": "text",
    "city": "text",
    "stateProvince": "text",
    "zipPostalCode": "text",
    "country": "text",
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "name": "text"
  },
  "vendorCode": "text"
}

Delete vendor by Id

delete
Authorizations
ApiKeystringRequired

Api key taken from 'Gateway API key' setting.

Path parameters
idstring · uuidRequired
Responses
200

OK

No content

delete/vendors/{id}
DELETE /vendors/{id} HTTP/1.1
ApiKey: YOUR_API_KEY
Accept: */*

No content

Last updated