Schema
Outlet
Represents an outlet that has been created within the platform.
Overview
Properties
uuid
The outlet's unique identifier.
uuid
Yes
name
The name of the outlet.
Barry's Burgers
1
255
locality
The locality of the outlet (if any).
Downtown One
1
255
Yes
logo
Yes
Yes
One of
One of 1
One of 2
References Media.
logo_uuid
The UUID of the media file that should be linked as the outlet's logo. The referenced media file must be an image and exactly 1024 x 1024 pixels. Supplying a value of `null` will unlink any existing logo.
uuid
Yes
contact_number
References Phone Number.
address
References Address.
currency_code
The ISO 4217 alpha-3 currency code associated with the outlet.
SGD
3
3
Yes
timezone
The timezone that the outlet operates in.
Asia/Singapore
1
255
Yes
industry_type
Yes
One of
One of 1
One of 2
References Industry Type.
email_address
The customer-facing email address for the outlet.
email
Yes
outlet_code
The merchant-controlled identifier for this outlet.
YQ-STORE1
Yes
bio
The customer-facing bio for the outlet.
We make really, really great burgers.
1
10000
Yes
online_payment_gateway
The online payment gateway configured for the outlet, if any.
Yes
One of
One of 1
One of 2
References Online Payment Gateway.
merchant_uuid
The unique identifier of the merchant that owns this outlet.
uuid
Yes
created_at
The date-time that the outlet was first created.
date-time
Yes
Used by
Raw YAML
title: Outlet
type: object
description: Represents an outlet that has been created within the platform.
x-tags:
- Models
properties:
uuid:
type: string
format: uuid
description: The outlet's unique identifier.
readOnly: true
name:
type: string
minLength: 1
maxLength: 255
description: The name of the outlet.
example: Barry's Burgers
locality:
type:
- string
- 'null'
minLength: 1
maxLength: 255
example: Downtown One
description: The locality of the outlet (if any).
logo:
oneOf:
- type: 'null'
- $ref: ./Media.yaml
readOnly: true
logo_uuid:
type:
- string
- 'null'
format: uuid
description: |-
The UUID of the media file that should be linked as the outlet's logo.
The referenced media file must be an image and exactly 1024 x 1024 pixels.
Supplying a value of `null` will unlink any existing logo.
contact_number:
$ref: ./PhoneNumber.yaml
address:
$ref: ./Address.yaml
currency_code:
type: string
minLength: 3
maxLength: 3
example: SGD
description: The ISO 4217 alpha-3 currency code associated with the outlet.
readOnly: true
timezone:
type: string
minLength: 1
maxLength: 255
description: The timezone that the outlet operates in.
example: Asia/Singapore
readOnly: true
industry_type:
oneOf:
- type: 'null'
- $ref: ./IndustryType.yaml
email_address:
type:
- string
- 'null'
format: email
description: The customer-facing email address for the outlet.
outlet_code:
type:
- string
- 'null'
description: The merchant-controlled identifier for this outlet.
example: YQ-STORE1
bio:
type:
- string
- 'null'
minLength: 1
description: The customer-facing bio for the outlet.
maxLength: 10000
example: 'We make really, really great burgers.'
online_payment_gateway:
oneOf:
- type: 'null'
- $ref: ./OnlinePaymentGateway.yaml
description: The online payment gateway configured for the outlet, if any.
merchant_uuid:
type: string
format: uuid
readOnly: true
description: The unique identifier of the merchant that owns this outlet.
created_at:
type: string
format: date-time
description: The date-time that the outlet was first created.
readOnly: true