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

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

Create a product bundle

Request

Creates a new product bundle for a product

Path
product_idintegerrequired

Product ID

Example: 1
Bodyapplication/json
bundled_variant_idintegerrequired
Example: 123
quantityintegerrequired
Example: 2
display_externallyboolean
Example: true
curl -i -X POST \
  'https://docs.fluid.app/_mock/docs/apis/company.api/api/company/v1/products/{product_id}/product_bundles' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "bundled_variant_id": 123,
    "quantity": 2,
    "display_externally": true
  }'

Responses

Product bundle created

Bodyapplication/json
product_bundleobject(ProductBundle)required
product_bundle.​idintegerrequired
product_bundle.​quantityinteger>= 1required
Default 1
product_bundle.​tax_percentagenumber or string or null[ 0.01 .. 100 ]
product_bundle.​display_externallyboolean or null
Default true
product_bundle.​bundled_variantobject(Variant)required
product_bundle.​bundled_variant.​idintegerrequired
product_bundle.​bundled_variant.​titlestring or null
Example: "Variant 1"
product_bundle.​bundled_variant.​image_urlstring or null
Example: "https://via.placeholder.com/150"
product_bundle.​bundled_variant.​image_pathstring or null
Example: "https://via.placeholder.com/150"
product_bundle.​bundled_variant.​skustring or null
Example: "SKU-123456"
product_bundle.​bundled_variant.​primary_imagestring or null
Example: "https://via.placeholder.com/150"
product_bundle.​bundled_variant.​pricenumber or string or null
Example: 100
product_bundle.​bundled_variant.​price_in_currencystringrequired
Example: "USD 100.00"
product_bundle.​bundled_variant.​optionsArray of objectsrequired
product_bundle.​bundled_variant.​options[].​titlestring
Example: "Size"
product_bundle.​bundled_variant.​options[].​valuestring
Example: "XL"
product_bundle.​bundled_variant.​productobject(Product)required
product_bundle.​bundled_variant.​product.​idintegerrequired
product_bundle.​bundled_variant.​product.​titlestringrequired
product_bundle.​bundled_variant.​product.​image_urlstring or null
product_bundle.​bundled_variant.​product.​image_pathstring or null
product_bundle.​bundled_variant.​product.​cvinteger or null
Default 0
product_bundle.​bundled_variant.​product.​taxnumber or string or null
Default "0.0"
product_bundle.​bundled_variant.​product.​skustring or null
product_bundle.​bundled_variant.​product.​metadataobjectrequired
Default "{}"
product_bundle.​bundled_variant.​product.​external_idstring or null
product_bundle.​bundled_variant.​product.​pricenumber or string or null[ 0 .. 99999999 ]
Default "0.0"
product_bundle.​bundled_variant.​product.​introductionstring or null
product_bundle.​bundled_variant.​product.​price_in_currencystringrequired
product_bundle.​bundled_variant.​product.​tax_in_currencystringrequired
product_bundle.​bundled_variant.​product.​cv_in_currencystringrequired
product_bundle.​bundled_variant.​product.​metafieldsArray of objects(LegacyMetafield)required
product_bundle.​bundled_variant.​product.​metafields[].​idintegerrequired
product_bundle.​bundled_variant.​product.​metafields[].​namespacestring<= 20 characters^[a-zA-Z0-9_]+$required

A container for related metafields. Commonly used to group metafields by app or functionality.

Example: "custom"
product_bundle.​bundled_variant.​product.​metafields[].​keystring<= 30 characters^[a-zA-Z0-9_]+$required

The unique identifier for the metafield within its namespace. Must be unique per namespace and owner.

Example: "material"
product_bundle.​bundled_variant.​product.​metafields[].​valuestring or objectrequired

The actual data stored in the metafield. Type depends on value_type.

Example: "cotton"
product_bundle.​bundled_variant.​product.​metafields[].​value_typestringrequired

The data type that defines how the value should be interpreted and validated.

Example: "single_line_text_field"
product_bundle.​bundled_variant.​product.​metafields[].​descriptionstring or null

Optional human-readable description explaining the purpose of this metafield.

Example: "The primary material used in this product"
product_bundle.​bundled_variant.​product.​metafields[].​owner_typestringrequired

The type of resource that this metafield belongs to (polymorphic association).

Example: "Product"
product_bundle.​bundled_variant.​product.​metafields[].​owner_idintegerrequired

