Skip to main content

Flows API Documentation (1.0)

Download OpenAPI specification:Download

Order

Endpoints for retrieving, managing, and interacting with an Operation's orders.

List Orders of an Operation

Authorizations:
api-key
path Parameters
operation_id
required
integer
Example: 1

Operation ID

query Parameters
object

Parameter for controlling pagination of the result set.

header Parameters
locale
string
Default: en-US
Enum: "pt-BR" "en-US"
Example: pt-BR

The 'locale' parameter allows specify the desired language for translating messages returned by the Server.

Responses

Response samples

Content type
application/json
{
  • "data": [
    ]
}

Create an Order

Authorizations:
api-key
path Parameters
operation_id
required
integer
Example: 1

Operation ID

header Parameters
locale
string
Default: en-US
Enum: "pt-BR" "en-US"
Example: pt-BR

The 'locale' parameter allows specify the desired language for translating messages returned by the Server.

Request Body schema: application/json

The attributes to Create an Order

object
external_reference_code
string or null

An external reference code associated with the Order.

Array of objects (NestedCreateHandlerParams)

An array of Handlers responsible for managing this Order.

observations
string or null

Textual field for recording observations or comments related to the PO.

object

A Purchase Order (PO) associated with this Order.

reference_code
string or null

A reference code associated with the Order.

subsidiary_id
integer or null

Unique identifier for the Subsidiary.

Responses

Request samples

Content type
application/json
{
  • "params": {
    }
}

Response samples

Content type
application/json
{
  • "data": {
    }
}

Delete an Order

Authorizations:
api-key
path Parameters
operation_id
required
integer
Example: 1

Operation ID

id
required
integer
Example: 100

Order ID

header Parameters
locale
string
Default: en-US
Enum: "pt-BR" "en-US"
Example: pt-BR

The 'locale' parameter allows specify the desired language for translating messages returned by the Server.

Responses

Response samples

Content type
application/json
{
  • "data": {
    }
}

Get an Order

Authorizations:
api-key
path Parameters
operation_id
required
integer
Example: 1

Operation ID

id
required
integer
Example: 100

Order ID

header Parameters
locale
string
Default: en-US
Enum: "pt-BR" "en-US"
Example: pt-BR

The 'locale' parameter allows specify the desired language for translating messages returned by the Server.

Responses

Response samples

Content type
application/json
{
  • "data": {
    }
}

Update an Order

Authorizations:
api-key
path Parameters
operation_id
required
integer
Example: 1

Operation ID

id
required
integer
Example: 100

Order ID

header Parameters
locale
string
Default: en-US
Enum: "pt-BR" "en-US"
Example: pt-BR

The 'locale' parameter allows specify the desired language for translating messages returned by the Server.

Request Body schema: application/json

The attributes to Update an Order

object
external_reference_code
string or null

An external reference code associated with the Order.

Array of objects (NestedUpdateHandlerParams)

An array of Handlers responsible for managing this Order.

observations
string or null

Textual field for recording observations or comments related to the PO.

object

A Purchase Order (PO) associated with this Order.

subsidiary_id
integer or null

Unique identifier for the Subsidiary.

Responses

Request samples

Content type
application/json
{
  • "params": {
    }
}

Response samples

Content type
application/json
{
  • "data": {
    }
}

Cancel an Order

Authorizations:
api-key
path Parameters
operation_id
required
integer
Example: 1

Operation ID

id
required
integer
Example: 100

Order ID

header Parameters
locale
string
Default: en-US
Enum: "pt-BR" "en-US"
Example: pt-BR

The 'locale' parameter allows specify the desired language for translating messages returned by the Server.

Responses

Response samples

Content type
application/json
{
  • "data": {
    }
}

Finish an Order

Authorizations:
api-key
path Parameters
operation_id
required
integer
Example: 1

Operation ID

id
required
integer
Example: 100

Order ID

header Parameters
locale
string
Default: en-US
Enum: "pt-BR" "en-US"
Example: pt-BR

The 'locale' parameter allows specify the desired language for translating messages returned by the Server.

