invoiceninja/openapi/components/schemas/location.yaml

84 lines
2.5 KiB
YAML

Location:
properties:
id:
description: 'The location hashed id'
type: string
example: Kd5S2M
name:
description: 'The location name'
type: string
example: 'Warehouse A'
address1:
description: 'The first line of the address'
type: string
example: '123 Business Street'
address2:
description: 'The second line of the address'
type: string
example: 'Suite 100'
city:
description: 'The city name'
type: string
example: 'San Francisco'
state:
description: 'The state or region'
type: string
example: 'CA'
postal_code:
description: 'The postal or zip code'
type: string
example: '94107'
country_id:
description: 'The ID of the associated country'
type: string
example: '840'
custom_value1:
description: 'Custom field value 1'
type: string
nullable: true
custom_value2:
description: 'Custom field value 2'
type: string
nullable: true
custom_value3:
description: 'Custom field value 3'
type: string
nullable: true
custom_value4:
description: 'Custom field value 4'
type: string
nullable: true
is_deleted:
description: 'Indicates if the location has been deleted'
type: boolean
example: false
is_shipping_location:
description: 'Indicates if this is a shipping location'
type: boolean
example: true
user_id:
description: 'The user hashed id'
type: string
example: Opnel5aKBz
readOnly: true
assigned_user_id:
description: 'The assigned user hashed id'
type: string
example: Opnel5aKBz
client_id:
description: 'The client hashed id'
type: string
example: Opnel5aKBz
vendor_id:
description: 'The vendor hashed id'
type: string
example: Opnel5aKBz
created_at:
description: 'Timestamp of when the location was created'
type: integer
example: 1623456789
updated_at:
description: 'Timestamp of when the location was last updated'
type: integer
example: 1623456999
type: object