Fluid Company APIs (1.0)

The Fluid Company APIs provide a comprehensive set of APIs designed to integrate Fluid's powerful services into your applications seamlessly. These APIs use Company API tokens for authentication and provide full access to manage your company's resources including users, orders, products, media, and more.

For APIs that authenticate with User tokens, see the Rep APIs documentation.

Download OpenAPI description
Overview
E-mail support@fluid.app
License MIT
Languages
Servers
Mock server
https://docs.fluid.app/_mock/docs/apis/company.api/
Production server with company subdomain
https://{company}.fluid.app/
Local development server
http://fluid.lvh.me:{port}/

Activities

Operations

Admins

Operations

Agreements

Operations

Announcements

Operations

ApplePay

Operations

Application Theme Resources

Operations

Application Theme Templates

Operations

Application Themes

Operations

Authentication

Operations

Bank Accounts

Operations

Brand Guidelines

Operations

Business Types

Operations

Callback Definitions

Operations

Callback Registrations

Operations

Callback Schemas

Operations

Carts

Operations

Catch Ups

Operations

Categories

Operations

Checkout

Operations

Collections

Operations

Companies

Operations

Company Countries

Operations

Contacts

Operations

Conversations

Operations

Countries

Operations

Currencies

Operations

Customer Notes

Operations

Customer Orders

Operations

Customers

Operations

DAM Query

Operations

Dam

Operations

Default MySites

Operations

Devices

Operations

Discounts

Operations

Display Settings

Operations

Domains

Operations

Drop Zones

Operations

Droplet Categories

Operations

Droplet Installations

Operations

Droplets

Operations

Enrollment Packs

Operations

Enrollments

Operations

Entities

Operations

Events

Operations

Create Company Event

Request

Add a new event for the company with details like title, dates, location, and optional media content.

Bodyapplication/jsonrequired
eventobject(Event3)required
Example: {"title":"Type Race","description":"Fluid Type Racing Game. Winner gets all expenses paid 1 month vacation trip to Bali.","start_date":"2024-03-28","end_date":"2024-04-01","start_time":"9:56:0","end_time":"19:56:0","time_zone":"Asia/Kathmandu","url":"https://google.com","active":true,"venue":"Pokhara","available_countries":["us","in","fin"],"images_attributes":[{"image_url":"https://images.furnituredealer.net/img/products/liberty_furniture/color/double%20bridge--816253672_152-cd-gts-b6.jpg","position":1},{"image_url":"https://images.furnituredealer.net/img/products/steve_silver/color/david-1172854226_di100c-b1.jpg"}]}
event.​titlestringrequired
Example: "Type Race"
event.​descriptionstringrequired
Example: "Fluid Type Racing Game. Winner gets all expenses paid 1 month vacation trip to Bali."
event.​start_datestringrequired
Example: "2024-03-28"
event.​end_datestringrequired
Example: "2024-04-01"
event.​start_timestringrequired
Example: "9:56:0"
event.​end_timestringrequired
Example: "19:56:0"
event.​time_zonestringrequired
Example: "Asia/Kathmandu"
event.​urlstringrequired
Example: "https://google.com"
event.​activebooleanrequired
Example: true
event.​venuestringrequired
Example: "Pokhara"
event.​available_countriesArray of stringsrequired
Example: ["us","in","fin"]
event.​images_attributesArray of objects(ImagesAttribute)required
Example: [{"image_url":"https://images.furnituredealer.net/img/products/liberty_furniture/color/double%20bridge--816253672_152-cd-gts-b6.jpg","position":1},{"image_url":"https://images.furnituredealer.net/img/products/steve_silver/color/david-1172854226_di100c-b1.jpg"}]
event.​images_attributes[].​image_urlstringrequired
Example: "https://images.furnituredealer.net/img/products/liberty_furniture/color/double%20bridge--816253672_152-cd-gts-b6.jpg"
event.​images_attributes[].​positioninteger(int32)
Example: 1
curl -i -X POST \
  https://docs.fluid.app/_mock/docs/apis/company.api/api/company/events \
  -H 'Content-Type: application/json' \
  -d '{
    "event": {
      "title": "Type Race",
      "description": "Fluid Type Racing Game. Winner gets all expenses paid 1 month vacation trip to Bali.",
      "start_date": "2024-03-28",
      "end_date": "2024-04-01",
      "start_time": "9:56:0",
      "end_time": "19:56:0",
      "time_zone": "Asia/Kathmandu",
      "url": "https://google.com",
      "active": true,
      "venue": "Pokhara",
      "available_countries": [
        "us",
        "in",
        "fin"
      ],
      "images_attributes": [
        {
          "image_url": "https://images.furnituredealer.net/img/products/liberty_furniture/color/double%20bridge--816253672_152-cd-gts-b6.jpg",
          "position": 1
        },
        {
          "image_url": "https://images.furnituredealer.net/img/products/steve_silver/color/david-1172854226_di100c-b1.jpg"
        }
      ]
    }
  }'