Responses

Response samples

Content type
application/json
{
  • "data": {
    }
}

Uncancel an Order

Authorizations:
api-key
path Parameters
operation_id
required
integer
Example: 1

Operation ID

id
required
integer
Example: 100

Order ID

header Parameters
locale
string
Default: en-US
Enum: "pt-BR" "en-US"
Example: pt-BR

The 'locale' parameter allows specify the desired language for translating messages returned by the Server.

Responses

Response samples

Content type
application/json
{
  • "data": {
    }
}

Process

Endpoints for retrieving, managing, and interacting with an Operation's processes.

List Processes of an Operation

Authorizations:
api-key
path Parameters
operation_id
required
integer
Example: 1

Operation ID

query Parameters
object

Parameter for controlling pagination of the result set.

header Parameters
locale
string
Default: en-US
Enum: "pt-BR" "en-US"
Example: pt-BR

The 'locale' parameter allows specify the desired language for translating messages returned by the Server.

Responses

Response samples

Content type
application/json
{
  • "data": [
    ]
}

Create a Process

Authorizations:
api-key
path Parameters
operation_id
required
integer
Example: 1

Operation ID

header Parameters
locale
string
Default: en-US
Enum: "pt-BR" "en-US"
Example: pt-BR

The 'locale' parameter allows specify the desired language for translating messages returned by the Server.

Request Body schema: application/json

The attributes to Create a Process

object
alert_level
string
Default: "NORMAL"
Enum: "WARNING" "DANGER" "NORMAL"

Alert level indicating the severity of the Process.

object or null

A Foreign Trade Shipment associated with this Process.

Array of objects (NestedCreateHandlerParams)

An array of Handlers responsible for managing this Process.

lead_time_datetime_reference
string or null <date-time>

The timestamp serving as the reference point for lead time calculations. Format: ISO 8601 'date-time'.

order_ids
Array of integers

An array of Orders associated with this Process.

reference_code
string or null

A reference code associated with the Process.

Responses

Request samples

Content type
application/json
{
  • "params": {
    }
}

Response samples

Content type
application/json
{
  • "data": {
    }
}

Delete a Process

Authorizations:
api-key
path Parameters
operation_id
required
integer
Example: 1

Operation ID

id
required
integer
Example: 100

Process ID

header Parameters
locale
string
Default: en-US
Enum: "pt-BR" "en-US"
Example: pt-BR

The 'locale' parameter allows specify the desired language for translating messages returned by the Server.

Responses

Response samples

Content type
application/json
{
  • "data": {
    }
}

Get a Process

Authorizations:
api-key
path Parameters
operation_id
required
integer
Example: 1

Operation ID

id
required
integer
Example: 100

Process ID

header Parameters
locale
string
Default: en-US
Enum: "pt-BR" "en-US"
Example: pt-BR

The 'locale' parameter allows specify the desired language for translating messages returned by the Server.

Responses

Response samples

Content type
application/json
{
  • "data": {
    }
}

Update a Process

Authorizations:
api-key
path Parameters
operation_id
required
integer
Example: 1

Operation ID

id
required
integer
Example: 100

Process ID

header Parameters
locale
string
Default: en-US
Enum: "pt-BR" "en-US"
Example: pt-BR

The 'locale' parameter allows specify the desired language for translating messages returned by the Server.

Request Body schema: application/json

The attributes to Update a Process

object
alert_level
string
Default: "NORMAL"
Enum: "WARNING" "DANGER" "NORMAL"

Alert level indicating the severity of the Process.

object or null

A Foreign Trade Shipment associated with this Process.

Array of objects (NestedUpdateHandlerParams)

An array of Handlers responsible for managing this Process.

lead_time_datetime_reference
string or null <date-time>

The timestamp serving as the reference point for lead time calculations. Format: ISO 8601 'date-time'.

order_ids
Array of integers

An array of Orders associated with this Process.

Responses

Request samples

Content type
application/json
{
  • "params": {
    }
}

Response samples

Content type
application/json
{
  • "data": {
    }
}

