Create a new supplier.
POST
/suppliers
201Description
If ID is provided and an object with that ID already exists, a 409 (conflict) error is returned.
Request Body
Property | Type | Format | Max Length | Possible Values | ||
---|---|---|---|---|---|---|
ID | string | --- | 100 characters | --- | ||
Name | Required | string | --- | 100 characters | --- | |
Active | boolean | --- | --- | --- | ||
AllBuyersCanOrder | boolean | --- | --- | --- | ||
xp | object | --- | --- | --- |
Response Body
Property | Type | Format | Max Length | Possible Values | ||
---|---|---|---|---|---|---|
ID | string | --- | 100 characters | --- | ||
Name | string | --- | 100 characters | --- | ||
Active | boolean | --- | --- | --- | ||
DateCreated | Read Only | string | date-time | --- | --- | |
AllBuyersCanOrder | boolean | --- | --- | --- | ||
xp | object | --- | --- | --- |