Responses

Headers
Content-Typestring

The content type of the response

Example: "application/json"
Content-Lengthstring

The length of the response content in bytes

Example: "981"
X-Request-Idstring

A unique identifier for the request

Example: "b1b7bf86-146e-4c66-b4c6-ac6f0f9ddafa"

List Company Events

Request

Retrieves a list of events associated with the company.

curl -i -X GET \
  https://docs.fluid.app/_mock/docs/apis/company.api/api/company/events

Responses

Headers
Content-Typestring

The content type of the response

Example: "application/json"
Content-Lengthstring

The length of the response content in bytes

Example: "981"
X-Request-Idstring

A unique identifier for the request

Example: "b1b7bf86-146e-4c66-b4c6-ac6f0f9ddafa"

Update Company Event

Request

Updates the details of a specific company event

Path
eventIdintegerrequired

The unique identifier of the event to update

Bodyapplication/jsonrequired
eventobject(Event4)required
Example: {"title":"Type Race","description":"Fluid Type Racing Game. Winner gets all expense paid 1 month vacation trip to Bali. The winner will also get the salary/wages for the vacation month.","available_countries":["npl","us"]}
event.​titlestringrequired
Example: "Type Race"
event.​descriptionstringrequired
Example: "Fluid Type Racing Game. Winner gets all expense paid 1 month vacation trip to Bali. The winner will also get the salary/wages for the vacation month."
event.​available_countriesArray of stringsrequired
Example: ["npl","us"]
curl -i -X PATCH \
  'https://docs.fluid.app/_mock/docs/apis/company.api/api/company/events/{eventId}' \
  -H 'Content-Type: application/json' \
  -d '{
    "event": {
      "title": "Type Race",
      "description": "Fluid Type Racing Game. Winner gets all expense paid 1 month vacation trip to Bali. The winner will also get the salary/wages for the vacation month.",
      "available_countries": [
        "npl",
        "us"
      ]
    }
  }'

Responses

Headers
Content-Typestring

The content type of the response

Example: "application/json"
Content-Lengthstring

The length of the response content in bytes

Example: "981"
X-Request-Idstring

A unique identifier for the request

Example: "b1b7bf86-146e-4c66-b4c6-ac6f0f9ddafa"

Get Company Event Details

Request

Retrieves the details of a specific event for a company.

Path
eventIdintegerrequired

The unique identifier of the company event

curl -i -X GET \
  'https://docs.fluid.app/_mock/docs/apis/company.api/api/company/events/{eventId}'

Responses

Headers
Content-Typestring

The content type of the response

Example: "application/json"
Content-Lengthstring

The length of the response content in bytes

Example: "981"
X-Request-Idstring

A unique identifier for the request

Example: "b1b7bf86-146e-4c66-b4c6-ac6f0f9ddafa"

Delete Company Event

Request

Deletes a specific event associated with the company.

Path
eventIdintegerrequired

The unique identifier of the event to delete

curl -i -X DELETE \
  'https://docs.fluid.app/_mock/docs/apis/company.api/api/company/events/{eventId}'

Responses

Headers
Content-Typestring

The content type of the response

Example: "application/json"
Content-Lengthstring

The length of the response content in bytes

Example: "981"
X-Request-Idstring

A unique identifier for the request

Example: "b1b7bf86-146e-4c66-b4c6-ac6f0f9ddafa"

Send Event Notifications

Request

Sends notifications about an event to concerned parties based on specified countries.

Path
eventIdintegerrequired

The unique identifier of the event to send notifications for