Cancel a Process

Authorizations:
api-key
path Parameters
operation_id
required
integer
Example: 1

Operation ID

id
required
integer
Example: 100

Process ID

header Parameters
locale
string
Default: en-US
Enum: "pt-BR" "en-US"
Example: pt-BR

The 'locale' parameter allows specify the desired language for translating messages returned by the Server.

Responses

Response samples

Content type
application/json
{
  • "data": {
    }
}

Finish a Process

Authorizations:
api-key
path Parameters
operation_id
required
integer
Example: 1

Operation ID

id
required
integer
Example: 100

Process ID

header Parameters
locale
string
Default: en-US
Enum: "pt-BR" "en-US"
Example: pt-BR

The 'locale' parameter allows specify the desired language for translating messages returned by the Server.

Responses

Response samples

Content type
application/json
{
  • "data": {
    }
}

Uncancel a Process

Authorizations:
api-key
path Parameters
operation_id
required
integer
Example: 1

Operation ID

id
required
integer
Example: 100

Process ID

header Parameters
locale
string
Default: en-US
Enum: "pt-BR" "en-US"
Example: pt-BR

The 'locale' parameter allows specify the desired language for translating messages returned by the Server.

Responses

Response samples

Content type
application/json
{
  • "data": {
    }
}

Product

Endpoints for retrieving, managing, and interacting with Products.

List Products

Authorizations:
api-key
query Parameters
object

Parameter for controlling pagination of the result set.

header Parameters
locale
string
Default: en-US
Enum: "pt-BR" "en-US"
Example: pt-BR

The 'locale' parameter allows specify the desired language for translating messages returned by the Server.

Responses

Response samples

Content type
application/json
{
  • "data": [
    ]
}

Create a Product

Authorizations:
api-key
header Parameters
locale
string
Default: en-US
Enum: "pt-BR" "en-US"
Example: pt-BR

The 'locale' parameter allows specify the desired language for translating messages returned by the Server.

Request Body schema: application/json

The attributes to Create a Product

c9_ratio
string or null <decimal>

C9 ratio of the product.

category
string or null

Category of the product.

code
string

Code (SKU) of the product.

description
string

Description of the product.

extra
json or null

Extra information related to the product.

family
string or null

Family of the product.

Array of objects

An array of internal codes of this product.

manufacturer
string or null

Manufacturer of the product.

mercosul_code
string or null

Mercosul Code (NCM) of the product.

multiple_package_capacity
string or null <decimal>

Multiple package capacity of the product.

multiple_package_measurement_unit
string or null
Enum: "BOTTLES" "GRAMS" "KILOGRAMS" "TONS" "CENTIMETERS" "SQUARE_CENTIMETERS" "METERS" "SQUARE_METERS" "CUBIC_METERS" "BUCKETS" "AMPOULES" "TRAYS" "BARS" "TUBES" "BLOCKS" "COILS" "CAPSULES" "CARDS" "HUNDREDS" "GROUPS" "CONTAINERS" "BOXES" "DISPLAYS" "DOZENS" "PACKAGING" "BALES" "PAPERS" "FLASKS" "GALLONS" "ISOTANK" "SETS" "KITS" "CANS" "LITERS" "MILLILITERS" "THOUSAND" "MEGAWATT_HOUR" "PACKAGES" "PALLETS" "PAIRS" "PIECES" "POTS" "CARATS" "REAM" "ROLLS" "SACKS" "BAGS" "DRUMS" "TANKS" "PIPES" "UNITS" "BARRELS" "GLASSES"

Multiple Package Measurement Unit of the product.

package_capacity
string or null <decimal>

Package capacity of the product.

package_code
string or null

Package code of the product.

