Skip to main content
POST
/
commerce
/
vendors
Error
A valid request URL is required to generate request examples
{
  "vendorCode": "<string>",
  "tenantId": 123,
  "name": "<string>",
  "status": "<string>",
  "inventoryRefresh": "<string>",
  "contactInfo": {
    "address": {
      "address1": "<string>",
      "address2": "<string>",
      "address3": "<string>",
      "address4": "<string>",
      "cityOrTown": "<string>",
      "stateOrProvince": "<string>",
      "postalOrZipCode": "<string>",
      "countryCode": "<string>",
      "addressType": "<string>",
      "isValidated": true
    },
    "email": "<string>",
    "phone": "<string>"
  },
  "locations": [
    {
      "locationCode": "<string>",
      "receiverId": "<string>",
      "data": "<unknown>"
    }
  ],
  "auditInfo": {
    "updateDate": "2023-11-07T05:31:56Z",
    "createDate": "2023-11-07T05:31:56Z",
    "updateBy": "<string>",
    "createBy": "<string>"
  }
}

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme.

Query Parameters

responseFields
string

limits which fields are returned in the response body

Body

application/json

Vendor object to create

vendorCode
string | null
tenantId
integer<int32>
name
string | null
status
string | null
inventoryRefresh
string | null
contactInfo
object
locations
object[] | null
auditInfo
object

Response

Success

vendorCode
string | null
tenantId
integer<int32>
name
string | null
status
string | null
inventoryRefresh
string | null
contactInfo
object
locations
object[] | null
auditInfo
object