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

List company countries

Request

List all countries configured for the company

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

Responses

Company countries retrieved successfully

Bodyapplication/json
company_countriesArray of objects(CompanyCountry)required
company_countries[].​idintegerrequired
company_countries[].​currencystringrequired
Example: "USD"
company_countries[].​base_shippingnumber or string or null
Default "0.0"
Example: 0
company_countries[].​defaultbooleanrequired
Example: false
company_countries[].​pause_incomplete_enrollmentboolean or null
Example: false
company_countries[].​handling_feenull
Example: 5.99
company_countries[].​updated_atstring(date-time)required
Example: "2021-01-01T00:00:00Z"
company_countries[].​countryobject(Country)required
company_countries[].​country.​idintegerrequired
company_countries[].​country.​namestringrequired
Example: "United States"
company_countries[].​country.​isostringrequired

2-letter country code (ISO 3166-1 alpha-2)

Example: "US"
company_countries[].​country.​iso_namestringrequired
Example: "UNITED STATES"
company_countries[].​country.​iso3stringrequired

3-letter country code (ISO 3166-1 alpha-3)

Example: "USA"
company_countries[].​country.​currency_codestringrequired
Example: "USD"
company_countries[].​country.​currency_symbolstringrequired
Example: "$"
company_countries[].​country.​tax_enabledboolean or null
Example: true
company_countries[].​tax_applyboolean or null
Example: false
company_countries[].​tax_business_idstring or null
Example: "123456789"
company_countries[].​tax_apply_discounted_ratesboolean or null
Example: false
company_countries[].​tax_auto_send_invoiceboolean or null
Example: false
company_countries[].​apply_shipping_taxboolean or null
Example: false
company_countries[].​avalara_shipping_tax_codestring or null
Example: "FR030000"
company_countries[].​customsstring or null

DDP = Delivery Duty Paid, DAP = Delivered at Place (customer pays VAT/customs on delivery)

Example: "DDP"
company_countries[].​use_company_default_tax_settingsboolean or null
Example: true
company_countries[].​use_company_avalara_tax_settingsboolean or null
Example: false
company_countries[].​use_company_manual_tax_settingsboolean or null
Example: false
company_countries[].​use_company_webhook_tax_settingsboolean or null
Example: false
company_countries[].​use_custom_avalara_tax_settingsboolean or null
Example: false
company_countries[].​custom_avalara_user_namestring or null
Example: "avalara_user"
company_countries[].​custom_avalara_passwordstring or null
Example: "password123"
company_countries[].​use_custom_avalara_product_tax_codeboolean or null
Example: false
company_countries[].​warehouseobject or null(Warehouse)
company_countries[].​companyobject(Company)required
company_countries[].​company.​idintegerrequired
metaobjectrequired
meta.​request_idstring
Example: "123e4567-e89b-12d3-a456-426614174000"
meta.​timestampstring
Example: "2021-01-01T00:00:00Z"
Response
application/json
{ "company_countries": [ {} ], "meta": { "request_id": "123e4567-e89b-12d3-a456-426614174000", "timestamp": "2021-01-01T00:00:00Z" } }

Create a company country

Request

Add a new country to the company configuration

Bodyapplication/json
company_countryobjectrequired
company_country.​country_idintegerrequired
company_country.​base_shippingnumber
company_country.​shipperstring
company_country.​shipping_loginstring
company_country.​shipping_passwordstring
company_country.​currencystring
company_country.​defaultboolean
company_country.​warehouse_idinteger
company_country.​customsstring
company_country.​handling_feenumber
company_country.​tax_applyboolean
company_country.​tax_optionboolean
company_country.​tax_apply_discounted_ratesboolean
company_country.​tax_auto_send_invoiceboolean
company_country.​tax_business_idstring
company_country.​apply_shipping_taxboolean
company_country.​avalara_shipping_tax_codestring
company_country.​pause_incomplete_enrollmentboolean
company_country.​use_company_default_tax_settingsboolean
company_country.​use_company_avalara_tax_settingsboolean
company_country.​use_company_manual_tax_settingsboolean
company_country.​use_company_webhook_tax_settingsboolean
company_country.​use_custom_avalara_tax_settingsboolean
company_country.​custom_avalara_user_namestring
company_country.​custom_avalara_passwordstring
company_country.​use_custom_avalara_product_tax_codeboolean
curl -i -X POST \
  https://docs.fluid.app/_mock/docs/apis/swagger/api/settings/company_countries \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "company_country": {
      "country_id": 0,
      "base_shipping": 0,
      "shipper": "string",
      "shipping_login": "string",
      "shipping_password": "string",
      "currency": "string",
      "default": true,
      "warehouse_id": 0,
      "customs": "string",
      "handling_fee": 0,
      "tax_apply": true,
      "tax_option": true,
      "tax_apply_discounted_rates": true,
      "tax_auto_send_invoice": true,
      "tax_business_id": "string",
      "apply_shipping_tax": true,
      "avalara_shipping_tax_code": "string",
      "pause_incomplete_enrollment": true,
      "use_company_default_tax_settings": true,
      "use_company_avalara_tax_settings": true,
      "use_company_manual_tax_settings": true,
      "use_company_webhook_tax_settings": true,
      "use_custom_avalara_tax_settings": true,
      "custom_avalara_user_name": "string",
      "custom_avalara_password": "string",
      "use_custom_avalara_product_tax_code": true
    }
  }'