package_measurement_unit
string or null
Enum: "BOTTLES" "GRAMS" "KILOGRAMS" "TONS" "CENTIMETERS" "SQUARE_CENTIMETERS" "METERS" "SQUARE_METERS" "CUBIC_METERS" "BUCKETS" "AMPOULES" "TRAYS" "BARS" "TUBES" "BLOCKS" "COILS" "CAPSULES" "CARDS" "HUNDREDS" "GROUPS" "CONTAINERS" "BOXES" "DISPLAYS" "DOZENS" "PACKAGING" "BALES" "PAPERS" "FLASKS" "GALLONS" "ISOTANK" "SETS" "KITS" "CANS" "LITERS" "MILLILITERS" "THOUSAND" "MEGAWATT_HOUR" "PACKAGES" "PALLETS" "PAIRS" "PIECES" "POTS" "CARATS" "REAM" "ROLLS" "SACKS" "BAGS" "DRUMS" "TANKS" "PIPES" "UNITS" "BARRELS" "GLASSES"

Package Measurement Unit of the product.

package_type
string or null
Enum: "BOTTLES" "GRAMS" "KILOGRAMS" "TONS" "CENTIMETERS" "SQUARE_CENTIMETERS" "METERS" "SQUARE_METERS" "CUBIC_METERS" "BUCKETS" "AMPOULES" "TRAYS" "BARS" "TUBES" "BLOCKS" "COILS" "CAPSULES" "CARDS" "HUNDREDS" "GROUPS" "CONTAINERS" "BOXES" "DISPLAYS" "DOZENS" "PACKAGING" "BALES" "PAPERS" "FLASKS" "GALLONS" "ISOTANK" "SETS" "KITS" "CANS" "LITERS" "MILLILITERS" "THOUSAND" "MEGAWATT_HOUR" "PACKAGES" "PALLETS" "PAIRS" "PIECES" "POTS" "CARATS" "REAM" "ROLLS" "SACKS" "BAGS" "DRUMS" "TANKS" "PIPES" "UNITS" "BARRELS" "GLASSES"

Package Type of the product.

product_foreign_operators
Array of integers

An array of Actor IDs to be associated as foreign operators for the product

Responses

Request samples

Content type
application/json
{
  • "params": {
    }
}

Response samples

Content type
application/json
{
  • "data": {
    }
}

Delete a Product

Authorizations:
api-key
path Parameters
id
required
integer
Example: 100

Product ID

header Parameters
locale
string
Default: en-US
Enum: "pt-BR" "en-US"
Example: pt-BR

The 'locale' parameter allows specify the desired language for translating messages returned by the Server.

Responses

Response samples

Content type
application/json
{
  • "data": {
    }
}

Get a Product

Authorizations:
api-key
path Parameters
id
required
integer
Example: 100

Product ID

header Parameters
locale
string
Default: en-US
Enum: "pt-BR" "en-US"
Example: pt-BR

The 'locale' parameter allows specify the desired language for translating messages returned by the Server.

Responses

Response samples

Content type
application/json
{
  • "data": {
    }
}

Update a Product

Authorizations:
api-key
path Parameters
id
required
integer
Example: 100

Product ID

header Parameters
locale
string
Default: en-US
Enum: "pt-BR" "en-US"
Example: pt-BR

The 'locale' parameter allows specify the desired language for translating messages returned by the Server.

Request Body schema: application/json

The attributes to Update a Product

c9_ratio
string or null <decimal>

C9 ratio of the product.

category
string or null

Category of the product.

code
string

Code (SKU) of the product.

description
string

Description of the product.

extra
json or null

Extra information related to the product.

family
string or null

Family of the product.

Array of objects

An array of internal codes of this product.

manufacturer
string or null

Manufacturer of the product.

mercosul_code
string or null

Mercosul Code (NCM) of the product.

multiple_package_capacity
string or null <decimal>

Multiple package capacity of the product.