The ID of the specific resource that this metafield belongs to.

Example: 12345
product_bundle.​bundled_variant.​product.​metafields[].​created_atstring(date-time)required

Timestamp when the metafield was created.

Example: "2021-01-01T00:00:00Z"
product_bundle.​bundled_variant.​product.​metafields[].​updated_atstring(date-time)required

Timestamp when the metafield was last updated.

Example: "2021-01-01T00:00:00Z"
product_bundle.​bundled_variant.​product.​metafields[].​metafield_definitionobject or null(MetafieldDefinition)
metaobjectrequired
meta.​request_idstring
Example: "123e4567-e89b-12d3-a456-426614174000"
meta.​timestampstring
Example: "2021-01-01T00:00:00Z"
Response
application/json
{ "product_bundle": { "id": 0, "quantity": 1, "tax_percentage": 0.01, "display_externally": true, "bundled_variant": {} }, "meta": { "request_id": "123e4567-e89b-12d3-a456-426614174000", "timestamp": "2021-01-01T00:00:00Z" } }

List product bundles

Request

Path
product_idintegerrequired

Product ID

Example: 1
curl -i -X GET \
  'https://docs.fluid.app/_mock/docs/apis/company.api/api/company/v1/products/{product_id}/product_bundles' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Empty product bundles list

Bodyapplication/json
product_bundlesArray of objects(ProductBundle)required
product_bundles[].​idintegerrequired
product_bundles[].​quantityinteger>= 1required
Default 1
product_bundles[].​tax_percentagenumber or string or null[ 0.01 .. 100 ]
product_bundles[].​display_externallyboolean or null
Default true
product_bundles[].​bundled_variantobject(Variant)
product_bundles[].​bundled_variant_idintegerrequired
metaobjectrequired
meta.​request_idstring
Example: "123e4567-e89b-12d3-a456-426614174000"
meta.​timestampstring
Example: "2021-01-01T00:00:00Z"
Response
application/json
{ "product_bundles": [ {} ], "meta": { "request_id": "123e4567-e89b-12d3-a456-426614174000", "timestamp": "2021-01-01T00:00:00Z" } }

Delete a product bundle

Request

Removes a product bundle from a product

Path
product_idintegerrequired

Product ID

Example: 1
idintegerrequired

Product bundle ID

Example: 1
curl -i -X DELETE \
  'https://docs.fluid.app/_mock/docs/apis/company.api/api/company/v1/products/{product_id}/product_bundles/{id}' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Product bundle deleted

Bodyapplication/json
messagestringrequired
Example: "Product bundle deleted"
metaobjectrequired
meta.​request_idstring
Example: "123e4567-e89b-12d3-a456-426614174000"
meta.​timestampstring
Example: "2021-01-01T00:00:00Z"
Response
application/json
{ "message": "Product bundle deleted", "meta": { "request_id": "123e4567-e89b-12d3-a456-426614174000", "timestamp": "2021-01-01T00:00:00Z" } }

Update a product bundle

Request

Updates an existing product bundle for a product

Path
product_idintegerrequired

Product ID

Example: 1
idintegerrequired

Product Bundle ID

Example: 1
Bodyapplication/json
bundled_variant_idinteger
Example: 123
quantityinteger
Example: 3
display_externallyboolean
Example: true
curl -i -X PATCH \
  'https://docs.fluid.app/_mock/docs/apis/company.api/api/company/v1/products/{product_id}/product_bundles/{id}' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "bundled_variant_id": 123,
    "quantity": 3,
    "display_externally": true
  }'

Responses

Product bundle updated with new bundled variant

