iglooX DocsDevelopers

Schema

Outlet

Represents an outlet that has been created within the platform.

  • Models

Overview

object · 16 properties · 0 required

Properties

uuid

string

The outlet's unique identifier.

Format uuid
Read only Yes

name

string

The name of the outlet.

Example Barry's Burgers
Min length 1
Max length 255

locality

string | null

The locality of the outlet (if any).

Example Downtown One
Min length 1
Max length 255
Nullable Yes

logo_uuid

string | null

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.

Format uuid
Nullable Yes

contact_number

reference

References Phone Number.

address

reference

References Address.

currency_code

string

The ISO 4217 alpha-3 currency code associated with the outlet.

Example SGD
Min length 3
Max length 3
Read only Yes

timezone

string

The timezone that the outlet operates in.

Example Asia/Singapore
Min length 1
Max length 255
Read only Yes

industry_type

oneOf
Nullable Yes
One of

One of 1

null

One of 2

reference

References Industry Type.

email_address

string | null

The customer-facing email address for the outlet.

Format email
Nullable Yes

outlet_code

string | null

The merchant-controlled identifier for this outlet.

Example YQ-STORE1
Nullable Yes

bio

string | null

The customer-facing bio for the outlet.

Example We make really, really great burgers.
Min length 1
Max length 10000
Nullable Yes

online_payment_gateway

oneOf

The online payment gateway configured for the outlet, if any.

Nullable Yes
One of

One of 1

null

One of 2

reference

References Online Payment Gateway.

merchant_uuid

string

The unique identifier of the merchant that owns this outlet.

Format uuid
Read only Yes

created_at

string

The date-time that the outlet was first created.

Format date-time
Read only Yes

Used by

Raw YAML
Download source
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

Search documentation

Search across this documentation site.