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://fluid-commerce.redocly.app/_mock/docs/apis/swagger/
Production server with company subdomain
https://{company}.fluid.app/
Local development server
http://fluid.lvh.me:{port}/

Admins

Operations

Agreements

Operations

ApplePay

Operations

Application Themes

Operations

ApplicationThemeTemplates

Operations

Authentication

Operations

Callback Definitions

Operations

Callback Registrations

Operations

Carts

Operations

Commerce Orders

Operations

Companies

Operations

Company Custom Catch Ups

Operations

Company Discounts

Operations

Company Mobile Widgets

Operations

Company Pages

Operations

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

Company Webhook Events

Operations

Contacts

Operations

Currencies

Operations

Customer Orders

Operations

CustomerNotes

Operations

Customers

Operations

Domains

Operations

Drop Zones

Operations

Droplet Categories

Operations

Droplet Installations

Operations

Droplets

Operations

Enrollment Packs

Operations

Enrollments

Operations

Fantasy Points

Operations

File Resources

Operations

Fluid Pay

Operations

Form Elements

Operations

Forms

Operations

GlobalEmbeds

Operations

Inventory Levels

Operations

Labels

Operations

Multi Factor Authentications

Operations

Multi-Factor Authentications

Operations

Notifications

Operations

Onboarding

Operations

Order Fulfillments

Operations

Orders

Operations

Payment

Operations

Tokenize credit card

Request

Bodyapplication/json
credit_cardobjectrequired
credit_card.​first_namestringrequired
credit_card.​last_namestringrequired
credit_card.​numberstringrequired
credit_card.​verification_valuestringrequired
credit_card.​monthstringrequired
credit_card.​yearstringrequired
credit_card.​emailstring
curl -i -X POST \
  https://fluid-commerce.redocly.app/_mock/docs/apis/swagger/api/v202506/payments/tokenize_card \
  -H 'Content-Type: application/json' \
  -d '{
    "credit_card": {
      "first_name": "string",
      "last_name": "string",
      "number": "string",
      "verification_value": "string",
      "month": "string",
      "year": "string",
      "email": "string"
    }
  }'

Responses

Credit card response

Bodyapplication/json
transactionobject
metaobject
Response
application/json
{ "transaction": { "token": "test_token_123", "created_at": "2025-03-06T12:00:00", "updated_at": "2025-03-06T12:00:00", "succeeded": true, "transaction_type": "AddPaymentMethod", "retained": true, "state": "succeeded", "message_key": "messages.transaction_succeeded", "message": "Succeeded!", "payment_method": {} }, "meta": { "request_id": "f5473a8c-8a86-4e0e-b3e8-95392003921b", "timestamp": "2025-02-03T08:04:10Z" } }

Create payment record using payment account id and cart info

Request

Path
payment_account_idintegerrequired

ID of the existing payment account

Example: 123
Bodyapplication/jsonrequired
cart_tokenstringrequired
Example: "cart_token"
payment_methodobjectrequired
payment_method.​integration_classstringrequired
Example: "Droplet"
payment_method.​sourcestringrequired
Example: "droplet"
curl -i -X POST \
  'https://fluid-commerce.redocly.app/_mock/docs/apis/swagger/api/v202506/payments/{payment_account_id}' \
  -H 'Content-Type: application/json' \
  -d '{
    "cart_token": "cart_token",
    "payment_method": {
      "integration_class": "Droplet",
      "source": "droplet"
    }
  }'

Responses

Credit card response

Bodyapplication/json
paymentobject(Commerce::Payment)
metaobject
Response
application/json
{ "payment": { "id": 0, "uuid": "string", "action": "string", "status": "unsent", "payment_account": 0, "cart_token": "string" }, "meta": { "request_id": "123e4567-e89b-12d3-a456-426614174000", "timestamp": "2021-01-01T00:00:00Z" } }

Payment Accounts

Operations

Payment Integrations

Operations

Payments

Operations

Paypal

Operations

Products

Operations

Prompts

Operations

Public Companies

Operations

Public Drop Zones

Operations

Ranks

Operations

Redirects

Operations

Refunds

Operations

Reps

Operations

Roles

Operations

Settings

Operations

Shares

Operations

Subscription Orders

Operations

Subscription Plans

Operations

Subscriptions

Operations

Tags

Operations

Tax Categories

Operations

Tracking Informations

Operations

Tree Nodes

Operations

Trees

Operations

Users

Operations

Variant Countries

Operations

Variants

Operations

Webhooks

Operations