Responses

Company country created successfully

Bodyapplication/json
company_countryobject(CompanyCountry)required
company_country.​idintegerrequired
company_country.​currencystringrequired
Example: "USD"
company_country.​base_shippingnumber or string or null
Default "0.0"
Example: 0
company_country.​defaultbooleanrequired
Example: false
company_country.​pause_incomplete_enrollmentboolean or null
Example: false
company_country.​handling_feenull
Example: 5.99
company_country.​updated_atstring(date-time)required
Example: "2021-01-01T00:00:00Z"
company_country.​countryobject(Country)required
company_country.​country.​idintegerrequired
company_country.​country.​namestringrequired
Example: "United States"
company_country.​country.​isostringrequired

2-letter country code (ISO 3166-1 alpha-2)

Example: "US"
company_country.​country.​iso_namestringrequired
Example: "UNITED STATES"
company_country.​country.​iso3stringrequired

3-letter country code (ISO 3166-1 alpha-3)

Example: "USA"
company_country.​country.​currency_codestringrequired
Example: "USD"
company_country.​country.​currency_symbolstringrequired
Example: "$"
company_country.​country.​tax_enabledboolean or null
Example: true
company_country.​tax_applyboolean or null
Example: false
company_country.​tax_business_idstring or null
Example: "123456789"
company_country.​tax_apply_discounted_ratesboolean or null
Example: false
company_country.​tax_auto_send_invoiceboolean or null
Example: false
company_country.​apply_shipping_taxboolean or null
Example: false
company_country.​avalara_shipping_tax_codestring or null
Example: "FR030000"
company_country.​customsstring or null

DDP = Delivery Duty Paid, DAP = Delivered at Place (customer pays VAT/customs on delivery)

Example: "DDP"
company_country.​use_company_default_tax_settingsboolean or null
Example: true
company_country.​use_company_avalara_tax_settingsboolean or null
Example: false
company_country.​use_company_manual_tax_settingsboolean or null
Example: false
company_country.​use_company_webhook_tax_settingsboolean or null
Example: false
company_country.​use_custom_avalara_tax_settingsboolean or null
Example: false
company_country.​custom_avalara_user_namestring or null
Example: "avalara_user"
company_country.​custom_avalara_passwordstring or null
Example: "password123"
company_country.​use_custom_avalara_product_tax_codeboolean or null
Example: false
company_country.​warehouseobject or null(Warehouse)
company_country.​companyobject(Company)required
company_country.​company.​idintegerrequired
metaobjectrequired
meta.​request_idstring
Example: "123e4567-e89b-12d3-a456-426614174000"
meta.​timestampstring
Example: "2021-01-01T00:00:00Z"
Response
application/json
{ "company_country": { "id": 0, "currency": "USD", "base_shipping": 0, "default": false, "pause_incomplete_enrollment": false, "handling_fee": 5.99, "updated_at": "2021-01-01T00:00:00Z", "country": {}, "tax_apply": false, "tax_business_id": "123456789", "tax_apply_discounted_rates": false, "tax_auto_send_invoice": false, "apply_shipping_tax": false, "avalara_shipping_tax_code": "FR030000", "customs": "DDP", "use_company_default_tax_settings": true, "use_company_avalara_tax_settings": false, "use_company_manual_tax_settings": false, "use_company_webhook_tax_settings": false, "use_custom_avalara_tax_settings": false, "custom_avalara_user_name": "avalara_user", "custom_avalara_password": "password123", "use_custom_avalara_product_tax_code": false, "warehouse": {}, "company": {} }, "meta": { "request_id": "123e4567-e89b-12d3-a456-426614174000", "timestamp": "2021-01-01T00:00:00Z" } }

Update a company country

Request

Update an existing country configuration for the company

Path
idintegerrequired

Company country ID