Bodyapplication/json
product_bundleobject(ProductBundle)required
product_bundle.​idintegerrequired
product_bundle.​quantityinteger>= 1required
Default 1
product_bundle.​tax_percentagenumber or string or null[ 0.01 .. 100 ]
product_bundle.​display_externallyboolean or null
Default true
product_bundle.​bundled_variantobject(Variant)required
product_bundle.​bundled_variant.​idintegerrequired
product_bundle.​bundled_variant.​titlestring or null
Example: "Variant 1"
product_bundle.​bundled_variant.​image_urlstring or null
Example: "https://via.placeholder.com/150"
product_bundle.​bundled_variant.​image_pathstring or null
Example: "https://via.placeholder.com/150"
product_bundle.​bundled_variant.​skustring or null
Example: "SKU-123456"
product_bundle.​bundled_variant.​primary_imagestring or null
Example: "https://via.placeholder.com/150"
product_bundle.​bundled_variant.​pricenumber or string or null
Example: 100
product_bundle.​bundled_variant.​price_in_currencystringrequired
Example: "USD 100.00"
product_bundle.​bundled_variant.​optionsArray of objectsrequired
product_bundle.​bundled_variant.​options[].​titlestring
Example: "Size"
product_bundle.​bundled_variant.​options[].​valuestring
Example: "XL"
product_bundle.​bundled_variant.​productobject(Product)required
product_bundle.​bundled_variant.​product.​idintegerrequired
product_bundle.​bundled_variant.​product.​titlestringrequired
product_bundle.​bundled_variant.​product.​image_urlstring or null
product_bundle.​bundled_variant.​product.​image_pathstring or null
product_bundle.​bundled_variant.​product.​cvinteger or null
Default 0
product_bundle.​bundled_variant.​product.​taxnumber or string or null
Default "0.0"
product_bundle.​bundled_variant.​product.​skustring or null
product_bundle.​bundled_variant.​product.​metadataobjectrequired
Default "{}"
product_bundle.​bundled_variant.​product.​external_idstring or null
product_bundle.​bundled_variant.​product.​pricenumber or string or null[ 0 .. 99999999 ]
Default "0.0"
product_bundle.​bundled_variant.​product.​introductionstring or null
product_bundle.​bundled_variant.​product.​price_in_currencystringrequired
product_bundle.​bundled_variant.​product.​tax_in_currencystringrequired
product_bundle.​bundled_variant.​product.​cv_in_currencystringrequired
product_bundle.​bundled_variant.​product.​metafieldsArray of objects(LegacyMetafield)required
product_bundle.​bundled_variant.​product.​metafields[].​idintegerrequired
product_bundle.​bundled_variant.​product.​metafields[].​namespacestring<= 20 characters^[a-zA-Z0-9_]+$required

A container for related metafields. Commonly used to group metafields by app or functionality.

Example: "custom"
product_bundle.​bundled_variant.​product.​metafields[].​keystring<= 30 characters^[a-zA-Z0-9_]+$required

The unique identifier for the metafield within its namespace. Must be unique per namespace and owner.

Example: "material"
product_bundle.​bundled_variant.​product.​metafields[].​valuestring or objectrequired

The actual data stored in the metafield. Type depends on value_type.

Example: "cotton"
product_bundle.​bundled_variant.​product.​metafields[].​value_typestringrequired

The data type that defines how the value should be interpreted and validated.

Example: "single_line_text_field"
product_bundle.​bundled_variant.​product.​metafields[].​descriptionstring or null

Optional human-readable description explaining the purpose of this metafield.

Example: "The primary material used in this product"
product_bundle.​bundled_variant.​product.​metafields[].​owner_typestringrequired

The type of resource that this metafield belongs to (polymorphic association).

Example: "Product"
product_bundle.​bundled_variant.​product.​metafields[].​owner_idintegerrequired

The ID of the specific resource that this metafield belongs to.

Example: 12345
product_bundle.​bundled_variant.​product.​metafields[].​created_atstring(date-time)required

Timestamp when the metafield was created.

Example: "2021-01-01T00:00:00Z"
product_bundle.​bundled_variant.​product.​metafields[].​updated_atstring(date-time)required

Timestamp when the metafield was last updated.

Example: "2021-01-01T00:00:00Z"
product_bundle.​bundled_variant.​product.​metafields[].​metafield_definitionobject or null(MetafieldDefinition)
metaobjectrequired
meta.​request_idstring
Example: "123e4567-e89b-12d3-a456-426614174000"
meta.​timestampstring
Example: "2021-01-01T00:00:00Z"
Response
application/json
{ "product_bundle": { "id": 0, "quantity": 1, "tax_percentage": 0.01, "display_externally": true, "bundled_variant": {} }, "meta": { "request_id": "123e4567-e89b-12d3-a456-426614174000", "timestamp": "2021-01-01T00:00:00Z" } }

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

fingerprint

Operations

lead

Operations

media

Operations

page

Operations

playlist

Operations

product

Operations

session

Operations

settings

Operations

url

Operations

widgets

Operations