Searches Suppliers by parameters
Searches Suppliers by parameters
Query Parameters
Admin only orders flag
Supplier Id. Other properties are skipped, if used
Modified since
Select fields.
Available field name values: id, supplier_code, name
Example: id
Format - int32.
>= 1<= 100000
Format - int32.
>= 1<= 2147483647
Headers
Api subscription key
Default:no-cache
Bearer token for authorization (e.g., Bearer )
Response
application/json
Response
Paging Response with Suppliers data
Supplier.PagingResponse
Supplier model
Show Child Parameters
Query Parameters
Headers
Creates Supplier
Sample request:
POST /suppliers
{
"supplier_code": "Test code",
"name": "Test name",
"address": {
"address_line1": "string",
"suburb": "string",
"state": "string",
"postcode": "string",
"country": {
"id": 2,
"name": "string"
}
},
"phone": "string",
"fax": "string",
"contact_name": "string",
"contact_email": "contact_email@com.au",
"order_email": "order_email@com.au",
"admin_only_orders": false,
"deposit_required": false,
"shipping_port": {
"id": 2,
"name": "string"
},
"country_of_origin": {
"id": 2,
"name": "string"
},
"shipping_terms": "string",
"payment_terms": "string",
"comments": "string comment",
"purchase_order_template": "Standard"
}
Headers
Api subscription key
Default:no-cache
Bearer token for authorization (e.g., Bearer )
Body
application/json
Body
Supplier to be created
EmptyExample
Response
application/json
Response
Created
Supplier
Supplier model
Supplier Id
Supplier Code
>= 0 characters<= 20 characters
Supplier Name
>= 0 characters<= 50 characters
Supplier address model
Show Child Parameters
Supplier Phone Number
>= 0 characters<= 20 characters
Supplier Fax Number
>= 0 characters<= 20 characters
Supplier Contact Name
>= 0 characters<= 50 characters
Supplier Contact Email
>= 0 characters<= 120 characters
Supplier Order Email
>= 0 characters<= 120 characters
Admin Only Orders Flag
Default:false
Deposit Required Flag
Default:false
Show Child Parameters
Show Child Parameters
Supplier Shipping Terms
>= 0 characters<= 50 characters
Supplier Payment Terms
>= 0 characters<= 50 characters
Supplier Comments
Match pattern:^[^*|":<>[\]{}`\()';@&$#!-/?]+$
>= 0 characters<= 255 characters
Supplier Purchase Order Template type
Modified On
Headers
Body
Gets Supplier by id
Gets Supplier by id
Path Parameters
Supplier id
Headers
Api subscription key
Default:no-cache
Bearer token for authorization (e.g., Bearer )
Response
application/json
Response
Returns Supplier
Supplier
Supplier model
Supplier Id
Supplier Code
>= 0 characters<= 20 characters
Supplier Name
>= 0 characters<= 50 characters
Supplier address model
Show Child Parameters
Supplier Phone Number
>= 0 characters<= 20 characters
Supplier Fax Number
>= 0 characters<= 20 characters
Supplier Contact Name
>= 0 characters<= 50 characters
Supplier Contact Email
>= 0 characters<= 120 characters
Supplier Order Email
>= 0 characters<= 120 characters
Admin Only Orders Flag
Default:false
Deposit Required Flag
Default:false
Show Child Parameters
Show Child Parameters
Supplier Shipping Terms
>= 0 characters<= 50 characters
Supplier Payment Terms
>= 0 characters<= 50 characters
Supplier Comments
Match pattern:^[^*|":<>[\]{}`\()';@&$#!-/?]+$
>= 0 characters<= 255 characters
Supplier Purchase Order Template type
Modified On
Path Parameters
Headers
Updates Supplier by id
Sample request:
PUT /supplier
{
"supplier_code": "supplier code",
"name": "Supplier test",
"address": {
"address_line1": "string",
"suburb": "string",
"state": "string",
"postcode": "string",
"country": {
"id": 2
}
},
"phone": "string",
"fax": "string",
"contact_name": "string",
"contact_email": "string@com.au",
"order_email": "string@com.au",
"admin_only_orders": false,
"deposit_required": false,
"shipping_port": {
"id": 2,
"name": "string"
},
"country_of_origin": {
"id": 2,
"name": "string"
},
"shipping_terms": "string",
"payment_terms": "string",
"comments": "Supplier comments",
"purchase_order_template": "Standard"
}
Path Parameters
Supplier id
Example:10000
Headers
Api subscription key
Default:no-cache
Bearer token for authorization (e.g., Bearer )
Body
application/json
Body
Supplier model
EmptyExample
Response
application/json
Response
Returns updated Supplier
Supplier
Supplier model
Supplier Id
Supplier Code
>= 0 characters<= 20 characters
Supplier Name
>= 0 characters<= 50 characters
Supplier address model
Show Child Parameters
Supplier Phone Number
>= 0 characters<= 20 characters
Supplier Fax Number
>= 0 characters<= 20 characters
Supplier Contact Name
>= 0 characters<= 50 characters
Supplier Contact Email
>= 0 characters<= 120 characters
Supplier Order Email
>= 0 characters<= 120 characters
Admin Only Orders Flag
Default:false
Deposit Required Flag
Default:false
Show Child Parameters
Show Child Parameters
Supplier Shipping Terms
>= 0 characters<= 50 characters
Supplier Payment Terms
>= 0 characters<= 50 characters
Supplier Comments
Match pattern:^[^*|":<>[\]{}`\()';@&$#!-/?]+$
>= 0 characters<= 255 characters
Supplier Purchase Order Template type
Modified On
Path Parameters
Headers
Body
Deletes Supplier by id
Deletes Supplier by id
Path Parameters
Supplier id
Example:1
Headers
Api subscription key
Default:no-cache
Bearer token for authorization (e.g., Bearer )
Response
Response
Supplier deleted