> For the complete documentation index, see [llms.txt](https://docs.liquidcommerce.cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.liquidcommerce.cloud/types/retailer.md). Agents can also search and read this documentation through its [MCP server](https://docs.liquidcommerce.cloud/~gitbook/mcp).

# Retailer

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

### RetailerType

<table><thead><tr><th width="293">Attribute</th><th>Description</th></tr></thead><tbody><tr><td><strong>id: </strong><mark style="color:blue;"><strong>string</strong></mark></td><td>retailer identifier</td></tr><tr><td><strong>name: </strong><mark style="color:blue;"><strong>string</strong></mark></td><td>retailers name, <em>ex: Liquid Wine and Spirits</em></td></tr><tr><td><strong>platformFee: </strong><mark style="color:blue;"><strong>number</strong></mark><strong> </strong><mark style="color:orange;"><strong>[optional]</strong></mark> </td><td>LiquidCommerce application fee per retailer</td></tr><tr><td><strong>address:</strong> <a href="#retaileraddress"><mark style="color:purple;"><strong>RetailerAddress</strong></mark></a> <mark style="color:orange;"><strong>[optional]</strong></mark></td><td>location information split out to individual values for the street, city, state, zip code, country, latitude and longitude</td></tr><tr><td><strong>fulfillments: </strong><mark style="color:purple;"><strong>Array&#x3C;</strong></mark><a href="#retailerfulfillment"><mark style="color:blue;"><strong>RetailerF</strong></mark></a><a href="#retailerfulfillment"><mark style="color:blue;"><strong>ulfillment</strong></mark></a><mark style="color:purple;"><strong>></strong></mark></td><td>retailer available fulfillment configurations</td></tr></tbody></table>

### RetailerAddress

<table><thead><tr><th width="293">Attribute</th><th>Description</th></tr></thead><tbody><tr><td><strong>id: </strong><mark style="color:blue;"><strong>string</strong></mark><strong> </strong><mark style="color:orange;"><strong>[optional]</strong></mark></td><td>identifier of the address</td></tr><tr><td><strong>one: </strong><mark style="color:blue;"><strong>string</strong></mark></td><td>retailer street address</td></tr><tr><td><strong>two: </strong><mark style="color:blue;"><strong>string</strong></mark> </td><td>retailer apt, suite, floor, etc</td></tr><tr><td><strong>city: </strong><mark style="color:blue;"><strong>string</strong></mark> </td><td>retailer city</td></tr><tr><td><strong>state: </strong><mark style="color:blue;"><strong>string</strong></mark> </td><td>retailer state, you can use either 2 letter code or the full name</td></tr><tr><td><strong>zip: </strong><mark style="color:blue;"><strong>string</strong></mark> </td><td>retailer zip code</td></tr><tr><td><strong>country: </strong><mark style="color:blue;"><strong>string</strong></mark> </td><td>retailer country where the address is located</td></tr><tr><td><strong>lat: </strong><mark style="color:blue;"><strong>number</strong></mark> </td><td>retailer latitude, ex: 40.744860</td></tr><tr><td><strong>long: </strong><mark style="color:blue;"><strong>number</strong></mark> </td><td>retailer longitude, ex:  -73.985314</td></tr></tbody></table>

### RetailerFulfillment

<table><thead><tr><th width="318">Attribute</th><th>Description</th></tr></thead><tbody><tr><td><strong>id: </strong><mark style="color:blue;"><strong>string</strong></mark></td><td>fulfillment identifier</td></tr><tr><td><strong>type:</strong> <a href="https://docs.liquidcommerce.cloud/types/catalog-filters.md#modalities"><mark style="color:blue;"><strong>Modalities</strong></mark></a></td><td>fulfillment type, <em>ex:</em>  <code>onDemand | shipping</code> </td></tr><tr><td><strong>canEngrave: </strong><mark style="color:blue;"><strong>boolean</strong></mark></td><td>indicates whether the retailer support engraving services </td></tr><tr><td><strong>deliveryFee: </strong><mark style="color:blue;"><strong>number</strong></mark><strong> </strong><mark style="color:orange;"><strong>[optional]</strong></mark></td><td>specific delivery fee for this fulfillment</td></tr><tr><td><strong>shippingFee: </strong><mark style="color:blue;"><strong>number</strong></mark><strong> </strong><mark style="color:orange;"><strong>[optional]</strong></mark></td><td>specific shipping fee for this fulfillment</td></tr><tr><td><strong>engravingFee: </strong><mark style="color:blue;"><strong>number</strong></mark><strong> </strong><mark style="color:orange;"><strong>[optional]</strong></mark></td><td>specific engraving fee for this fulfillment</td></tr><tr><td><strong>platformFee: </strong><mark style="color:blue;"><strong>number</strong></mark><strong> </strong><mark style="color:orange;"><strong>[optional]</strong></mark></td><td>platform fee for this fulfillment</td></tr><tr><td><strong>subtotal: </strong><mark style="color:blue;"><strong>number</strong></mark><strong> </strong><mark style="color:orange;"><strong>[optional]</strong></mark></td><td>Subtotal for items in this fulfillment</td></tr><tr><td><strong>timezone: </strong><mark style="color:blue;"><strong>string</strong></mark><strong> </strong><mark style="color:orange;"><strong>[optiona]</strong></mark></td><td>timezone associated with the fulfillment</td></tr><tr><td><strong>fees:</strong> <a href="#feeshipping"><mark style="color:purple;"><strong>FeeShipping</strong></mark></a> <mark style="color:purple;"><strong>|</strong></mark> <a href="#feedelivery"><mark style="color:purple;"><strong>FeeDelivery</strong></mark></a></td><td>fulfillment's fee configurations, if the fulfillment type is <strong>shipping(</strong><a href="#feeshipping"><mark style="color:purple;"><strong>Fee</strong></mark></a><a href="#feeshipping"><mark style="color:purple;"><strong>Shipping</strong></mark></a><strong>)</strong>, if the fulfillment type is <strong>onDemand(</strong><a href="#feedelivery"><mark style="color:purple;"><strong>FeeDelivery</strong></mark></a><strong>)</strong></td></tr><tr><td><strong>expectation:</strong> <a href="#expectation"><mark style="color:purple;"><strong>Expectation</strong></mark></a></td><td>fulfillment's expectation configurations</td></tr><tr><td><strong>hours:</strong> <a href="#hours"><mark style="color:purple;"><strong>Hours</strong></mark></a></td><td>fulfillment's hours configurations</td></tr><tr><td><strong>breaks</strong>: <mark style="color:purple;"><strong>Array&#x3C;</strong></mark><a href="#time"><mark style="color:blue;"><strong>Time</strong></mark></a><mark style="color:purple;"><strong>></strong></mark></td><td>the breaks within the working hours</td></tr><tr><td><strong>items: </strong><mark style="color:purple;"><strong>Array&#x3C;</strong><strong>string</strong><strong>></strong></mark></td><td>fulfillment's item ids</td></tr><tr><td><strong>doesAllowPromos</strong>: <mark style="color:blue;"><strong>boolean</strong></mark></td><td>indicates whether the retailer per fulfillment level support promo codes for cart &#x26; checkout</td></tr><tr><td><strong>doesAllowGiftCards</strong>: <mark style="color:blue;"><strong>boolean</strong></mark></td><td>indicates whether the retailer per fulfillment level support gift cards for checkout</td></tr><tr><td><strong>productTypesAllowed: </strong><mark style="color:purple;"><strong>Array&#x3C;</strong><strong>string</strong><strong>></strong></mark></td><td>list of fulfillment categories allowed</td></tr></tbody></table>

### FeeDelivery

<table><thead><tr><th width="280">Attribute</th><th>Description</th></tr></thead><tbody><tr><td><strong>min: </strong><mark style="color:blue;"><strong>number</strong></mark></td><td>the minimum subtotal that must be met for the order to be placed</td></tr><tr><td><strong>fee: </strong><mark style="color:blue;"><strong>number</strong></mark></td><td>the fee for the fulfillment service, <em>ex: 1500</em></td></tr><tr><td><strong>free:</strong> <a href="#freedelivery"><mark style="color:purple;"><strong>FreeDelivery</strong></mark></a></td><td>conditions for free delivery</td></tr></tbody></table>

### FeeShipping

<table><thead><tr><th width="294">Attribute</th><th>Description</th></tr></thead><tbody><tr><td><strong>pack:</strong> <a href="#feeshippingconfig"><mark style="color:purple;"><strong>FeeShippingConfig</strong></mark></a></td><td>the shipping fee configurations for pack items</td></tr><tr><td><strong>individual:</strong> <a href="#feeshippingconfig"><mark style="color:purple;"><strong>FeeShippingConfig</strong></mark></a></td><td>the shipping fee configurations for individual items</td></tr><tr><td><strong>free:</strong> <a href="#freedelivery"><mark style="color:purple;"><strong>FreeDelivery</strong></mark></a></td><td>conditions for free delivery</td></tr></tbody></table>

### FeeShippingConfig

<table><thead><tr><th width="280">Attribute</th><th>Description</th></tr></thead><tbody><tr><td><strong>fee: </strong><mark style="color:blue;"><strong>number</strong></mark></td><td>The fee for the fulfillment service, <em>ex: 1500</em></td></tr><tr><td><strong>active: </strong><mark style="color:blue;"><strong>boolean</strong></mark></td><td>The status of of the fulfillment shipping method</td></tr><tr><td><strong>min: </strong><mark style="color:blue;"><strong>number</strong></mark></td><td>The min item total required to checkout</td></tr><tr><td><strong>maxQuantity: </strong><mark style="color:blue;"><strong>number</strong></mark></td><td>The maximum number of products allowed</td></tr></tbody></table>

### FreeDelivery

<table><thead><tr><th width="282">Attribute</th><th>Description</th></tr></thead><tbody><tr><td><strong>active: </strong><mark style="color:blue;"><strong>boolean</strong></mark></td><td>whether free delivery is available</td></tr><tr><td><strong>min: </strong><mark style="color:blue;"><strong>number</strong></mark></td><td>minimum purchase amount for free delivery</td></tr></tbody></table>

### Expectation

<table><thead><tr><th width="288">Attribute</th><th>Description</th></tr></thead><tbody><tr><td><strong>detail: </strong><mark style="color:blue;"><strong>string</strong></mark></td><td>detailed expectation of fulfillment, <em>ex: Ships in 3 days</em></td></tr><tr><td><strong>short: </strong><mark style="color:blue;"><strong>string</strong></mark></td><td>short expectation of fulfillment, <em>ex: 3 days</em></td></tr><tr><td><strong>engraving</strong>: <mark style="color:blue;"><strong>string</strong></mark></td><td>detailed expectation of engravable shipping fulfillment, ex: Ships in 10 days</td></tr></tbody></table>

{% hint style="info" %}
Note: `engraving` attribute will be returned only for shipping fulfillments and not onDemand.
{% endhint %}

### Hours

<table><thead><tr><th width="400">Attribute</th><th>Description</th></tr></thead><tbody><tr><td><p><strong>[DayOfWeek]:</strong> <a href="#dayconfigs"><mark style="color:purple;"><strong>DayConfig</strong></mark></a></p><pre class="language-javascript"><code class="lang-javascript">enum DAY_OF_WEEK {
  MONDAY = 'monday',
  TUESDAY = 'tuesday',
  WEDNESDAY = 'wednesday',
  THURSDAY = 'thursday',
  FRIDAY = 'friday',
  SATURDAY = 'saturday',
  SUNDAY = 'sunday'
}
</code></pre></td><td><p>hours of operations for each day of the week, <em>ex:</em> </p><pre class="language-json"><code class="lang-json">"monday": {
  "active": true,
  "times": [ 
    {
      "startsAt": "00:00", 
      "endsAt": "23:59"
    } 
  ]
}
</code></pre></td></tr></tbody></table>

### DayConfigs

<table><thead><tr><th width="296">Attribute</th><th>Description</th></tr></thead><tbody><tr><td><strong>active: </strong><mark style="color:blue;"><strong>boolean</strong></mark></td><td>whether the day is available for scheduling</td></tr><tr><td><strong>times: </strong><mark style="color:purple;"><strong>Array&#x3C;</strong></mark><a href="#time"><mark style="color:blue;"><strong>Time</strong></mark></a><mark style="color:purple;"><strong>></strong></mark></td><td><p>the times available for scheduling, ex: </p><pre class="language-json"><code class="lang-json">"times": [ 
  {
    "startsAt": "00:00", 
    "endsAt": "23:59"
  } 
]
</code></pre></td></tr></tbody></table>

### Time

<table><thead><tr><th width="294">Attribute</th><th>Description</th></tr></thead><tbody><tr><td><strong>startsAt: </strong><mark style="color:blue;"><strong>string</strong></mark></td><td>the expected start time for the day, <em>ex: 08:30</em></td></tr><tr><td><strong>endsAt: </strong><mark style="color:blue;"><strong>string</strong></mark></td><td>the expected end time for the day, <em>ex: 23:00</em></td></tr></tbody></table>

### Sample `retailer`

<details>

<summary>Retailer Object</summary>

```json
[
    {
            "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,
                    "doesAllowPromos": false,
                    "doesAllowGiftCards": false,
                    "productTypesAllowed": [],
                    "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": []
                }
            ]
        }
]
```

</details>
