Sign in

Create vendor

documented

Create a new vendor.

POST /v3/company/{realmId}/vendorVendorsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://{{baseurl}}/v3/company/{{$realmId}}/vendor?minorversion={{minorversion}}" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{
    "DisplayName": "{{$vendorDisplayName}}",
    "CompanyName": "{{$vendorCompanyName}}",
    "PrimaryPhone": { "FreeFormNumber": "{{$vendorPhone}}" },
    "PrimaryEmailAddr": { "Address": "{{$vendorEmail}}" },
    "BillAddr": {
      "Line1": "{{$vendorBillLine1}}",
      "Line2": "{{$vendorBillLine2}}",
      "City": "{{$vendorBillCity}}",
      "CountryCode": "US",
      "Country": "US",
      "PostalCode": "{{$vendorBillPostalCode}}"
    }
  }'"}