Fluid Commerce APIs (1.0)

The Fluid Commerce APIs provides a comprehensive set of APIs designed to integrate Fluid's powerful services into your applications seamlessly. This bundle offers robust functionality for enhancing messaging solutions, streamlining data management, and improving customer interactions. With detailed documentation, secure authentication, and flexible integration options, the Fluid Public API Bundle is engineered to help you leverage our services efficiently and effectively, unlocking new potentials and achieving greater connectivity within your systems.

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

Agreements

Operations

ApplePay

Operations

Application Themes

Operations

ApplicationThemeTemplates

Operations

Authentication

Operations

Callback Definitions

Operations

Callback Registrations

Operations

Carts

Operations

Company Custom Catch Ups

Operations

Company Discounts

Operations

Company Droplets

Operations

Company Pages

Operations

Company Popups

Operations

Company Settings - Checkout

Operations

Company Settings - Countries

Operations

Company Settings - Languages

Operations

Company Settings - Social Media

Operations

Company Settings - Warehouses

Operations

Contacts

Operations

Currencies

Operations

Customer Orders

Operations

CustomerNotes

Operations

Customers

Operations

Domains

Operations

Drop Zones

Operations

Droplets

Operations

Enrollment Packs

Operations

Enrollments

Operations

Fantasy Points

Operations

Fluid Pay

Operations

GlobalEmbeds

Operations

Inventory Levels

Operations

Multi-Factor Authentications

Operations

Notifications

Operations

Order Fulfillments

Operations

Orders

Operations

Pages

Operations

Payment

Operations

Payment Accounts

Operations

Payments

Operations

Paypal

Operations

Products

Operations

Public Companies

Operations

Redirects

Operations

Refunds

Operations

Roles

Operations

Shares

Operations

Subscription Orders

Operations

Subscription Plans

Operations

Subscriptions

Operations

Tracking Informations

Operations

Tree Nodes

Operations

List of tree nodes

Request

List all tree nodes

Path
tree_idintegerrequired
curl -i -X GET \
  'https://docs.fluid.app/_mock/docs/apis/swagger/api/trees/{tree_id}/tree_nodes' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

sucess

Bodyapplication/json
tree_nodesArray of objects(TreeNode)required
tree_nodes[].​idintegerrequired
tree_nodes[].​member_idintegerrequired

The ID of the member

Example: 110
tree_nodes[].​member_typestringrequired

Can either be a Customer or an UserCompany/Rep

Example: "Customer"
tree_nodes[].​created_atstring(date-time)required
Example: "2021-01-01T00:00:00Z"
tree_nodes[].​updated_atstring(date-time)required
Example: "2021-01-01T00:00:00Z"
metaobject
Response
application/json
{ "tree_nodes": [ {} ], "meta": { "request_id": "123e4567-e89b-12d3-a456-426614174000", "timestamp": "2021-01-01T00:00:00Z" } }

Create a tree node

Request

Create a tree node

Path
tree_idintegerrequired
Bodyapplication/json
tree_nodeobjectrequired
tree_node.​member_idintegerrequired
tree_node.​member_typestringrequired
tree_node.​parent_idinteger
curl -i -X POST \
  'https://docs.fluid.app/_mock/docs/apis/swagger/api/trees/{tree_id}/tree_nodes' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "tree_node": {
      "member_id": 0,
      "member_type": "string",
      "parent_id": 0
    }
  }'

Responses

success with parent

Bodyapplication/json
tree_nodeobject(TreeNode)required
tree_node.​idintegerrequired
tree_node.​member_idintegerrequired

The ID of the member

Example: 110
tree_node.​member_typestringrequired

Can either be a Customer or an UserCompany/Rep

Example: "Customer"
tree_node.​created_atstring(date-time)required
Example: "2021-01-01T00:00:00Z"
tree_node.​updated_atstring(date-time)required
Example: "2021-01-01T00:00:00Z"
metaobject
Response
application/json
{ "tree_node": { "id": 0, "member_id": 110, "member_type": "Customer", "created_at": "2021-01-01T00:00:00Z", "updated_at": "2021-01-01T00:00:00Z" }, "meta": { "request_id": "123e4567-e89b-12d3-a456-426614174000", "timestamp": "2021-01-01T00:00:00Z" } }

