Supplier id
Gets Supplier by id
Gets Supplier by id
Path Parameters
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
Deposit Required Flag
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
PO SKU 1 Enabled (FALSE by default)
PO SKU 2 Enabled (TRUE by default)
Is enabled flag
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",
"is_enabled": true,
"po_sku1_enabled": true,
"po_sku2_enabled": true
}
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
Deposit Required Flag
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
PO SKU 1 Enabled (FALSE by default)
PO SKU 2 Enabled (TRUE by default)
Is enabled flag
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
Path Parameters
Headers
token
Acquires token
Acquires token
Headers
Subscription key.
Response
200
Response
Returns authentication result