1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-22 01:11:34 +02:00
invoiceninja/openapi/components/schemas/vendor.yaml

155 lines
5.4 KiB
YAML
Raw Normal View History

2023-03-19 00:39:21 +01:00
Vendor:
properties:
id:
2023-10-02 01:17:15 +02:00
description: 'The hashed id of the vendor. This is a unique identifier for the vendor.'
2023-03-19 00:39:21 +01:00
type: string
example: Opnel5aKBz
2023-10-02 01:17:15 +02:00
readOnly: true
2023-03-19 00:39:21 +01:00
user_id:
2023-10-02 01:17:15 +02:00
description: 'The hashed id of the user who created the vendor. This is a unique identifier for the user.'
2023-03-19 00:39:21 +01:00
type: string
example: Opnel5aKBz
assigned_user_id:
2023-10-02 01:17:15 +02:00
description: 'The hashed id of the assigned user to this vendor. This is a unique identifier for the user.'
2023-03-19 00:39:21 +01:00
type: string
example: Opnel5aKBz
company_id:
2023-10-02 01:17:15 +02:00
description: 'The hashed id of the company. This is a unique identifier for the company.'
2023-03-19 00:39:21 +01:00
type: string
example: Opnel5aKBz
client_id:
2023-10-02 01:17:15 +02:00
description: 'The hashed id of the client. This is a unique identifier for the client.'
2023-03-19 00:39:21 +01:00
type: string
example: Opnel5aKBz
contacts:
type: array
items:
$ref: '#/components/schemas/VendorContact'
2023-10-02 01:17:15 +02:00
description: 'An array of contacts associated with the vendor.'
2023-03-19 00:39:21 +01:00
name:
2023-10-02 01:17:15 +02:00
description: 'The name of the vendor.'
2023-03-19 00:39:21 +01:00
type: string
2023-10-02 01:17:15 +02:00
example: 'Harry cafe de wheels'
classification:
description: 'The classification of the vendor.'
type: string
example: 'individual'
2023-03-19 00:39:21 +01:00
website:
2023-10-02 01:17:15 +02:00
description: 'The website of the vendor.'
2023-03-19 00:39:21 +01:00
type: string
example: www.harry.com
private_notes:
2023-10-02 01:17:15 +02:00
description: 'The private notes of the vendor. These notes are only visible to users with appropriate permissions.'
2023-03-19 00:39:21 +01:00
type: string
2023-10-02 01:17:15 +02:00
example: 'Shhh, do not tell the vendor'
2023-03-19 00:39:21 +01:00
industry_id:
2023-10-02 01:17:15 +02:00
description: 'The industry id of the vendor. This is a unique identifier for the industry.'
2023-03-19 00:39:21 +01:00
type: string
example: '1'
size_id:
2023-10-02 01:17:15 +02:00
description: 'The size id of the vendor. This is a unique identifier for the size of the vendor.'
2023-03-19 00:39:21 +01:00
type: string
example: ''
address1:
2023-10-02 01:17:15 +02:00
description: 'The first line of the vendor''s address.'
2023-03-19 00:39:21 +01:00
type: string
example: ''
address2:
2023-10-02 01:17:15 +02:00
description: 'The second line of the vendor''s address.'
2023-03-19 00:39:21 +01:00
type: string
example: ''
city:
2023-10-02 01:17:15 +02:00
description: 'The city of the vendor''s address.'
2023-03-19 00:39:21 +01:00
type: string
example: ''
state:
2023-10-02 01:17:15 +02:00
description: 'The state of the vendor''s address.'
2023-03-19 00:39:21 +01:00
type: string
example: ''
postal_code:
2023-10-02 01:17:15 +02:00
description: 'The postal code of the vendor''s address.'
2023-03-19 00:39:21 +01:00
type: string
example: ''
phone:
2023-10-02 01:17:15 +02:00
description: 'The phone number of the vendor.'
2023-03-19 00:39:21 +01:00
type: string
example: 555-3434-3434
country_id:
2023-10-02 01:17:15 +02:00
description: 'The country id of the vendor. This is a unique identifier for the country.'
2023-03-19 00:39:21 +01:00
type: string
example: ''
currency_id:
2023-10-02 01:17:15 +02:00
description: 'The currency id of the vendor. This is a unique identifier for the currency.'
2023-03-19 00:39:21 +01:00
type: string
example: '4'
custom_value1:
2023-10-02 01:17:15 +02:00
description: 'The value of the first custom field for the vendor.'
2023-03-19 00:39:21 +01:00
type: string
example: ''
custom_value2:
2023-10-02 01:17:15 +02:00
description: 'The value of the second custom field for the vendor.'
2023-03-19 00:39:21 +01:00
type: string
example: ''
custom_value3:
2023-10-02 01:17:15 +02:00
description: 'The value of the third custom field for the vendor.'
2023-03-19 00:39:21 +01:00
type: string
example: ''
custom_value4:
2023-10-02 01:17:15 +02:00
description: 'The value of the fourth custom field for the vendor.'
2023-03-19 00:39:21 +01:00
type: string
example: ''
vat_number:
2023-10-02 01:17:15 +02:00
description: 'The VAT number of the vendor.'
2023-03-19 00:39:21 +01:00
type: string
example: ''
id_number:
2023-10-02 01:17:15 +02:00
description: 'The ID number of the vendor.'
2023-03-19 00:39:21 +01:00
type: string
example: ''
number:
2023-10-02 01:17:15 +02:00
description: 'The number of the vendor'
2023-03-19 00:39:21 +01:00
type: string
2023-10-02 01:17:15 +02:00
example: '11234'
2023-03-19 00:39:21 +01:00
is_deleted:
2023-10-02 01:17:15 +02:00
description: 'Boolean flag determining if the vendor has been deleted'
2023-03-19 00:39:21 +01:00
type: boolean
example: true
2023-10-02 01:17:15 +02:00
language_id:
description: 'The language id of the vendor. This is a unique identifier for the language.'
type: string
example: '1'
vendor_hash:
description: 'The vendor hash of the vendor. This is a unique identifier for the vendor.'
type: string
example: 'aaa-sss-www'
readOnly: true
transaction_name:
description: 'The transaction name of the vendor.'
type: string
example: 'aaa-sss-www'
2023-03-19 00:39:21 +01:00
last_login:
description: Timestamp
type: number
format: integer
example: '134341234234'
2023-10-02 01:17:15 +02:00
readOnly: true
2023-03-19 00:39:21 +01:00
created_at:
description: Timestamp
type: number
format: integer
example: '134341234234'
2023-10-02 01:17:15 +02:00
readOnly: true
2023-03-19 00:39:21 +01:00
updated_at:
description: Timestamp
type: number
format: integer
example: '134341234234'
2023-10-02 01:17:15 +02:00
readOnly: true
display_name:
description: 'The display name of the vendor.'
type: string
example: 'Bob the vendor'
readOnly: true
2023-03-19 00:39:21 +01:00
settings:
$ref: '#/components/schemas/CompanySettings'
type: object