curl -i -X GET \
  'https://docs.fluid.app/_mock/docs/apis/company.api/api/company/events/{eventId}/send_notifications'

Responses

Headers
Content-Typestring

The content type of the response

Example: "application/json"
Content-Lengthstring

The length of the response content in bytes

Example: "981"
X-Request-Idstring

A unique identifier for the request

Example: "b1b7bf86-146e-4c66-b4c6-ac6f0f9ddafa"

FairShare Order Journey

Operations

Feature Flags

Operations

File Resources

Operations

Fluid Pay

Operations

Form Elements

Operations

Forms

Operations

Global Embeds

Operations

Inventory Levels

Operations

Labels

Operations

Languages

Operations

Libraries

Operations

MCC Codes

Operations

Media

Operations

Messages

Operations

Metafield Definitions

Operations

Metafields

Operations

Mobile Widgets

Operations

Multi-Factor Authentications

Operations

Notifications

Operations

Onboarding

Operations

Onboarding Info

Operations

Order Fulfillments

Operations

Orders

Operations

Owners

Operations

Pages

Operations

Payment

Operations

Payment Accounts

Operations

Payment Integrations

Operations

Payments

Operations

Paypal

Operations

Points

Operations

Points Ledgers

Operations

Points Values

Operations

Posts

Operations

Product Bundles

Operations

Product Images

Operations

Product Subscription Plans

Operations

Products

Operations

Prompts

Operations

Public Assets

Operations

Public Companies

Operations

Public Drop Zones

Operations

Ranks

Operations

Recipients

Operations

Redirects

Operations

Refunds

Operations

Reps

Operations

Roles

Operations

Root Themes

Operations

Shares

Operations

Shop

Operations

Sitemap

Operations

Social Media

Operations

Subscription Plans

Operations

Subscriptions

Operations

System Monitoring

Operations

Tags

Operations

Tax Categories

Operations

Theme Region Rules

Operations

Tiles

Operations

Tracking Informations

Operations

Tree Nodes

Operations

Trees

Operations

Users

Operations

Variant Countries

Operations

Variant Images

Operations

Variant Inventory Levels

Operations

Variants

Operations

Warehouses

Operations

Webhook Events

Operations

Webhook Schemas

Operations

Webhooks

Operations

Webhooks Resources

Operations

affiliate

Operations

carts

Operations

checkout

Operations

enrollment-packs

Operations

events

Operations

Save a new lead capture

Request

Bodyapplication/json
leadobject(Lead)required
lead.​messagestringrequired
Example: "How are you?"
lead.​contactobject(Contact)required
lead.​contact.​idinteger(int32)required
lead.​contact.​tokenstringrequired
lead.​contact.​first_namestringrequired
lead.​contact.​last_namestringrequired
lead.​contact.​avatar_urlstringrequired
lead.​contact.​statusstringrequired
lead.​contact.​emailstringrequired
lead.​contact.​email2stringrequired
lead.​contact.​phonestringrequired
lead.​contact.​phone2stringrequired
lead.​contact.​phone_idstringrequired
lead.​contact.​addressstringrequired
lead.​contact.​address2stringrequired
lead.​contact.​citystringrequired
lead.​contact.​statestringrequired
lead.​contact.​postal_codestringrequired
lead.​contact.​language_idstringrequired
lead.​contact.​country_idstringrequired
lead.​contact.​lead_typestringrequired
lead.​contact.​ipstringrequired
lead.​contact.​requested_atstringrequired
lead.​contact.​best_timestringrequired
lead.​contact.​time_zonestringrequired
lead.​contact.​reasonstringrequired
lead.​contact.​incomestringrequired
lead.​contact.​hoursstringrequired
lead.​contact.​investstringrequired
lead.​contact.​intereststringrequired
lead.​contact.​full_namestringrequired
pageobject(UrlPage)
metadataobject(RequestMetadata)required
metadata.​fluid_shopstringrequired
Example: "myshop"
metadata.​fluid_sessionstring(/\Afs_[0-9A-Za-z&&[^0OIl]]{22}\z/)required
Example: "fs_szwdDuRbqEe7AV7sXk7vVq"
metadata.​fluid_localestring(/\A[a-z]{2}_[A-Z]{2}\z/)
Example: "en_US"
metadata.​fluid_journeystring
metadata.​attributionAttributionEmail (object) or AttributionUsername (object) or AttributionSharedGuid (object) or AttributionFluidRepId (object) or AttributionExternalId (object)(Attribution)
Any of:
curl -i -X POST \
  https://docs.fluid.app/_mock/docs/apis/company.api/api/public/v2025-06/events/leads/capture \
  -H 'Content-Type: application/json' \
  -d '{
    "lead": {
      "message": "How are you?",
      "contact": {
        "id": 6557,
        "token": "h59g4H8EExXpmNYmhq4woiMh",
        "first_name": "Bishal",
        "last_name": "Nepal",
        "avatar_url": null,
        "status": null,
        "email": "bnepal05579887@gmail.com",
        "email2": null,
        "phone": null,
        "phone2": null,
        "phone_id": null,
        "address": null,
        "address2": null,
        "city": null,
        "state": null,
        "postal_code": null,
        "language_id": null,
        "country_id": null,
        "lead_type": null,
        "ip": null,
        "requested_at": null,
        "best_time": null,
        "time_zone": null,
        "reason": null,
        "income": null,
        "hours": null,
        "invest": null,
        "interest": null,
        "full_name": "Bishal Nepal"
      }
    },
    "page": {
      "url": "https://www.example.com/page",
      "title": "Example Page",
      "description": "This is an example page",
      "image": "https://www.example.com/page.jpg"
    },
    "metadata": {
      "fluid_shop": "myshop",
      "fluid_session": "fs_szwdDuRbqEe7AV7sXk7vVq",
      "fluid_locale": "en_US",
      "fluid_journey": "string",
      "attribution": {
        "email": "salesrep@example.com"
      }
    }
  }'

