Hoppa till innehållet

Orders

The signed-in customer's order history and order details, with line level fulfilment status.

2 calls GET Base URL https://api.erp.fluit.cloud/ecom

Authentication, error codes, rate limits, idempotency and pagination apply to every call and are documented once under Getting started.

GET /portal/orders

List orders

Returns a paginated list of orders for the authenticated customer.

Query parameters

Field Type
page integer
pageSize integer
status string

Responses

200 PortalOrderListResponse
Field Type
items PortalOrder[] · nullable
page integer
pageSize integer
totalCount integer
429 Rate limit exceeded. Wait the number of seconds given in Retry-After. The body is problem-shaped application/json, not application/problem+json. This API sends no X-RateLimit-* headers — the quota is discovered here.
  • Retry-After — Seconds to wait before retrying.

Standard errors: 401 403 Errors

Examples

curl
curl "https://api.erp.fluit.cloud/ecom/portal/orders" \
  -H "Authorization: Bearer $SESSION_TOKEN" \
  -H "X-Tenant-Id: $FLUIT_TENANT_ID" \
  -H "X-Channel: web"
Response 200
{
  "items": [
    {
      "currencyCode": "SEK",
      "customerReference": "PO-2026-042",
      "deliveryStatus": "string",
      "id": "0f8b2c1e-4d3a-4b7e-9f10-2a6c5d8e1b44",
      "lineCount": 42,
      "orderDate": "string",
      "orderNumber": "SO-2026-1041",
      "requestedDeliveryDate": "string",
      "status": "string",
      "totalAmount": "299.00",
      "totalAmountIncludingTax": "299.00"
    }
  ],
  "page": 1,
  "pageSize": 50,
  "totalCount": 137
}

Base URL https://api.erp.fluit.cloud/ecom. The response example is generated from the schema: the shape is right, the values are made up.

GET /portal/orders/{id}

Get order detail

Returns the full detail of a specific order for the authenticated customer.

Path parameters

Field Type
id Required string(uuid)

Responses

200 PortalOrderDetailResponse
Field Type
contactName string · nullable
currencyCode string · nullable
customerReference string · nullable
deliveredPercentage decimal
deliveryStatus string · nullable
externalNotes string · nullable
id string(uuid)
lines PortalOrderLine[] · nullable
orderDate string · nullable
orderNumber string · nullable
plannedDeliveryDate string · nullable
requestedDeliveryDate string · nullable
shippingAddress PortalOrderAddress
status string · nullable
totalAmount decimal
totalAmountIncludingTax decimal
totalVat decimal
429 Rate limit exceeded. Wait the number of seconds given in Retry-After. The body is problem-shaped application/json, not application/problem+json. This API sends no X-RateLimit-* headers — the quota is discovered here.
  • Retry-After — Seconds to wait before retrying.

Standard errors: 401 404 Errors

Examples

curl
curl "https://api.erp.fluit.cloud/ecom/portal/orders/{id}" \
  -H "Authorization: Bearer $SESSION_TOKEN" \
  -H "X-Tenant-Id: $FLUIT_TENANT_ID" \
  -H "X-Channel: web"
Response 200
{
  "contactName": "Anna Svensson",
  "currencyCode": "SEK",
  "customerReference": "PO-2026-042",
  "deliveredPercentage": "12.50",
  "deliveryStatus": "string",
  "externalNotes": "string",
  "id": "0f8b2c1e-4d3a-4b7e-9f10-2a6c5d8e1b44",
  "lines": [
    {
      "discountPercent": "12.50",
      "id": "0f8b2c1e-4d3a-4b7e-9f10-2a6c5d8e1b44",
      "itemName": "Widget A",
      "itemNumber": "WIDGET-A",
      "lineTotal": "299.00",
      "lineTotalIncludingTax": "299.00",
      "quantity": "10",
      "status": "string",
      "unit": "st",
      "unitPrice": "299.00"
    }
  ],
  "orderDate": "string",
  "orderNumber": "SO-2026-1041",
  "plannedDeliveryDate": "string",
  "requestedDeliveryDate": "string",
  "shippingAddress": {
    "city": "Stockholm",
    "country": "string",
    "name": "Acme AB",
    "postalCode": "11122",
    "street": "string"
  },
  "status": "string",
  "totalAmount": "299.00",
  "totalAmountIncludingTax": "299.00",
  "totalVat": "299.00"
}

Base URL https://api.erp.fluit.cloud/ecom. The response example is generated from the schema: the shape is right, the values are made up.

Schemas

The objects this group's calls refer to. The field tables above go one level deep and link here rather than repeating the same schema on every endpoint.

PortalOrder

PortalOrderListItem
Field Type
currencyCode string · nullable
customerReference string · nullable
deliveryStatus string · nullable
id string(uuid)
lineCount integer
orderDate string · nullable
orderNumber string · nullable
requestedDeliveryDate string · nullable
status string · nullable
totalAmount decimal
totalAmountIncludingTax decimal

PortalOrderAddress

PortalOrderAddressResponse
Field Type
city string · nullable
country string · nullable
name string · nullable
postalCode string · nullable
street string · nullable

PortalOrderLine

PortalOrderLineResponse
Field Type
discountPercent decimal
id string(uuid)
itemName string · nullable
itemNumber string · nullable
lineTotal decimal
lineTotalIncludingTax decimal
quantity decimal
status string · nullable
unit string · nullable
unitPrice decimal