Vendor Type Codes
Vendor Type | Type | Description |
---|---|---|
OTHER | 1 | Previously 'OTHER' vendor (ID=1), used for storing non-vendor |
for storing non-vendor Vendor names in request. | ||
HIDDEN | 2 | New type of vendors that is reserved for system purposes (eg. Amazon Business). |
PREFERRED (default) | 3 | The default vendors from previous list |
where active vendor dropdowns everywhere previously showed. | ||
Request now ONLY shows these vendors (+OTHER) | ||
REGULAR | 4 | New type of vendors that are non-preferred, |
for any AP purposes and purchasers to update. | ||
(DOES NOT show up in Request, but shows up in Procure) | ||
EMPLOYEE | 5 | New type of vendors that do not show up anywhere except in AP employees list. |
CC_PROVIDER | 6 | Similar type of vendors to AP employees, but for AP credit card providers. |
object | |
Array of objects (OptimizedVendor) |
{- "metadata": {
- "pagination": {
- "count": 10,
- "next": null,
- "previous": null,
- "page_size": 10,
- "num_pages": 1,
- "current_page": 1
}
}, - "data": [
- {
- "id": 0,
- "name": "string",
- "active": true,
- "addressLineOne": "string",
- "addressLineTwo": "string",
- "postalCode": "string",
- "city": "string",
- "state_province": "string",
- "country": "string",
- "phoneOne": "string",
- "phoneTwo": "string",
- "fax": "string",
- "email": [
- "user@example.com"
], - "comments": "string",
- "contact": "string",
- "url": "string",
- "external_id": "string",
- "dateModified": "2019-08-24T14:15:22Z",
- "currency": 0,
- "payment_term_ref": {
- "id": 0,
- "name": "string",
- "description": "string",
- "active": true
}, - "shipping_term_ref": {
- "id": 0,
- "name": "string",
- "description": "string",
- "active": true
}, - "payment_method_ref": {
- "id": 0,
- "name": "string",
- "description": "string",
- "active": true
}, - "shipping_method_ref": {
- "id": 0,
- "name": "string",
- "description": "string",
- "active": true
}, - "payment_methods": [
- {
- "id": 0,
- "name": "string",
- "type": 0,
- "data": null,
- "currency": {
- "id": 0,
- "name": "string",
- "description": "string",
- "rate": "string",
- "base": true,
- "active": true
}
}
], - "tax": 0,
- "type": 2,
- "default_payment_method": 0,
- "creditcards": [
- {
- "id": 0,
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "is_active": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "number": "string",
- "balance": -2147483648,
- "gl_code": "string",
- "type": 0,
- "category": 0,
- "external_id": "string",
- "status": "pending",
- "require_activation": true,
- "last_changed_by": 0,
- "vendor": 0,
- "payment_method": 0,
- "currency": 0,
- "currency_name": "string",
- "creator": 0,
- "assignees": [
- {
- "id": 0,
- "firstName": "string",
- "lastName": "string",
- "email": "user@example.com",
- "profile_image": "string"
}
]
}
], - "is_1099_eligible": true,
- "overall_score": "string",
- "is_auto_email_po_enabled": true,
- "po_pdf_labels": "string",
- "vendor_request": {
- "id": 0,
- "requester": "string",
- "submitted_date": "2019-08-24T14:15:22Z",
- "next_approver": "string",
- "permissions": {
- "property1": null,
- "property2": null
}
}
}
]
}
Create a new vendor
Due to having multiple vendors with the same name, especially common if user keeps deleting vendors with the same name, these deleted vendors get thrown into the inactive list.
Vendor Types
Vendor Type | Type |
---|---|
OTHER | 1 |
HIDDEN | 2 |
PREFERRED (default) | 3 |
REGULAR | 4 |
EMPLOYEE | 5 |
CC_PROVIDER | 6 |
object Default: {} | |
required | object (VendorDetail) |
{- "name": "string",
- "active": true,
- "addressLineOne": "string",
- "addressLineTwo": "string",
- "postalCode": "string",
- "city": "string",
- "state_province": "string",
- "country": "string",
- "phoneOne": "string",
- "phoneTwo": "string",
- "fax": "string",
- "email": [
- "user@example.com"
], - "comments": "string",
- "contact": "string",
- "url": "string",
- "external_id": "string",
- "currency": 0,
- "payment_term_ref": {
- "name": "string",
- "description": "string",
- "active": true
}, - "shipping_term_ref": {
- "name": "string",
- "description": "string",
- "active": true
}, - "payment_method_ref": {
- "name": "string",
- "description": "string",
- "active": true
}, - "shipping_method_ref": {
- "name": "string",
- "description": "string",
- "active": true
}, - "tax": 0,
- "type": 2,
- "default_payment_method": 0,
- "is_1099_eligible": true,
- "overall_score": "string",
- "is_auto_email_po_enabled": true,
- "po_pdf_labels": "string"
}
{- "metadata": { },
- "data": {
- "id": 0,
- "name": "string",
- "active": true,
- "addressLineOne": "string",
- "addressLineTwo": "string",
- "postalCode": "string",
- "city": "string",
- "state_province": "string",
- "country": "string",
- "phoneOne": "string",
- "phoneTwo": "string",
- "fax": "string",
- "email": [
- "string"
], - "comments": "string",
- "contact": "string",
- "url": "string",
- "external_id": "string",
- "dateModified": "2019-08-24T14:15:22Z",
- "currency": 0,
- "payment_term_ref": {
- "id": 0,
- "name": "string",
- "description": "string",
- "active": true
}, - "shipping_term_ref": {
- "id": 0,
- "name": "string",
- "description": "string",
- "active": true
}, - "payment_method_ref": {
- "id": 0,
- "name": "string",
- "description": "string",
- "active": true
}, - "shipping_method_ref": {
- "id": 0,
- "name": "string",
- "description": "string",
- "active": true
}, - "payment_methods": [
- {
- "id": 0,
- "name": "string",
- "type": 0,
- "data": null,
- "currency": {
- "id": 0,
- "name": "string",
- "description": "string",
- "rate": "string",
- "base": true,
- "active": true
}
}
], - "tax": 0,
- "type": 2,
- "default_payment_method": 0,
- "creditcards": [
- {
- "id": 0,
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "is_active": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "number": "string",
- "balance": -2147483648,
- "gl_code": "string",
- "type": 0,
- "category": 0,
- "external_id": "string",
- "status": "pending",
- "require_activation": true,
- "last_changed_by": 0,
- "vendor": 0,
- "payment_method": 0,
- "currency": 0,
- "currency_name": "string",
- "creator": 0,
- "assignees": [
- {
- "id": 0,
- "firstName": "string",
- "lastName": "string",
- "email": "user@example.com",
- "profile_image": "string"
}
]
}
], - "is_1099_eligible": true,
- "overall_score": 0,
- "is_auto_email_po_enabled": true,
- "po_pdf_labels": "string",
- "performance": {
- "overall_score": 0,
- "average_delivery_time": "string",
- "breakdown": {
- "speed": {
- "score": 0,
- "weight": "string"
}, - "accuracy": {
- "score": 0,
- "weight": "string"
}, - "quality": {
- "score": 0,
- "weight": "string"
}, - "cost": {
- "score": 0,
- "weight": "string"
}
}
}, - "vendor_request": {
- "id": 0,
- "requester": "string",
- "submitted_date": "2019-08-24T14:15:22Z",
- "next_approver": "string",
- "permissions": {
- "property1": null,
- "property2": null
}
}
}
}
Get detail of a vendor by id
object Default: {} | |
required | object (VendorDetail) |
{- "metadata": { },
- "data": {
- "id": 0,
- "name": "string",
- "active": true,
- "addressLineOne": "string",
- "addressLineTwo": "string",
- "postalCode": "string",
- "city": "string",
- "state_province": "string",
- "country": "string",
- "phoneOne": "string",
- "phoneTwo": "string",
- "fax": "string",
- "email": [
- "string"
], - "comments": "string",
- "contact": "string",
- "url": "string",
- "external_id": "string",
- "dateModified": "2019-08-24T14:15:22Z",
- "currency": 0,
- "payment_term_ref": {
- "id": 0,
- "name": "string",
- "description": "string",
- "active": true
}, - "shipping_term_ref": {
- "id": 0,
- "name": "string",
- "description": "string",
- "active": true
}, - "payment_method_ref": {
- "id": 0,
- "name": "string",
- "description": "string",
- "active": true
}, - "shipping_method_ref": {
- "id": 0,
- "name": "string",
- "description": "string",
- "active": true
}, - "payment_methods": [
- {
- "id": 0,
- "name": "string",
- "type": 0,
- "data": null,
- "currency": {
- "id": 0,
- "name": "string",
- "description": "string",
- "rate": "string",
- "base": true,
- "active": true
}
}
], - "tax": 0,
- "type": 2,
- "default_payment_method": 0,
- "creditcards": [
- {
- "id": 0,
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "is_active": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "number": "string",
- "balance": -2147483648,
- "gl_code": "string",
- "type": 0,
- "category": 0,
- "external_id": "string",
- "status": "pending",
- "require_activation": true,
- "last_changed_by": 0,
- "vendor": 0,
- "payment_method": 0,
- "currency": 0,
- "currency_name": "string",
- "creator": 0,
- "assignees": [
- {
- "id": 0,
- "firstName": "string",
- "lastName": "string",
- "email": "user@example.com",
- "profile_image": "string"
}
]
}
], - "is_1099_eligible": true,
- "overall_score": 0,
- "is_auto_email_po_enabled": true,
- "po_pdf_labels": "string",
- "performance": {
- "overall_score": 0,
- "average_delivery_time": "string",
- "breakdown": {
- "speed": {
- "score": 0,
- "weight": "string"
}, - "accuracy": {
- "score": 0,
- "weight": "string"
}, - "quality": {
- "score": 0,
- "weight": "string"
}, - "cost": {
- "score": 0,
- "weight": "string"
}
}
}, - "vendor_request": {
- "id": 0,
- "requester": "string",
- "submitted_date": "2019-08-24T14:15:22Z",
- "next_approver": "string",
- "permissions": {
- "property1": null,
- "property2": null
}
}
}
}
object Default: {} | |
required | object (Vendor) |
{- "name": "string",
- "active": true,
- "addressLineOne": "string",
- "addressLineTwo": "string",
- "postalCode": "string",
- "city": "string",
- "state_province": "string",
- "country": "string",
- "phoneOne": "string",
- "phoneTwo": "string",
- "fax": "string",
- "email": [
- "user@example.com"
], - "comments": "string",
- "contact": "string",
- "url": "string",
- "external_id": "string",
- "currency": 0,
- "payment_term_ref": {
- "name": "string",
- "description": "string",
- "active": true
}, - "shipping_term_ref": {
- "name": "string",
- "description": "string",
- "active": true
}, - "payment_method_ref": {
- "name": "string",
- "description": "string",
- "active": true
}, - "shipping_method_ref": {
- "name": "string",
- "description": "string",
- "active": true
}, - "tax": 0,
- "type": 2,
- "default_payment_method": 0,
- "is_1099_eligible": true,
- "overall_score": "string",
- "is_auto_email_po_enabled": true,
- "po_pdf_labels": "string"
}
{- "metadata": { },
- "data": {
- "id": 0,
- "name": "string",
- "active": true,
- "addressLineOne": "string",
- "addressLineTwo": "string",
- "postalCode": "string",
- "city": "string",
- "state_province": "string",
- "country": "string",
- "phoneOne": "string",
- "phoneTwo": "string",
- "fax": "string",
- "email": [
- "user@example.com"
], - "comments": "string",
- "contact": "string",
- "url": "string",
- "external_id": "string",
- "dateModified": "2019-08-24T14:15:22Z",
- "currency": 0,
- "payment_term_ref": 0,
- "shipping_term_ref": 0,
- "payment_method_ref": 0,
- "shipping_method_ref": 0,
- "payment_methods": [
- {
- "id": 0,
- "name": "string",
- "type": 0,
- "data": null,
- "currency": {
- "id": 0,
- "name": "string",
- "description": "string",
- "rate": "string",
- "base": true,
- "active": true
}
}
], - "tax": 0,
- "type": 2,
- "default_payment_method": 0,
- "creditcards": [
- {
- "id": 0,
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "is_active": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "number": "string",
- "balance": -2147483648,
- "gl_code": "string",
- "type": 0,
- "category": 0,
- "external_id": "string",
- "status": "pending",
- "require_activation": true,
- "last_changed_by": 0,
- "vendor": 0,
- "payment_method": 0,
- "currency": 0,
- "currency_name": "string",
- "creator": 0,
- "assignees": [
- {
- "id": 0,
- "firstName": "string",
- "lastName": "string",
- "email": "user@example.com",
- "profile_image": "string"
}
]
}
], - "is_1099_eligible": true,
- "overall_score": 0,
- "is_auto_email_po_enabled": true,
- "po_pdf_labels": "string"
}
}
object Default: {} | |
required | object (OptimizedVendor) |
{- "name": "string",
- "active": true,
- "addressLineOne": "string",
- "addressLineTwo": "string",
- "postalCode": "string",
- "city": "string",
- "state_province": "string",
- "country": "string",
- "phoneOne": "string",
- "phoneTwo": "string",
- "fax": "string",
- "email": [
- "user@example.com"
], - "comments": "string",
- "contact": "string",
- "url": "string",
- "external_id": "string",
- "currency": 0,
- "payment_term_ref": {
- "name": "string",
- "description": "string",
- "active": true
}, - "shipping_term_ref": {
- "name": "string",
- "description": "string",
- "active": true
}, - "payment_method_ref": {
- "name": "string",
- "description": "string",
- "active": true
}, - "shipping_method_ref": {
- "name": "string",
- "description": "string",
- "active": true
}, - "tax": 0,
- "type": 2,
- "default_payment_method": 0,
- "is_1099_eligible": true,
- "overall_score": "string",
- "is_auto_email_po_enabled": true,
- "po_pdf_labels": "string"
}
{- "metadata": { },
- "data": {
- "id": 0,
- "name": "string",
- "active": true,
- "addressLineOne": "string",
- "addressLineTwo": "string",
- "postalCode": "string",
- "city": "string",
- "state_province": "string",
- "country": "string",
- "phoneOne": "string",
- "phoneTwo": "string",
- "fax": "string",
- "email": [
- "user@example.com"
], - "comments": "string",
- "contact": "string",
- "url": "string",
- "external_id": "string",
- "dateModified": "2019-08-24T14:15:22Z",
- "currency": 0,
- "payment_term_ref": {
- "id": 0,
- "name": "string",
- "description": "string",
- "active": true
}, - "shipping_term_ref": {
- "id": 0,
- "name": "string",
- "description": "string",
- "active": true
}, - "payment_method_ref": {
- "id": 0,
- "name": "string",
- "description": "string",
- "active": true
}, - "shipping_method_ref": {
- "id": 0,
- "name": "string",
- "description": "string",
- "active": true
}, - "payment_methods": [
- {
- "id": 0,
- "name": "string",
- "type": 0,
- "data": null,
- "currency": {
- "id": 0,
- "name": "string",
- "description": "string",
- "rate": "string",
- "base": true,
- "active": true
}
}
], - "tax": 0,
- "type": 2,
- "default_payment_method": 0,
- "creditcards": [
- {
- "id": 0,
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "is_active": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "number": "string",
- "balance": -2147483648,
- "gl_code": "string",
- "type": 0,
- "category": 0,
- "external_id": "string",
- "status": "pending",
- "require_activation": true,
- "last_changed_by": 0,
- "vendor": 0,
- "payment_method": 0,
- "currency": 0,
- "currency_name": "string",
- "creator": 0,
- "assignees": [
- {
- "id": 0,
- "firstName": "string",
- "lastName": "string",
- "email": "user@example.com",
- "profile_image": "string"
}
]
}
], - "is_1099_eligible": true,
- "overall_score": "string",
- "is_auto_email_po_enabled": true,
- "po_pdf_labels": "string",
- "vendor_request": {
- "id": 0,
- "requester": "string",
- "submitted_date": "2019-08-24T14:15:22Z",
- "next_approver": "string",
- "permissions": {
- "property1": null,
- "property2": null
}
}
}
}