multiple_package_measurement_unit
string or null
Enum: "BOTTLES" "GRAMS" "KILOGRAMS" "TONS" "CENTIMETERS" "SQUARE_CENTIMETERS" "METERS" "SQUARE_METERS" "CUBIC_METERS" "BUCKETS" "AMPOULES" "TRAYS" "BARS" "TUBES" "BLOCKS" "COILS" "CAPSULES" "CARDS" "HUNDREDS" "GROUPS" "CONTAINERS" "BOXES" "DISPLAYS" "DOZENS" "PACKAGING" "BALES" "PAPERS" "FLASKS" "GALLONS" "ISOTANK" "SETS" "KITS" "CANS" "LITERS" "MILLILITERS" "THOUSAND" "MEGAWATT_HOUR" "PACKAGES" "PALLETS" "PAIRS" "PIECES" "POTS" "CARATS" "REAM" "ROLLS" "SACKS" "BAGS" "DRUMS" "TANKS" "PIPES" "UNITS" "BARRELS" "GLASSES"

Multiple Package Measurement Unit of the product.

package_capacity
string or null <decimal>

Package capacity of the product.

package_code
string or null

Package code of the product.

package_measurement_unit
string or null
Enum: "BOTTLES" "GRAMS" "KILOGRAMS" "TONS" "CENTIMETERS" "SQUARE_CENTIMETERS" "METERS" "SQUARE_METERS" "CUBIC_METERS" "BUCKETS" "AMPOULES" "TRAYS" "BARS" "TUBES" "BLOCKS" "COILS" "CAPSULES" "CARDS" "HUNDREDS" "GROUPS" "CONTAINERS" "BOXES" "DISPLAYS" "DOZENS" "PACKAGING" "BALES" "PAPERS" "FLASKS" "GALLONS" "ISOTANK" "SETS" "KITS" "CANS" "LITERS" "MILLILITERS" "THOUSAND" "MEGAWATT_HOUR" "PACKAGES" "PALLETS" "PAIRS" "PIECES" "POTS" "CARATS" "REAM" "ROLLS" "SACKS" "BAGS" "DRUMS" "TANKS" "PIPES" "UNITS" "BARRELS" "GLASSES"

Package Measurement Unit of the product.

package_type
string or null
Enum: "BOTTLES" "GRAMS" "KILOGRAMS" "TONS" "CENTIMETERS" "SQUARE_CENTIMETERS" "METERS" "SQUARE_METERS" "CUBIC_METERS" "BUCKETS" "AMPOULES" "TRAYS" "BARS" "TUBES" "BLOCKS" "COILS" "CAPSULES" "CARDS" "HUNDREDS" "GROUPS" "CONTAINERS" "BOXES" "DISPLAYS" "DOZENS" "PACKAGING" "BALES" "PAPERS" "FLASKS" "GALLONS" "ISOTANK" "SETS" "KITS" "CANS" "LITERS" "MILLILITERS" "THOUSAND" "MEGAWATT_HOUR" "PACKAGES" "PALLETS" "PAIRS" "PIECES" "POTS" "CARATS" "REAM" "ROLLS" "SACKS" "BAGS" "DRUMS" "TANKS" "PIPES" "UNITS" "BARRELS" "GLASSES"

Package Type of the product.

product_foreign_operators
Array of integers

An array of Actor IDs to be associated as foreign operators for the product

Responses

Request samples

Content type
application/json
{
  • "params": {
    }
}

Response samples

Content type
application/json
{
  • "data": {
    }
}

Upsert Products in batch

Authorizations:
api-key
header Parameters
locale
string
Default: en-US
Enum: "pt-BR" "en-US"
Example: pt-BR

The 'locale' parameter allows specify the desired language for translating messages returned by the Server.

Request Body schema: application/json

The attributes to Upsert Products in batch

Array of objects (CreateProductParams)
Array
c9_ratio
string or null <decimal>

C9 ratio of the product.

category
string or null

Category of the product.

code
string

Code (SKU) of the product.

description
string

Description of the product.

extra
json or null

Extra information related to the product.

family
string or null

Family of the product.

Array of objects

An array of internal codes of this product.

manufacturer
string or null

Manufacturer of the product.

mercosul_code
string or null

Mercosul Code (NCM) of the product.

multiple_package_capacity
string or null <decimal>

Multiple package capacity of the product.

