LogoLogo
  • LiquidCommerce Documentation
  • πŸ”Authentication API Integration
    • Get Access Token
  • Services
    • πŸ—ΊοΈAddress API
      • Autocomplete
      • Details
    • πŸ‘₯Users API
      • Session
      • Fetch User
      • Delete User
      • Create/Update Address
      • Delete Address
      • Add Payment
      • Update Default Payment
      • Delete Payment
    • πŸ—ƒοΈCatalog API
      • Search
      • Availability
    • πŸ›’Cart API
      • Create/Update Cart
    • πŸ›οΈCheckout API
      • Prepare
      • Complete
    • πŸ“Orders API
      • Authentication
      • Get Order
  • CLOUD SDK
    • Overview
    • Methods & Usage
  • EVENTS & ERRORS
    • Overview
    • Cart Events
    • Checkout Status Codes
  • EVENT BRIDGE (WEBHOOKS)
    • Orders
  • Types
    • Loc
    • Catalog
    • Catalog Filters
    • Product
    • Cart
    • User
    • Retailer
    • Checkout
    • Order
Powered by GitBook
On this page
  • RetailerType
  • RetailerAddress
  • RetailerFulfillment
  • FeeDelivery
  • FeeShipping
  • FeeShippingConfig
  • FreeDelivery
  • Expectation
  • Hours
  • DayConfigs
  • Time
  • Sample retailer
Export as PDF
  1. Types

Retailer

A full reference to a retailer type for different Liquid Commerce APIs.

RetailerType

Attribute
Description

id: string

retailer identifier

name: string

retailers name, ex: Liquid Wine and Spirits

platformFee: number [optional]

LiquidCommerce application fee per retailer

location information split out to individual values for the street, city, state, zip code, country, latitude and longitude

retailer available fulfillment configurations

RetailerAddress

Attribute
Description

id: string [optional]

identifier of the address

one: string

retailer street address

two: string

retailer apt, suite, floor, etc

city: string

retailer city

state: string

retailer state, you can use either 2 letter code or the full name

zip: string

retailer zip code

country: string

retailer country where the address is located

lat: number

retailer latitude, ex: 40.744860

long: number

retailer longitude, ex: -73.985314

RetailerFulfillment

Attribute
Description

id: string

fulfillment identifier

fulfillment type, ex: onDemand | shipping

canEngrave: boolean

indicates whether the retailer support engraving services

deliveryFee: number [optional]

specific delivery fee for this fulfillment

shippingFee: number [optional]

specific shipping fee for this fulfillment

engravingFee: number [optional]

specific engraving fee for this fulfillment

subtotal: number [optional]

Subtotal for items in this fulfillment

timezone: string [optiona]

timezone associated with the fulfillment

fulfillment's expectation configurations

fulfillment's hours configurations

the breaks within the working hours

items: Array<string>

fulfillment's item ids

productTypeAllowed: Array<string>

list of fulfillment categories allowed

FeeDelivery

Attribute
Description

min: number

the minimum subtotal that must be met for the order to be placed

fee: number

the fee for the fulfillment service, ex: 1500

conditions for free delivery

FeeShipping

Attribute
Description

the shipping fee configurations for pack items

the shipping fee configurations for individual items

conditions for free delivery

FeeShippingConfig

Attribute
Description

fee: number

The fee for the fulfillment service, ex: 1500

active: boolean

The status of of the fulfillment shipping method

min: number

The min item total required to checkout

maxQuantity: number

The maximum number of products allowed

FreeDelivery

Attribute
Description

active: boolean

whether free delivery is available

min: number

minimum purchase amount for free delivery

Expectation

Attribute
Description

detail: string

detailed expectation of fulfillment, ex: Ships in 3 days

short: string

short expectation of fulfillment, ex: 3 days

Hours

Attribute
Description

hours of operations for each day of the week, ex:

DayConfigs

Attribute
Description

active: boolean

whether the day is available for scheduling

the times available for scheduling, ex:

Time

Attribute
Description

startsAt: string

the expected start time for the day, ex: 08:30

endsAt: string

the expected end time for the day, ex: 23:00

Sample retailer

Retailer Object
[
    {
            "id": "retailerId_123abc123abc",
            "name": "Cheers On Demand",
            "platformFee": 499,
            "address": {
                "one": "867 Fillmore St",
                "two": "",
                "city": "San Francisco",
                "state": "CA",
                "zip": "94117",
                "country": "US"
            },
            "fulfillments": [
                {
                    "id": "6570c3ec700628ce1910c155",
                    "timezone": "America/Los_Angeles",
                    "type": "onDemand",
                    "canEngrave": false,
                    "fees": {
                        "min": 2500,
                        "fee": 0,
                        "free": {
                            "active": false,
                            "min": 2500
                        }
                    },
                    "expectation": {
                        "detail": "Arrives in 60 mins",
                        "short": "60 mins"
                    },
                    "hours": {
                        "monday": {
                            "active": true,
                            "times": [
                                {
                                    "startsAt": "08:00",
                                    "endsAt": "23:30"
                                }
                            ]
                        },
                        "tuesday": {
                            "active": true,
                            "times": [
                                {
                                    "startsAt": "08:00",
                                    "endsAt": "23:30"
                                }
                            ]
                        },
                        "wednesday": {
                            "active": true,
                            "times": [
                                {
                                    "startsAt": "08:00",
                                    "endsAt": "23:30"
                                }
                            ]
                        },
                        "thursday": {
                            "active": true,
                            "times": [
                                {
                                    "startsAt": "08:00",
                                    "endsAt": "23:30"
                                }
                            ]
                        },
                        "friday": {
                            "active": true,
                            "times": [
                                {
                                    "startsAt": "08:00",
                                    "endsAt": "23:30"
                                }
                            ]
                        },
                        "saturday": {
                            "active": true,
                            "times": [
                                {
                                    "startsAt": "08:00",
                                    "endsAt": "23:59"
                                }
                            ]
                        },
                        "sunday": {
                            "active": true,
                            "times": [
                                {
                                    "startsAt": "08:00",
                                    "endsAt": "23:59"
                                }
                            ]
                        }
                    },
                    "breaks": [],
                    "items": []
                }
            ]
        }
]
PreviousUserNextCheckout

Last updated 5 months ago

address: [optional]

fulfillments: Array<>

type:

fees: |

fulfillment's fee configurations, if the fulfillment type is shipping(), if the fulfillment type is onDemand()

expectation:

hours:

breaks: Array<>

free:

pack:

individual:

free:

[DayOfWeek]:

times: Array<>

enum DAY_OF_WEEK {
  MONDAY = 'monday',
  TUESDAY = 'tuesday',
  WEDNESDAY = 'wednesday',
  THURSDAY = 'thursday',
  FRIDAY = 'friday',
  SATURDAY = 'saturday',
  SUNDAY = 'sunday'
}
"monday": {
  "active": true,
  "times": [ 
    {
      "startsAt": "00:00", 
      "endsAt": "23:59"
    } 
  ]
}
"times": [ 
  {
    "startsAt": "00:00", 
    "endsAt": "23:59"
  } 
]
RetailerAddress
RetailerFulfillment
Modalities
FeeShipping
FeeDelivery
Fee
Shipping
FeeDelivery
Expectation
Hours
Time
FreeDelivery
FeeShippingConfig
FeeShippingConfig
FreeDelivery
DayConfig
Time