Show a tree node

Request

Show a tree node

Path
tree_idintegerrequired
idintegerrequired
Query
downlineboolean

Include downline in response

curl -i -X GET \
  'https://docs.fluid.app/_mock/docs/apis/swagger/api/trees/{tree_id}/tree_nodes/{id}?downline=true' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

success with downline

Bodyapplication/json
tree_nodeobject(TreeNode)required
tree_node.​idintegerrequired
tree_node.​member_idintegerrequired

The ID of the member

Example: 110
tree_node.​member_typestringrequired

Can either be a Customer or an UserCompany/Rep

Example: "Customer"
tree_node.​created_atstring(date-time)required
Example: "2021-01-01T00:00:00Z"
tree_node.​updated_atstring(date-time)required
Example: "2021-01-01T00:00:00Z"
tree_node.​downlineArray of arraysrequired
metaobject
Response
application/json
{ "tree_node": { "id": 0, "member_id": 110, "member_type": "Customer", "created_at": "2021-01-01T00:00:00Z", "updated_at": "2021-01-01T00:00:00Z", "downline": [] }, "meta": { "request_id": "123e4567-e89b-12d3-a456-426614174000", "timestamp": "2021-01-01T00:00:00Z" } }

Update a tree node

Request

Update a tree node

Path
tree_idintegerrequired
idintegerrequired
Bodyapplication/json
tree_nodeobjectrequired
tree_node.​member_idintegerrequired
tree_node.​member_typestringrequired
tree_node.​parent_idinteger
curl -i -X PUT \
  'https://docs.fluid.app/_mock/docs/apis/swagger/api/trees/{tree_id}/tree_nodes/{id}' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "tree_node": {
      "member_id": 0,
      "member_type": "string",
      "parent_id": 0
    }
  }'

Responses

sucess

Bodyapplication/json
tree_nodeobject(TreeNode)required
tree_node.​idintegerrequired
tree_node.​member_idintegerrequired

The ID of the member

Example: 110
tree_node.​member_typestringrequired

Can either be a Customer or an UserCompany/Rep

Example: "Customer"
tree_node.​created_atstring(date-time)required
Example: "2021-01-01T00:00:00Z"
tree_node.​updated_atstring(date-time)required
Example: "2021-01-01T00:00:00Z"
metaobject
Response
application/json
{ "tree_node": { "id": 0, "member_id": 110, "member_type": "Customer", "created_at": "2021-01-01T00:00:00Z", "updated_at": "2021-01-01T00:00:00Z" }, "meta": { "request_id": "123e4567-e89b-12d3-a456-426614174000", "timestamp": "2021-01-01T00:00:00Z" } }

Delete a tree node

Request

Delete a tree node

Path
tree_idintegerrequired
idintegerrequired
curl -i -X DELETE \
  'https://docs.fluid.app/_mock/docs/apis/swagger/api/trees/{tree_id}/tree_nodes/{id}' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

sucess

Bodyapplication/json
tree_nodeobject(TreeNode)required
tree_node.​idintegerrequired
metaobject
Response
application/json
{ "tree_node": { "id": 0 }, "meta": { "request_id": "123e4567-e89b-12d3-a456-426614174000", "timestamp": "2021-01-01T00:00:00Z" } }

Trees

Operations

Users

Operations

Variant Countries

Operations

Webhooks

Operations

returns a list of all droplet categories

Request

curl -i -X GET \
  https://docs.fluid.app/_mock/docs/apis/swagger/api/droplet_categories \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

returns a list of droplet categories

Bodyapplication/json
droplet_categoriesArray of objects(DropletCategory)
metaobject
Response
application/json
{ "droplet_categories": [ {} ], "meta": { "request_id": "123e4567-e89b-12d3-a456-426614174000", "timestamp": "2021-01-01T00:00:00Z" } }