Responses

lead captured

Bodyapplication/json
statusnumberrequired
Example: 201
metadataobject(ResponseMetadata)required
Example: {"fluid_shop":"myshop","fluid_session":"fs_szwdDuRbqEe7AV7sXk7vVq","request_uuid":"123e4567-e89b-12d3-a456-426614174000","timestamp":"2025-01-01T00:00:00Z"}
metadata.​fluid_shopstringrequired
Example: "myshop"
metadata.​fluid_sessionstringrequired
Example: "fs_szwdDuRbqEe7AV7sXk7vVq"
metadata.​fluid_localestring or null(/\A[a-z]{2}_[A-Z]{2}\z/)
Example: "en_US"
metadata.​request_uuidstring(uuid)required
Example: "123e4567-e89b-12d3-a456-426614174000"
metadata.​timestampstringrequired
Example: "2025-01-01T00:00:00Z"
Response
application/json
{ "status": 201, "metadata": { "fluid_shop": "string", "fluid_session": "string", "fluid_locale": "en_US", "request_uuid": "a699086b-c336-457e-9191-0c825d6efbc8", "timestamp": "string" } }

Save a new url visit

Request

Bodyapplication/json
pageobject(UrlPage)required
page.​urlstring(uri)required
Example: "https://www.example.com/page"
page.​titlestring
Example: "Example Page"
page.​descriptionstring
Example: "This is an example page"
page.​imagestring(uri)
Example: "https://www.example.com/page.jpg"
metadataobject(RequestMetadata)required
metadata.​fluid_shopstringrequired
Example: "myshop"
metadata.​fluid_sessionstring(/\Afs_[0-9A-Za-z&&[^0OIl]]{22}\z/)required
Example: "fs_szwdDuRbqEe7AV7sXk7vVq"
metadata.​fluid_localestring(/\A[a-z]{2}_[A-Z]{2}\z/)
Example: "en_US"
metadata.​fluid_journeystring
metadata.​attributionAttributionEmail (object) or AttributionUsername (object) or AttributionSharedGuid (object) or AttributionFluidRepId (object) or AttributionExternalId (object)(Attribution)
Any of:
curl -i -X POST \
  https://docs.fluid.app/_mock/docs/apis/company.api/api/public/v2025-06/events/urls/visit \
  -H 'Content-Type: application/json' \
  -d '{
    "page": {
      "url": "https://www.example.com/page",
      "title": "Example Page",
      "description": "This is an example page",
      "image": "https://www.example.com/page.jpg"
    },
    "metadata": {
      "fluid_shop": "myshop",
      "fluid_session": "fs_szwdDuRbqEe7AV7sXk7vVq",
      "fluid_locale": "en_US",
      "fluid_journey": "string",
      "attribution": {
        "email": "salesrep@example.com"
      }
    }
  }'