Bodyapplication/json
idintegerrequired
company_countryobjectrequired
company_country.​base_shippingnumber
company_country.​shipperstring
company_country.​shipping_loginstring
company_country.​shipping_passwordstring
company_country.​currencystring
company_country.​defaultboolean
company_country.​warehouse_idinteger
company_country.​customsstring
company_country.​handling_feenumber
company_country.​tax_applyboolean
company_country.​tax_optionboolean
company_country.​tax_apply_discounted_ratesboolean
company_country.​tax_auto_send_invoiceboolean
company_country.​tax_business_idstring
company_country.​apply_shipping_taxboolean
company_country.​avalara_shipping_tax_codestring
company_country.​pause_incomplete_enrollmentboolean
company_country.​use_company_default_tax_settingsboolean
company_country.​use_company_avalara_tax_settingsboolean
company_country.​use_company_manual_tax_settingsboolean
company_country.​use_company_webhook_tax_settingsboolean
company_country.​use_custom_avalara_tax_settingsboolean
company_country.​custom_avalara_user_namestring
company_country.​custom_avalara_passwordstring
company_country.​use_custom_avalara_product_tax_codeboolean
curl -i -X PUT \
  'https://docs.fluid.app/_mock/docs/apis/swagger/api/settings/company_countries/{id}' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "id": 0,
    "company_country": {
      "base_shipping": 0,
      "shipper": "string",
      "shipping_login": "string",
      "shipping_password": "string",
      "currency": "string",
      "default": true,
      "warehouse_id": 0,
      "customs": "string",
      "handling_fee": 0,
      "tax_apply": true,
      "tax_option": true,
      "tax_apply_discounted_rates": true,
      "tax_auto_send_invoice": true,
      "tax_business_id": "string",
      "apply_shipping_tax": true,
      "avalara_shipping_tax_code": "string",
      "pause_incomplete_enrollment": true,
      "use_company_default_tax_settings": true,
      "use_company_avalara_tax_settings": true,
      "use_company_manual_tax_settings": true,
      "use_company_webhook_tax_settings": true,
      "use_custom_avalara_tax_settings": true,
      "custom_avalara_user_name": "string",
      "custom_avalara_password": "string",
      "use_custom_avalara_product_tax_code": true
    }
  }'

Responses

Company country updated successfully

Bodyapplication/json
company_countryobject(CompanyCountry)required
company_country.​idintegerrequired
company_country.​currencystringrequired
Example: "USD"
company_country.​base_shippingnumber or string or null
Default "0.0"
Example: 0
company_country.​defaultbooleanrequired
Example: false
company_country.​pause_incomplete_enrollmentboolean or null
Example: false
company_country.​handling_feenull
Example: 5.99
company_country.​updated_atstring(date-time)required
Example: "2021-01-01T00:00:00Z"
company_country.​countryobject(Country)required
company_country.​country.​idintegerrequired
company_country.​country.​namestringrequired
Example: "United States"
company_country.​country.​isostringrequired

2-letter country code (ISO 3166-1 alpha-2)

Example: "US"
company_country.​country.​iso_namestringrequired
Example: "UNITED STATES"
company_country.​country.​iso3stringrequired

3-letter country code (ISO 3166-1 alpha-3)

Example: "USA"
company_country.​country.​currency_codestringrequired
Example: "USD"
company_country.​country.​currency_symbolstringrequired
Example: "$"
company_country.​country.​tax_enabledboolean or null
Example: true
company_country.​tax_applyboolean or null
Example: false
company_country.​tax_business_idstring or null
Example: "123456789"
company_country.​tax_apply_discounted_ratesboolean or null
Example: false
company_country.​tax_auto_send_invoiceboolean or null
Example: false
company_country.​apply_shipping_taxboolean or null
Example: false
company_country.​avalara_shipping_tax_codestring or null
Example: "FR030000"
company_country.​customsstring or null

DDP = Delivery Duty Paid, DAP = Delivered at Place (customer pays VAT/customs on delivery)

Example: "DDP"
company_country.​use_company_default_tax_settingsboolean or null
Example: true
company_country.​use_company_avalara_tax_settingsboolean or null
Example: false
company_country.​use_company_manual_tax_settingsboolean or null
Example: false
company_country.​use_company_webhook_tax_settingsboolean or null
Example: false
company_country.​use_custom_avalara_tax_settingsboolean or null
Example: false
company_country.​custom_avalara_user_namestring or null
Example: "avalara_user"
company_country.​custom_avalara_passwordstring or null
Example: "password123"
company_country.​use_custom_avalara_product_tax_codeboolean or null
Example: false
company_country.​warehouseobject or null(Warehouse)
company_country.​companyobject(Company)required
company_country.​company.​idintegerrequired
metaobjectrequired
meta.​request_idstring
Example: "123e4567-e89b-12d3-a456-426614174000"
meta.​timestampstring
Example: "2021-01-01T00:00:00Z"
Response
application/json
{ "company_country": { "id": 0, "currency": "USD", "base_shipping": 0, "default": false, "pause_incomplete_enrollment": false, "handling_fee": 5.99, "updated_at": "2021-01-01T00:00:00Z", "country": {}, "tax_apply": false, "tax_business_id": "123456789", "tax_apply_discounted_rates": false, "tax_auto_send_invoice": false, "apply_shipping_tax": false, "avalara_shipping_tax_code": "FR030000", "customs": "DDP", "use_company_default_tax_settings": true, "use_company_avalara_tax_settings": false, "use_company_manual_tax_settings": false, "use_company_webhook_tax_settings": false, "use_custom_avalara_tax_settings": false, "custom_avalara_user_name": "avalara_user", "custom_avalara_password": "password123", "use_custom_avalara_product_tax_code": false, "warehouse": {}, "company": {} }, "meta": { "request_id": "123e4567-e89b-12d3-a456-426614174000", "timestamp": "2021-01-01T00:00:00Z" } }

Delete a company country

Request

Remove a country from the company configuration

Path
idintegerrequired

Company country ID

curl -i -X DELETE \
  'https://docs.fluid.app/_mock/docs/apis/swagger/api/settings/company_countries/{id}' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Company country deleted successfully

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

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

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" } }