1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-11 13:42:49 +01:00
invoiceninja/openapi/components/schemas/vendor.yaml
2023-03-19 10:39:21 +11:00

128 lines
3.4 KiB
YAML

Vendor:
properties:
id:
description: 'The hashed id of the vendor'
type: string
example: Opnel5aKBz
user_id:
description: 'The hashed id of the user who created the vendor'
type: string
example: Opnel5aKBz
assigned_user_id:
description: 'The hashed id of the assigned user to this vendor'
type: string
example: Opnel5aKBz
company_id:
description: 'The hashed id of the company'
type: string
example: Opnel5aKBz
client_id:
description: 'The hashed id of the client'
type: string
example: Opnel5aKBz
contacts:
type: array
items:
$ref: '#/components/schemas/VendorContact'
name:
description: 'The vendor name'
type: string
example: 'Harry''s cafe de wheels'
website:
description: 'The website of the vendor'
type: string
example: www.harry.com
private_notes:
description: 'The private notes of the vendor'
type: string
example: 'Shhh, don''t tell the vendor'
industry_id:
description: 'The industry id of the vendor'
type: string
example: '1'
size_id:
description: ________
type: string
example: ''
address1:
description: ________
type: string
example: ''
address2:
description: ________
type: string
example: ''
city:
description: ________
type: string
example: ''
state:
description: ________
type: string
example: ''
postal_code:
description: ________
type: string
example: ''
phone:
description: 'The client phone number'
type: string
example: 555-3434-3434
country_id:
description: ________
type: string
example: ''
currency_id:
description: ________
type: string
example: '4'
custom_value1:
description: ________
type: string
example: ''
custom_value2:
description: ________
type: string
example: ''
custom_value3:
description: ________
type: string
example: ''
custom_value4:
description: ________
type: string
example: ''
vat_number:
description: ________
type: string
example: ''
id_number:
description: ________
type: string
example: ''
number:
description: ________
type: string
example: ''
is_deleted:
description: ________
type: boolean
example: true
last_login:
description: Timestamp
type: number
format: integer
example: '134341234234'
created_at:
description: Timestamp
type: number
format: integer
example: '134341234234'
updated_at:
description: Timestamp
type: number
format: integer
example: '134341234234'
settings:
$ref: '#/components/schemas/CompanySettings'
type: object