Responses

page visited

Bodyapplication/json
statusnumberrequired
Example: 201
metadataobject(ResponseMetadata)required
Example: {"fluid_shop":"myshop","fluid_session":"fs_szwdDuRbqEe7AV7sXk7vVq","request_uuid":"123e4567-e89b-12d3-a456-426614174000","timestamp":"2025-01-01T00:00:00Z"}
metadata.​fluid_shopstringrequired
Example: "myshop"
metadata.​fluid_sessionstringrequired
Example: "fs_szwdDuRbqEe7AV7sXk7vVq"
metadata.​fluid_localestring or null(/\A[a-z]{2}_[A-Z]{2}\z/)
Example: "en_US"
metadata.​request_uuidstring(uuid)required
Example: "123e4567-e89b-12d3-a456-426614174000"
metadata.​timestampstringrequired
Example: "2025-01-01T00:00:00Z"
Response
application/json
{ "status": 201, "metadata": { "fluid_shop": "string", "fluid_session": "string", "fluid_locale": "en_US", "request_uuid": "a699086b-c336-457e-9191-0c825d6efbc8", "timestamp": "string" } }

Save a new page visitDeprecated

Request

Bodyapplication/json
pageobject(UrlPage)required
page.​urlstring(uri)required
Example: "https://www.example.com/page"
page.​titlestring
Example: "Example Page"
page.​descriptionstring
Example: "This is an example page"
page.​imagestring(uri)
Example: "https://www.example.com/page.jpg"
metadataobject(RequestMetadata)required
metadata.​fluid_shopstringrequired
Example: "myshop"
metadata.​fluid_sessionstring(/\Afs_[0-9A-Za-z&&[^0OIl]]{22}\z/)required
Example: "fs_szwdDuRbqEe7AV7sXk7vVq"
metadata.​fluid_localestring(/\A[a-z]{2}_[A-Z]{2}\z/)
Example: "en_US"
metadata.​fluid_journeystring
metadata.​attributionAttributionEmail (object) or AttributionUsername (object) or AttributionSharedGuid (object) or AttributionFluidRepId (object) or AttributionExternalId (object)(Attribution)
Any of:
curl -i -X POST \
  https://docs.fluid.app/_mock/docs/apis/company.api/api/public/v2025-06/events/pages/visit \
  -H 'Content-Type: application/json' \
  -d '{
    "page": {
      "url": "https://www.example.com/page",
      "title": "Example Page",
      "description": "This is an example page",
      "image": "https://www.example.com/page.jpg"
    },
    "metadata": {
      "fluid_shop": "myshop",
      "fluid_session": "fs_szwdDuRbqEe7AV7sXk7vVq",
      "fluid_locale": "en_US",
      "fluid_journey": "string",
      "attribution": {
        "email": "salesrep@example.com"
      }
    }
  }'

Responses

page visited

Bodyapplication/json
statusnumberrequired
Example: 201
metadataobject(ResponseMetadata)required
Example: {"fluid_shop":"myshop","fluid_session":"fs_szwdDuRbqEe7AV7sXk7vVq","request_uuid":"123e4567-e89b-12d3-a456-426614174000","timestamp":"2025-01-01T00:00:00Z"}
metadata.​fluid_shopstringrequired
Example: "myshop"
metadata.​fluid_sessionstringrequired
Example: "fs_szwdDuRbqEe7AV7sXk7vVq"
metadata.​fluid_localestring or null(/\A[a-z]{2}_[A-Z]{2}\z/)
Example: "en_US"
metadata.​request_uuidstring(uuid)required
Example: "123e4567-e89b-12d3-a456-426614174000"
metadata.​timestampstringrequired
Example: "2025-01-01T00:00:00Z"
Response
application/json
{ "status": 201, "metadata": { "fluid_shop": "string", "fluid_session": "string", "fluid_locale": "en_US", "request_uuid": "a699086b-c336-457e-9191-0c825d6efbc8", "timestamp": "string" } }

fingerprint

Operations

lead

Operations

media

Operations

page

Operations

playlist

Operations

product

Operations

session

Operations

settings

Operations

url

Operations

widgets

Operations