multiple_package_measurement_unit
string or null
Enum: "BOTTLES" "GRAMS" "KILOGRAMS" "TONS" "CENTIMETERS" "SQUARE_CENTIMETERS" "METERS" "SQUARE_METERS" "CUBIC_METERS" "BUCKETS" "AMPOULES" "TRAYS" "BARS" "TUBES" "BLOCKS" "COILS" "CAPSULES" "CARDS" "HUNDREDS" "GROUPS" "CONTAINERS" "BOXES" "DISPLAYS" "DOZENS" "PACKAGING" "BALES" "PAPERS" "FLASKS" "GALLONS" "ISOTANK" "SETS" "KITS" "CANS" "LITERS" "MILLILITERS" "THOUSAND" "MEGAWATT_HOUR" "PACKAGES" "PALLETS" "PAIRS" "PIECES" "POTS" "CARATS" "REAM" "ROLLS" "SACKS" "BAGS" "DRUMS" "TANKS" "PIPES" "UNITS" "BARRELS" "GLASSES"

Multiple Package Measurement Unit of the product.

package_capacity
string or null <decimal>

Package capacity of the product.

package_code
string or null

Package code of the product.

package_measurement_unit
string or null
Enum: "BOTTLES" "GRAMS" "KILOGRAMS" "TONS" "CENTIMETERS" "SQUARE_CENTIMETERS" "METERS" "SQUARE_METERS" "CUBIC_METERS" "BUCKETS" "AMPOULES" "TRAYS" "BARS" "TUBES" "BLOCKS" "COILS" "CAPSULES" "CARDS" "HUNDREDS" "GROUPS" "CONTAINERS" "BOXES" "DISPLAYS" "DOZENS" "PACKAGING" "BALES" "PAPERS" "FLASKS" "GALLONS" "ISOTANK" "SETS" "KITS" "CANS" "LITERS" "MILLILITERS" "THOUSAND" "MEGAWATT_HOUR" "PACKAGES" "PALLETS" "PAIRS" "PIECES" "POTS" "CARATS" "REAM" "ROLLS" "SACKS" "BAGS" "DRUMS" "TANKS" "PIPES" "UNITS" "BARRELS" "GLASSES"

Package Measurement Unit of the product.

package_type
string or null
Enum: "BOTTLES" "GRAMS" "KILOGRAMS" "TONS" "CENTIMETERS" "SQUARE_CENTIMETERS" "METERS" "SQUARE_METERS" "CUBIC_METERS" "BUCKETS" "AMPOULES" "TRAYS" "BARS" "TUBES" "BLOCKS" "COILS" "CAPSULES" "CARDS" "HUNDREDS" "GROUPS" "CONTAINERS" "BOXES" "DISPLAYS" "DOZENS" "PACKAGING" "BALES" "PAPERS" "FLASKS" "GALLONS" "ISOTANK" "SETS" "KITS" "CANS" "LITERS" "MILLILITERS" "THOUSAND" "MEGAWATT_HOUR" "PACKAGES" "PALLETS" "PAIRS" "PIECES" "POTS" "CARATS" "REAM" "ROLLS" "SACKS" "BAGS" "DRUMS" "TANKS" "PIPES" "UNITS" "BARRELS" "GLASSES"

Package Type of the product.

product_foreign_operators
Array of integers

An array of Actor IDs to be associated as foreign operators for the product

Responses

Request samples

Content type
application/json
{
  • "params": [
    ]
}

Response samples

Content type
application/json
{
  • "data": [
    ]
}

PortSchedule

List Port Schedules

Authorizations:
api-key
path Parameters
port_unlocode
required
string
Example: BRSSZ

Port UN/LOCODE

query Parameters
object

Parameter for controlling pagination of the result set.

start_date_etb
required
string
Example: start_date_etb=2024-01-01

Minimum ETB to be considered in the format ISO 8601

end_date_etb
required
string
Example: end_date_etb=2024-02-01

Maximum ETB to be considered in the format ISO 8601

header Parameters
locale
string
Default: en-US
Enum: "pt-BR" "en-US"
Example: pt-BR

The 'locale' parameter allows specify the desired language for translating messages returned by the Server.

Responses

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "total_count": 0
}