Afosto Api API Reference

Introduction

Welcome to Afosto API documentation. Here you will find resource addresses and explanations on how to use our API to access various parts of data which we provide to you - our customers. On the right side of the screen you can preview examples of the responses each API endpoint produces Please take into consideration, that there is one address, and one address only you should use for purposes of the api connections. This is the address you are required to use: https://api.afosto.io

Authentication

Afosto Uses OAuth2 with JWT tokens for its authentication

API Endpoint
https://api.afosto.io
Contact: support@afosto.com
Request Content-Types: application/json
Response Content-Types: application/json
Schemes: https
Version: 1.0.0

Authentication

Bearer

Some endpoints within the API require that you have access to certain scopes. A List of available scopes are defined below.

type
oauth2
authorizationUrl
https://app.afosto.io/scopes
flow
implicit
scopes
app:integrations:read

Grants read access for integrations

app:integrations:write

Grants write access for integrations

cat:channel:read

Grants read access to channels

cat:channel:write

Grants write access to channels

cat:mapping:read

Grants read access for mapping

cat:mapping:write

Grants write access for mapping

cat:prices:read

Read product prices

cat:prices:write

Write to product prices

cnt:files:read

Grants read access for files

cnt:files:write

Grants write access to the file service

cnt:filesystems:read

Grants filesystems read access

cnt:filesystems:write

Grants filesystems write access

cnt:index:read

Grants tenant read access

cnt:index:write

Update definitions / add contents

cnt:instant:read

Grants read access to instant search

cnt:instant:write

Grants write access to instant search

cnt:proxies:read

Grants read access for proxies

cnt:proxies:write

Grants write access for proxies

cnt:video:read

Grants read access for video / animated content

email

Returns email and verification status claims

iam:2fa:read

Grants 2 factor authentication read access for current user

iam:2fa:write

Grants 2 factor authentication write access for current user

iam:audits:read

Read audit logs

iam:customer:read

Grants read access to customer data

iam:customer:write

Grants write access to customer data

iam:logs:read

Read logs

iam:oauth:read

Grants read access to oauth clients

iam:oauth:write

Grants write access to oauth clients

iam:roles:read

Grants read access to rbac roles

iam:roles:write

Grants write access to rbac roles

iam:services:read

Grants read access to services

iam:services:write

Grants write access to services

iam:sources:read

Grants limited read access to customer payment sources

iam:sources:write

Grants write access to customer payment sources

iam:subscriptions:read

Grants subscription read access

iam:subscriptions:write

Grants subscription write access

iam:tenants:read

Grants tenant read access

iam:usage:read

Grants usage read access

iam:users:read

Grants read access to users

iam:users:write

Grants write access to users

int:afosto:write

Grants write access to bol.com

int:bol:write

Grants write access to bol.com

lcs:dpd:read

Grants DPD read access

lcs:handling:read

Grants read access for handling lists and parcels

lcs:handling:write

Grants write access for handling lists and parcels

lcs:locations:read

Grants read access for fulfilment locations

lcs:locations:write

Grants write access for fulfilment locations

lcs:points:read

Grants read access for parcel points

lcs:shipments:read

Grants read access for shipments

lcs:shipments:write

Grants write access for shipments

mes:conversations:read

Grants read access to conversations

mes:conversations:register

Grants access to register upon a conversation

mes:conversations:write

Grants write access to conversations

mes:domains:read

Grants read access to domains

mes:domains:write

Grants write access to domains

mes:emails:read

Grants email read access

mes:emails:write

Grants email write access

mes:inboxes:read

Grants read access to inboxes

mes:inboxes:write

Grants write access to inboxes

mes:relays:read

Grants read access for relays

mes:relays:write

Grants write access for relays

mes:subscriptions:read

Grants subscription read access

mes:subscriptions:write

Grants subscription write access

mes:webhooks:read

Grants subscription read access

odr:coupons:read

Grants read access for coupons

odr:coupons:write

Grants write access coupons

odr:credit:read

Grants read access for credit

odr:credit:write

Grants write access to credit

odr:invoices:create

Grants create access for invoices

odr:invoices:read

Grants read access for the invoices

odr:invoices:update

Grants update access for invoices

odr:metrics:read

Grants read access for the metrics

odr:orders:read

Grants read access for the orders

odr:orders:write

Grants write access to orders

odr:payments:update

Grants update access for payments

odr:providers:read

Grants read access for the payment providers

odr:skus:write

Grants write access to skus for the stack service

odr:transactions:create

Grants create access for transactions

openid

Returns the sub / user id claim

profile

Returns profile information claims

qcq:proxies:read

Grants read access for proxies

qcq:proxies:write

Grants write access for proxies

rel:contacts:read

Grants read access for the contacts

rel:contacts:write

Grants create access for address

rel:geocode:read

grants read access for geocoding

rel:identity:read

grants write access for identity

rel:identity:write

grants write access for identity

spl:hubs:read

Grants read access for hubs

spl:hubs:write

Grants write access for hubs

spl:logs:read

Grants read access to hub logs

spl:logs:write

Grants write access for logging hub information

spl:network:read

Grants read access for network listings

spl:network:write

Grants write access for network listings

spl:printers:read

Grants read access for printers

spl:printers:write

Grants write access for printers

spl:queue:create

Grants create access to the queue

spl:queue:read

Grants read access for the queued jobs

spl:queue:update

Grants update permission for jobs on the queue

tpl:themes:read

Grants read access for themes

tpl:themes:write

Grants write access for themes

wms:claim:read

Grants read access to claim

wms:claim:write

Grants write access to claim

wms:hops:read

Grants read access to hops

wms:hops:write

Grants write access to hops

wms:item:read

Grants read access to item

wms:item:write

Grants write access to item

wms:location:read

Grants read access to location

wms:location:write

Grants write access to location

wms:route:read

Grants read access to route

wms:route:write

Grants write access to route

wms:schedule:read

Grants read access to schedule

wms:schedule:write

Grants write access to schedule

wms:sub:read

Grants read access to sub

wms:sub:write

Grants write access to sub

wms:transfer:read

Grants read access to transfer

wms:transfer:write

Grants write access to transfer

Apps

Apps

List apps

GET /int/apps/store

Returns list of apps

x-page-size: integer 25
in header

(no description)

x-page: integer 1
in header

(no description)

200 OK

Apps

type
400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "code": "string",
    "name": "string",
    "description": "string",
    "tags": [
      "string"
    ],
    "author": {
      "name": "string",
      "description": "string",
      "url": "string",
      "is_third_party": "boolean"
    },
    "is_published": "boolean",
    "is_duplicate_allowed": "boolean",
    "authentication": {
      "type": "string",
      "schema": "string"
    },
    "config_schema": "string"
  }
]
Response Headers (200 OK)
x-page

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

View app

GET /int/apps/store/{code}

Returns app

code: string
in path

(no description)

200 OK

Apps

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "code": "string",
  "name": "string",
  "description": "string",
  "tags": [
    "string"
  ],
  "author": {
    "name": "string",
    "description": "string",
    "url": "string",
    "is_third_party": "boolean"
  },
  "is_published": "boolean",
  "is_duplicate_allowed": "boolean",
  "authentication": {
    "type": "string",
    "schema": "string"
  },
  "config_schema": "string"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Install app

POST /int/apps/store/{code}

Activate a new app

code: string
in path

(no description)

Request Example
{
  "name": "string",
  "credentials": "object",
  "configuration": "object"
}

Apps

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "state": "string",
  "redirect_url": "string"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Integrations

List integrations

GET /int/apps/integrations

Returns list of active integrations

app_code: string
in query

(no description)

is_deleted: string 1, 0 0
in query

(no description)

x-page-size: integer 25
in header

(no description)

x-page: integer 1
in header

(no description)

List of integrations

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "integer",
    "name": "string",
    "configuration": "object",
    "app_code": "string",
    "is_installed": "boolean",
    "active_at": "string (date-time)",
    "deleted_at": "string (date-time)",
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-page

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

View integration

GET /int/apps/integrations/{id}

Get information for an integration

id: string
in path

(no description)

List of integrations

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "integer",
  "name": "string",
  "configuration": "object",
  "app_code": "string",
  "is_installed": "boolean",
  "active_at": "string (date-time)",
  "deleted_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Update integration

PUT /int/apps/integrations/{id}

Update an integrations' configuration

id: string
in path

(no description)

Request Example
{
  "name": "string",
  "credentials": "object",
  "configuration": "object"
}

List of integrations

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "integer",
  "name": "string",
  "configuration": "object",
  "app_code": "string",
  "is_installed": "boolean",
  "active_at": "string (date-time)",
  "deleted_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Delete integration

DELETE /int/apps/integrations/{id}

Update an integrations' configuration

id: string
in path

(no description)

204 No Content

Integration deleted

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Catalog

Mapping

List collections

GET /cat/maps/collections

List collections

x-page: string
in header

(no description)

x-page-size: string
in header

(no description)

List collections

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "last_upsert_at": "string (date-time)",
    "last_miss_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-count

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

View collection

GET /cat/maps/collections/{id}

View collection

id: string
in path

(no description)

View collection

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "last_upsert_at": "string (date-time)",
  "last_miss_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

List misses

GET /cat/maps/collections/{id}/misses

List misses for a collection

id: string
in path

(no description)

x-page: string
in header

(no description)

x-page-size: string
in header

(no description)

List of msises for a collection

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "key": "string",
    "count": "integer",
    "last_miss_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-count

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

List keys

GET /cat/maps/collections/{id}/keys

List keys for a category

id: string
in path

(no description)

x-page: string
in header

(no description)

x-page-size: string
in header

(no description)

200 OK

List of maps

type
400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "key": "string",
    "value": "string",
    "upserted_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-count

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Upsert keys

PUT /cat/maps/collections/{id}/keys

Upsert keys, create or update values

object
key: string
value: string
id: string
in path

(no description)

Request Example
[
  {
    "key": "978020137962",
    "value": "234.SKE-4255.ABC"
  }
]
204 No Content

Updated map

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Search keys

POST /cat/maps/collections/{id}/search

Search keys for values

id: string
in path

(no description)

200 OK

The newly created theme

type
object
400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "hits": {
    "978020137962": "234.SKE-4255.ABC"
  },
  "misses": [
    "978020137964"
  ]
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Groups

Get a list of price groups

GET /cat/groups

Get a listing of available pricing groups

x-page: string 1
in header

the requested page id

x-page-size: string 25
in header

the requested page size

200 OK

List of pricing groups

type
400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "name": "string",
    "is_including_vat": "boolean",
    "currency": "string",
    "metadata": "object",
    "deleted_at": "string (date-time)",
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-count

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Create a new pricing group

POST /cat/groups

Add a new pricing group to the list

undefined

Request Example
{
  "name": "string",
  "is_including_vat": "boolean",
  "currency": "string",
  "metadata": "object"
}
200 OK

The new pricing group

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "name": "string",
  "is_including_vat": "boolean",
  "currency": "string",
  "metadata": "object",
  "deleted_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

View a pricing group

GET /cat/groups/{id}

View the pricing group by id

id: string
in path

(no description)

200 OK

The group

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "name": "string",
  "is_including_vat": "boolean",
  "currency": "string",
  "metadata": "object",
  "deleted_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Update a pricing group

PUT /cat/groups/{id}

Update metadata or the name of the pricing group

undefined

id: string
in path

(no description)

Request Example
{
  "name": "string",
  "metadata": "object"
}
200 OK

The updated group

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "name": "string",
  "is_including_vat": "boolean",
  "currency": "string",
  "metadata": "object",
  "deleted_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Disable a pricing group

DELETE /cat/groups/{id}

Disabling a pricing group makes sure it cannot me added to new settings

id: string
in path

(no description)

200 OK

The disabled group

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "name": "string",
  "is_including_vat": "boolean",
  "currency": "string",
  "metadata": "object",
  "deleted_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Prices

Get a list of prices within a group

GET /cat/groups/{id}/prices

Get a listing of prices that are stored in the group

x-page: string 1
in header

the requested page id

x-page-size: string 25
in header

the requested page size

id: string
in path

(no description)

country: string
in query

US - use to filter tax rate results

administrative_area: string
in query

Florida - use to filter tax rate results

200 OK

List of prices

type
400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string (uuid)",
    "sku": "string",
    "amount": "integer",
    "original_amount": "integer",
    "vat": [
      {
        "rate": "integer",
        "country": "string",
        "administrative_area": "string"
      }
    ],
    "price_group_id": "string (uuid)",
    "active_at": "string (date-time)",
    "created_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-count

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Search for prices

POST /cat/groups/{id}/prices

Query for a set of prices

undefined

id: string
in path

(no description)

Request Example
{
  "active_at": "string (date-time)",
  "constraints": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "string"
      ]
    }
  ]
}
200 OK

The new pricing group

type
400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string (uuid)",
    "sku": "string",
    "amount": "integer",
    "original_amount": "integer",
    "vat": [
      {
        "rate": "integer",
        "country": "string",
        "administrative_area": "string"
      }
    ],
    "price_group_id": "string (uuid)",
    "active_at": "string (date-time)",
    "created_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-count

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Upsert prices

PUT /cat/groups/{id}/prices

Create or update prices

CatNewPrice
id: string
in path

(no description)

Request Example
[
  {
    "sku": "string",
    "amount": "integer",
    "original_amount": "integer",
    "active_at": "string (date-time)"
  }
]
200 OK

The upsert results

type
object
400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "success": 1
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get a list of prices for a sku

GET /cat/groups/{id}/prices/{sku}

View a historic or planned list of prices for a sku

x-page: string 1
in header

the requested page id

x-page-size: string 25
in header

the requested page size

id: string
in path

(no description)

sku: string
in path

(no description)

is_planned: string 1, 0 0
in query

Use to query only future / planned prices

200 OK

List of prices

type
400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string (uuid)",
    "sku": "string",
    "amount": "integer",
    "original_amount": "integer",
    "vat": [
      {
        "rate": "integer",
        "country": "string",
        "administrative_area": "string"
      }
    ],
    "price_group_id": "string (uuid)",
    "active_at": "string (date-time)",
    "created_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-count

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get price

GET /cat/prices/{id}

Get a single price by its ID

id: string
in path

(no description)

200 OK

The price

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string (uuid)",
  "sku": "string",
  "amount": "integer",
  "original_amount": "integer",
  "vat": [
    {
      "rate": "integer",
      "country": "string",
      "administrative_area": "string"
    }
  ],
  "price_group_id": "string (uuid)",
  "active_at": "string (date-time)",
  "created_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Vat

Vat

Get a list of vat rates

GET /cat/vat

Get a listing of vat rates per country

x-page: string 1
in header

the requested page id

x-page-size: string 25
in header

the requested page size

country: string
in query

US

administrative_area: string
in query

Florida

200 OK

List of vat groups

type
400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "reference": "integer",
    "rate": "integer",
    "country": "string",
    "is_default": "boolean",
    "administrative_area": "string",
    "active_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-page

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Vat

Upsert vat rates for skus

PUT /cat/vat/products

Create or update the vat group per country for given skus

Request Example
[
  {
    "sku": "string",
    "rates": [
      {
        "country": "string",
        "administrative_area": "string",
        "reference": "integer"
      }
    ]
  }
]
200 OK

The upsert results

type
object
400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "success": 1,
  "failed": 0
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Channel service

Channels

List channels

GET /cat/channels

Get a list of channels

is_deleted: string 0, 1 0
in query

(no description)

x-page: string
in header

(no description)

x-page-size: string
in header

(no description)

type: string
in query

(no description)

200 OK

The channel

type
400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string (uuid)",
    "name": "string",
    "type": "string",
    "description": "string",
    "client_id": "string",
    "deleted_at": "string",
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-page

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Create channel

POST /cat/channels

Add a new channel

undefined

Request Example
{
  "name": "string",
  "type": "string",
  "description": "string",
  "client_id": "string"
}
200 OK

The channel

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string (uuid)",
  "name": "string",
  "type": "string",
  "description": "string",
  "client_id": "string",
  "deleted_at": "string",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

View channel

GET /cat/channels/{id}

Get a single channel

id: string
in path

(no description)

200 OK

The channel

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string (uuid)",
  "name": "string",
  "type": "string",
  "description": "string",
  "client_id": "string",
  "deleted_at": "string",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Update channel

PUT /cat/channels/{id}

Update an existing channel

undefined

id: string
in path

(no description)

Request Example
{
  "name": "string",
  "description": "string"
}
200 OK

The updated channel

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string (uuid)",
  "name": "string",
  "type": "string",
  "description": "string",
  "client_id": "string",
  "deleted_at": "string",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Delete channel

DELETE /cat/channels/{id}

Delete / disable an existing channel

id: string
in path

(no description)

204 No Content

Channel deleted

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Contacts

Contacts

Get list of contacts

GET /rel/contacts

Returns a list of contact information

x-page: string
in header

(no description)

x-page-size: string
in header

(no description)

200 OK

List of contacts

type
400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "version": "string",
    "email": "string",
    "is_guest": "boolean",
    "audience": "string",
    "tags": [
      "string"
    ],
    "given_name": "string",
    "additional_name": "string",
    "family_name": "string",
    "organisations": {
      "primary": {
        "id": "string",
        "version": "string",
        "name": "string",
        "file_id": "string",
        "coc_number": "string",
        "account_manager": "string",
        "administration": {
          "email": "string"
        },
        "tags": [
          "string"
        ],
        "metadata": "object",
        "registrations": [
          {
            "country_code": "string",
            "number": "string",
            "verification": {
              "is_pending": "boolean",
              "is_valid": "boolean",
              "country_code": "string",
              "name": "string",
              "type": "string",
              "metadata": "object",
              "verified_at": "string (date-time)"
            }
          }
        ],
        "payment_settings": {
          "post_payment": {
            "spending_limit": "integer (int64)",
            "current_due_amount": "integer",
            "due_after": "integer",
            "iban": [
              "string"
            ]
          },
          "invoice": {
            "is_expected_through_post_mail": "boolean",
            "is_expected_through_email": "boolean",
            "is_expected_at_delivery": "boolean"
          }
        },
        "phone_numbers": {
          "primary": {
            "id": "string",
            "country_code": "string",
            "number": "string",
            "national": "string",
            "type": "string",
            "created_at": "string (date-time)"
          },
          "secondary": [
            "#/definitions/RelPhoneNumber"
          ]
        },
        "billing": {
          "primary": {
            "id": "string",
            "country_code": "string",
            "administrative_area": "string",
            "locality": "string",
            "dependent_locality": "string",
            "postal_code": "string",
            "sorting_code": "string",
            "address_line_1": "string",
            "address_line_2": "string",
            "thoroughfare": "string",
            "premise_number": "integer",
            "premise_number_suffix": "string",
            "organisation": "string",
            "given_name": "string",
            "additional_name": "string",
            "family_name": "string",
            "geo_location": {
              "lat": "number",
              "long": "number",
              "box": {
                "north_east": {
                  "lat": "number",
                  "long": "number"
                },
                "south_west": {
                  "lat": "number"
                }
              }
            }
          }
        }
      }
    }
  }
]
Response Headers (200 OK)
x-page

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Upsert a new contact

PUT /rel/contacts

Create or update an existing contact, based on its email address. This only updates the primary lists and moves existing primaries to the secondary lists when changed.

undefined

Request Example
{
  "email": "string",
  "is_guest": "boolean",
  "audience": "string",
  "tags": [
    "string"
  ],
  "given_name": "string",
  "additional_name": "string",
  "family_name": "string",
  "organisations": {
    "primary": {
      "id": "string",
      "version": "string"
    },
    "secondary": [
      "#/definitions/RelContactUpdateOrganisationsPrimary"
    ]
  },
  "billing": {
    "primary": "string",
    "secondary": [
      "string"
    ]
  },
  "shipping": {
    "primary": "string",
    "secondary": [
      "string"
    ]
  },
  "phone_numbers": {
    "primary": "string",
    "secondary": [
      "string"
    ]
  },
  "metadata": "object"
}
200 OK

The created / updated contact

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "version": "string",
  "email": "string",
  "is_guest": "boolean",
  "audience": "string",
  "tags": [
    "string"
  ],
  "given_name": "string",
  "additional_name": "string",
  "family_name": "string",
  "organisations": {
    "primary": {
      "id": "string",
      "version": "string",
      "name": "string",
      "file_id": "string",
      "coc_number": "string",
      "account_manager": "string",
      "administration": {
        "email": "string"
      },
      "tags": [
        "string"
      ],
      "metadata": "object",
      "registrations": [
        {
          "country_code": "string",
          "number": "string",
          "verification": {
            "is_pending": "boolean",
            "is_valid": "boolean",
            "country_code": "string",
            "name": "string",
            "type": "string",
            "metadata": "object",
            "verified_at": "string (date-time)"
          }
        }
      ],
      "payment_settings": {
        "post_payment": {
          "spending_limit": "integer (int64)",
          "current_due_amount": "integer",
          "due_after": "integer",
          "iban": [
            "string"
          ]
        },
        "invoice": {
          "is_expected_through_post_mail": "boolean",
          "is_expected_through_email": "boolean",
          "is_expected_at_delivery": "boolean"
        }
      },
      "phone_numbers": {
        "primary": {
          "id": "string",
          "country_code": "string",
          "number": "string",
          "national": "string",
          "type": "string",
          "created_at": "string (date-time)"
        },
        "secondary": [
          "#/definitions/RelPhoneNumber"
        ]
      },
      "billing": {
        "primary": {
          "id": "string",
          "country_code": "string",
          "administrative_area": "string",
          "locality": "string",
          "dependent_locality": "string",
          "postal_code": "string",
          "sorting_code": "string",
          "address_line_1": "string",
          "address_line_2": "string",
          "thoroughfare": "string",
          "premise_number": "integer",
          "premise_number_suffix": "string",
          "organisation": "string",
          "given_name": "string",
          "additional_name": "string",
          "family_name": "string",
          "geo_location": {
            "lat": "number",
            "long": "number",
            "box": {
              "north_east": {
                "lat": "number",
                "long": "number"
              },
              "south_west": {
                "lat": "number",
                "long": "number"
              }
            }
          }
        }
      }
    }
  }
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Search contacts

POST /rel/contacts

Search contacts based on their id's or email addresses

undefined

Request Example
{
  "constraints": [
    {
      "key": "string",
      "operator": "string",
      "value": [
        "string"
      ]
    }
  ]
}
200 OK

The newly created invoice

type
400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "version": "string",
    "email": "string",
    "is_guest": "boolean",
    "audience": "string",
    "tags": [
      "string"
    ],
    "given_name": "string",
    "additional_name": "string",
    "family_name": "string",
    "organisations": {
      "primary": {
        "id": "string",
        "version": "string",
        "name": "string",
        "file_id": "string",
        "coc_number": "string",
        "account_manager": "string",
        "administration": {
          "email": "string"
        },
        "tags": [
          "string"
        ],
        "metadata": "object",
        "registrations": [
          {
            "country_code": "string",
            "number": "string",
            "verification": {
              "is_pending": "boolean",
              "is_valid": "boolean",
              "country_code": "string",
              "name": "string",
              "type": "string",
              "metadata": "object",
              "verified_at": "string (date-time)"
            }
          }
        ],
        "payment_settings": {
          "post_payment": {
            "spending_limit": "integer (int64)",
            "current_due_amount": "integer",
            "due_after": "integer",
            "iban": [
              "string"
            ]
          },
          "invoice": {
            "is_expected_through_post_mail": "boolean",
            "is_expected_through_email": "boolean",
            "is_expected_at_delivery": "boolean"
          }
        },
        "phone_numbers": {
          "primary": {
            "id": "string",
            "country_code": "string",
            "number": "string",
            "national": "string",
            "type": "string",
            "created_at": "string (date-time)"
          },
          "secondary": [
            "#/definitions/RelPhoneNumber"
          ]
        },
        "billing": {
          "primary": {
            "id": "string",
            "country_code": "string",
            "administrative_area": "string",
            "locality": "string",
            "dependent_locality": "string",
            "postal_code": "string",
            "sorting_code": "string",
            "address_line_1": "string",
            "address_line_2": "string",
            "thoroughfare": "string",
            "premise_number": "integer",
            "premise_number_suffix": "string",
            "organisation": "string",
            "given_name": "string",
            "additional_name": "string",
            "family_name": "string",
            "geo_location": {
              "lat": "number",
              "long": "number",
              "box": {
                "north_east": {
                  "lat": "number",
                  "long": "number"
                },
                "south_west": {
                  "lat": "number"
                }
              }
            }
          }
        }
      }
    }
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

View a single contact

GET /rel/contacts/{id}

Returns a single contact by id

id: string
in path

(no description)

version: string
in query

(no description)

200 OK

The contact data

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "version": "string",
  "email": "string",
  "is_guest": "boolean",
  "audience": "string",
  "tags": [
    "string"
  ],
  "given_name": "string",
  "additional_name": "string",
  "family_name": "string",
  "organisations": {
    "primary": {
      "id": "string",
      "version": "string",
      "name": "string",
      "file_id": "string",
      "coc_number": "string",
      "account_manager": "string",
      "administration": {
        "email": "string"
      },
      "tags": [
        "string"
      ],
      "metadata": "object",
      "registrations": [
        {
          "country_code": "string",
          "number": "string",
          "verification": {
            "is_pending": "boolean",
            "is_valid": "boolean",
            "country_code": "string",
            "name": "string",
            "type": "string",
            "metadata": "object",
            "verified_at": "string (date-time)"
          }
        }
      ],
      "payment_settings": {
        "post_payment": {
          "spending_limit": "integer (int64)",
          "current_due_amount": "integer",
          "due_after": "integer",
          "iban": [
            "string"
          ]
        },
        "invoice": {
          "is_expected_through_post_mail": "boolean",
          "is_expected_through_email": "boolean",
          "is_expected_at_delivery": "boolean"
        }
      },
      "phone_numbers": {
        "primary": {
          "id": "string",
          "country_code": "string",
          "number": "string",
          "national": "string",
          "type": "string",
          "created_at": "string (date-time)"
        },
        "secondary": [
          "#/definitions/RelPhoneNumber"
        ]
      },
      "billing": {
        "primary": {
          "id": "string",
          "country_code": "string",
          "administrative_area": "string",
          "locality": "string",
          "dependent_locality": "string",
          "postal_code": "string",
          "sorting_code": "string",
          "address_line_1": "string",
          "address_line_2": "string",
          "thoroughfare": "string",
          "premise_number": "integer",
          "premise_number_suffix": "string",
          "organisation": "string",
          "given_name": "string",
          "additional_name": "string",
          "family_name": "string",
          "geo_location": {
            "lat": "number",
            "long": "number",
            "box": {
              "north_east": {
                "lat": "number",
                "long": "number"
              },
              "south_west": {
                "lat": "number",
                "long": "number"
              }
            }
          }
        }
      }
    }
  }
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Delete a contact

DELETE /rel/contacts/{id}

Delete a contact by id

id: string
in path

(no description)

204 No Content

Deleted

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

View a list of versions for a a single contact

GET /rel/contacts/{id}/versions

Returns a version list for the contact

id: string
in path

(no description)

200 OK

The versions

type
400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "version": "string",
    "created_at": "string (date-time)"
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Addresses

Create a new address

POST /rel/addresses

Create an address

undefined

Request Example
{
  "country_code": "string",
  "administrative_area": "string",
  "locality": "string",
  "dependent_locality": "string",
  "postal_code": "string",
  "sorting_code": "string",
  "address_line_1": "string",
  "address_line_2": "string",
  "thoroughfare": "string",
  "premise_number": "integer",
  "premise_number_suffix": "string",
  "organisation": "string",
  "given_name": "string",
  "additional_name": "string",
  "family_name": "string"
}
200 OK

The newly created address

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "country_code": "string",
  "administrative_area": "string",
  "locality": "string",
  "dependent_locality": "string",
  "postal_code": "string",
  "sorting_code": "string",
  "address_line_1": "string",
  "address_line_2": "string",
  "thoroughfare": "string",
  "premise_number": "integer",
  "premise_number_suffix": "string",
  "organisation": "string",
  "given_name": "string",
  "additional_name": "string",
  "family_name": "string",
  "geo_location": {
    "lat": "number",
    "long": "number",
    "box": {
      "north_east": {
        "lat": "number",
        "long": "number"
      },
      "south_west": {
        "lat": "number",
        "long": "number"
      }
    },
    "is_precise": "boolean",
    "address": {
      "premise_number": "integer",
      "premise_number_suffix": "string",
      "thoroughfare": "string",
      "postal_code": "string",
      "locality": "string",
      "administrative_area": "string",
      "country_code": "string"
    }
  },
  "created_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

View a single address

GET /rel/addresses/{id}

Returns a single address by id

id: string
in path

(no description)

200 OK

The address

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "country_code": "string",
  "administrative_area": "string",
  "locality": "string",
  "dependent_locality": "string",
  "postal_code": "string",
  "sorting_code": "string",
  "address_line_1": "string",
  "address_line_2": "string",
  "thoroughfare": "string",
  "premise_number": "integer",
  "premise_number_suffix": "string",
  "organisation": "string",
  "given_name": "string",
  "additional_name": "string",
  "family_name": "string",
  "geo_location": {
    "lat": "number",
    "long": "number",
    "box": {
      "north_east": {
        "lat": "number",
        "long": "number"
      },
      "south_west": {
        "lat": "number",
        "long": "number"
      }
    },
    "is_precise": "boolean",
    "address": {
      "premise_number": "integer",
      "premise_number_suffix": "string",
      "thoroughfare": "string",
      "postal_code": "string",
      "locality": "string",
      "administrative_area": "string",
      "country_code": "string"
    }
  },
  "created_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Search

Search addresses

POST /rel/search/address

Search addresses

undefined

Request Example
{
  "constraints": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "string"
      ]
    }
  ]
}
200 OK

The matched addresses

type
400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "country_code": "string",
    "administrative_area": "string",
    "locality": "string",
    "dependent_locality": "string",
    "postal_code": "string",
    "sorting_code": "string",
    "address_line_1": "string",
    "address_line_2": "string",
    "thoroughfare": "string",
    "premise_number": "integer",
    "premise_number_suffix": "string",
    "organisation": "string",
    "given_name": "string",
    "additional_name": "string",
    "family_name": "string",
    "geo_location": {
      "lat": "number",
      "long": "number",
      "box": {
        "north_east": {
          "lat": "number",
          "long": "number"
        },
        "south_west": {
          "lat": "number",
          "long": "number"
        }
      },
      "is_precise": "boolean",
      "address": {
        "premise_number": "integer",
        "premise_number_suffix": "string",
        "thoroughfare": "string",
        "postal_code": "string",
        "locality": "string",
        "administrative_area": "string",
        "country_code": "string"
      }
    },
    "created_at": "string (date-time)"
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Search phone numbers

POST /rel/search/phonenumbers

Search phone numbers

Request Example
{
  "constraints": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "string"
      ]
    }
  ]
}

The matched phone numbers

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "country_code": "string",
    "number": "string",
    "national": "string",
    "type": "string",
    "created_at": "string (date-time)"
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Search organisations

POST /rel/search/organisations

Search organisations

Request Example
{
  "constraints": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "string"
      ]
    }
  ]
}

The matched organisations

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "version": "string",
    "name": "string",
    "file_id": "string",
    "coc_number": "string",
    "account_manager": "string",
    "administration": {
      "email": "string"
    },
    "tags": [
      "string"
    ],
    "metadata": "object",
    "registrations": [
      {
        "country_code": "string",
        "number": "string",
        "verification": {
          "is_pending": "boolean",
          "is_valid": "boolean",
          "country_code": "string",
          "name": "string",
          "type": "string",
          "metadata": "object",
          "verified_at": "string (date-time)"
        }
      }
    ],
    "payment_settings": {
      "post_payment": {
        "spending_limit": "integer (int64)",
        "current_due_amount": "integer",
        "due_after": "integer",
        "iban": [
          "string"
        ]
      },
      "invoice": {
        "is_expected_through_post_mail": "boolean",
        "is_expected_through_email": "boolean",
        "is_expected_at_delivery": "boolean"
      }
    },
    "phone_numbers": {
      "primary": {
        "id": "string",
        "country_code": "string",
        "number": "string",
        "national": "string",
        "type": "string",
        "created_at": "string (date-time)"
      },
      "secondary": [
        "#/definitions/RelPhoneNumber"
      ]
    },
    "billing": {
      "primary": {
        "id": "string",
        "country_code": "string",
        "administrative_area": "string",
        "locality": "string",
        "dependent_locality": "string",
        "postal_code": "string",
        "sorting_code": "string",
        "address_line_1": "string",
        "address_line_2": "string",
        "thoroughfare": "string",
        "premise_number": "integer",
        "premise_number_suffix": "string",
        "organisation": "string",
        "given_name": "string",
        "additional_name": "string",
        "family_name": "string",
        "geo_location": {
          "lat": "number",
          "long": "number",
          "box": {
            "north_east": {
              "lat": "number",
              "long": "number"
            },
            "south_west": {
              "lat": "number",
              "long": "number"
            }
          },
          "is_precise": "boolean",
          "address": {
            "premise_number": "integer",
            "premise_number_suffix": "string",
            "thoroughfare": "string",
            "postal_code": "string",
            "locality": "string",
            "administrative_area": "string",
            "country_code": "string"
          }
        },
        "created_at": "string (date-time)"
      },
      "secondary": [
        "#/definitions/RelAddress"
      ]
    }
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Geocoding

Geocode address

GET /rel/addresses/{id}/geocode

Get lat long parameters for party address

id: string
in path

(no description)

The created id token

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "lat": "number",
  "long": "number",
  "box": {
    "north_east": {
      "lat": "number",
      "long": "number"
    },
    "south_west": {
      "lat": "number",
      "long": "number"
    }
  },
  "is_precise": "boolean",
  "address": {
    "premise_number": "integer",
    "premise_number_suffix": "string",
    "thoroughfare": "string",
    "postal_code": "string",
    "locality": "string",
    "administrative_area": "string",
    "country_code": "string"
  }
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get geocode

POST /rel/geocode

Get lat long parameters for party address

undefined

Request Example
{
  "country_code": "string",
  "address": "string"
}

The created id token

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "lat": "number",
  "long": "number",
  "box": {
    "north_east": {
      "lat": "number",
      "long": "number"
    },
    "south_west": {
      "lat": "number",
      "long": "number"
    }
  },
  "is_precise": "boolean",
  "address": {
    "premise_number": "integer",
    "premise_number_suffix": "string",
    "thoroughfare": "string",
    "postal_code": "string",
    "locality": "string",
    "administrative_area": "string",
    "country_code": "string"
  }
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Options

Get required fiels for an address based on country

GET /rel/options/addresses

List required fields

country_code: string
in query

Defaults to country that can be linked to client IP

200 OK

The list of required fields

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "required": [
    "string"
  ],
  "allowed": [
    "string"
  ],
  "country_code": "string"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Start session

GET /rel/search/addresses

Start an search session

country_code: string
in query

(no description)

session_key: string
in query

(no description)

The newly created session token

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "session_key": "string"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Search address

POST /rel/search/addresses

Search an address

undefined

Request Example
{
  "session_key": "string",
  "context": "string",
  "query": "string"
}

The list of options

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "options": [
    {
      "value": "string",
      "precision": "string",
      "label": "string",
      "description": "string",
      "context": "string"
    }
  ],
  "result": {
    "lat": "number",
    "long": "number",
    "box": {
      "north_east": {
        "lat": "number",
        "long": "number"
      },
      "south_west": {
        "lat": "number",
        "long": "number"
      }
    },
    "is_precise": "boolean",
    "address": {
      "premise_number": "integer",
      "premise_number_suffix": "string",
      "thoroughfare": "string",
      "postal_code": "string",
      "locality": "string",
      "administrative_area": "string",
      "country_code": "string"
    }
  }
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Phonenumbers

Create a new phonenumber

POST /rel/phonenumbers

Create a phonenumber

Request Example
{
  "country_code": "string",
  "number": "string"
}

The newly created phonenumber

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "country_code": "string",
  "number": "string",
  "national": "string",
  "type": "string",
  "created_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

View a single phonenumber

GET /rel/phonenumbers/{id}

Returns a single phonenumber by id

id: string
in path

(no description)

The phonenumber

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "country_code": "string",
  "number": "string",
  "national": "string",
  "type": "string",
  "created_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Organisations

Get list of organisations

GET /rel/organisations

Returns a list of organisation information

x-page: string
in header

(no description)

x-page-size: string
in header

(no description)

List of organisations

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "version": "string",
    "name": "string",
    "file_id": "string",
    "coc_number": "string",
    "account_manager": "string",
    "administration": {
      "email": "string"
    },
    "tags": [
      "string"
    ],
    "metadata": "object",
    "registrations": [
      {
        "country_code": "string",
        "number": "string",
        "verification": {
          "is_pending": "boolean",
          "is_valid": "boolean",
          "country_code": "string",
          "name": "string",
          "type": "string",
          "metadata": "object",
          "verified_at": "string (date-time)"
        }
      }
    ],
    "payment_settings": {
      "post_payment": {
        "spending_limit": "integer (int64)",
        "current_due_amount": "integer",
        "due_after": "integer",
        "iban": [
          "string"
        ]
      },
      "invoice": {
        "is_expected_through_post_mail": "boolean",
        "is_expected_through_email": "boolean",
        "is_expected_at_delivery": "boolean"
      }
    },
    "phone_numbers": {
      "primary": {
        "id": "string",
        "country_code": "string",
        "number": "string",
        "national": "string",
        "type": "string",
        "created_at": "string (date-time)"
      },
      "secondary": [
        "#/definitions/RelPhoneNumber"
      ]
    },
    "billing": {
      "primary": {
        "id": "string",
        "country_code": "string",
        "administrative_area": "string",
        "locality": "string",
        "dependent_locality": "string",
        "postal_code": "string",
        "sorting_code": "string",
        "address_line_1": "string",
        "address_line_2": "string",
        "thoroughfare": "string",
        "premise_number": "integer",
        "premise_number_suffix": "string",
        "organisation": "string",
        "given_name": "string",
        "additional_name": "string",
        "family_name": "string",
        "geo_location": {
          "lat": "number",
          "long": "number",
          "box": {
            "north_east": {
              "lat": "number",
              "long": "number"
            },
            "south_west": {
              "lat": "number",
              "long": "number"
            }
          },
          "is_precise": "boolean",
          "address": {
            "premise_number": "integer",
            "premise_number_suffix": "string",
            "thoroughfare": "string",
            "postal_code": "string",
            "locality": "string",
            "administrative_area": "string",
            "country_code": "string"
          }
        },
        "created_at": "string (date-time)"
      },
      "secondary": [
        "#/definitions/RelAddress"
      ]
    }
  }
]
Response Headers (200 OK)
x-page

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Create a new organisation

POST /rel/organisations

Create an organisation

Request Example
{
  "name": "string",
  "file_id": "string",
  "coc_number": "string",
  "account_manager": "string",
  "tags": [
    "string"
  ],
  "metadata": "object",
  "registrations": [
    {
      "country_code": "string",
      "number": "string"
    }
  ],
  "payment_settings": {
    "post_payment": {
      "spending_limit": "integer (int64)",
      "current_due_amount": "integer",
      "due_after": "integer",
      "iban": [
        "string"
      ]
    },
    "invoice": {
      "is_expected_through_post_mail": "boolean",
      "is_expected_through_email": "boolean",
      "is_expected_at_delivery": "boolean"
    }
  },
  "billing": {
    "primary": "string",
    "secondary": [
      "string"
    ]
  },
  "shipping": {
    "primary": "string",
    "secondary": [
      "string"
    ]
  },
  "phone_numbers": {
    "primary": "string",
    "secondary": [
      "string"
    ]
  },
  "administration": {
    "email": "string"
  }
}

The newly created organisation

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "version": "string",
  "name": "string",
  "file_id": "string",
  "coc_number": "string",
  "account_manager": "string",
  "administration": {
    "email": "string"
  },
  "tags": [
    "string"
  ],
  "metadata": "object",
  "registrations": [
    {
      "country_code": "string",
      "number": "string",
      "verification": {
        "is_pending": "boolean",
        "is_valid": "boolean",
        "country_code": "string",
        "name": "string",
        "type": "string",
        "metadata": "object",
        "verified_at": "string (date-time)"
      }
    }
  ],
  "payment_settings": {
    "post_payment": {
      "spending_limit": "integer (int64)",
      "current_due_amount": "integer",
      "due_after": "integer",
      "iban": [
        "string"
      ]
    },
    "invoice": {
      "is_expected_through_post_mail": "boolean",
      "is_expected_through_email": "boolean",
      "is_expected_at_delivery": "boolean"
    }
  },
  "phone_numbers": {
    "primary": {
      "id": "string",
      "country_code": "string",
      "number": "string",
      "national": "string",
      "type": "string",
      "created_at": "string (date-time)"
    },
    "secondary": [
      "#/definitions/RelPhoneNumber"
    ]
  },
  "billing": {
    "primary": {
      "id": "string",
      "country_code": "string",
      "administrative_area": "string",
      "locality": "string",
      "dependent_locality": "string",
      "postal_code": "string",
      "sorting_code": "string",
      "address_line_1": "string",
      "address_line_2": "string",
      "thoroughfare": "string",
      "premise_number": "integer",
      "premise_number_suffix": "string",
      "organisation": "string",
      "given_name": "string",
      "additional_name": "string",
      "family_name": "string",
      "geo_location": {
        "lat": "number",
        "long": "number",
        "box": {
          "north_east": {
            "lat": "number",
            "long": "number"
          },
          "south_west": {
            "lat": "number",
            "long": "number"
          }
        },
        "is_precise": "boolean",
        "address": {
          "premise_number": "integer",
          "premise_number_suffix": "string",
          "thoroughfare": "string",
          "postal_code": "string",
          "locality": "string",
          "administrative_area": "string",
          "country_code": "string"
        }
      },
      "created_at": "string (date-time)"
    },
    "secondary": [
      "#/definitions/RelAddress"
    ]
  },
  "shipping": "#/definitions/RelAddressList"
}
Response Headers (200 OK)
x-task-id

undefined

string (uuid)
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

View a single organisation

GET /rel/organisations/{id}

Returns a single organisation by id

id: string
in path

(no description)

version: string
in query

(no description)

The organisation

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "version": "string",
  "name": "string",
  "file_id": "string",
  "coc_number": "string",
  "account_manager": "string",
  "administration": {
    "email": "string"
  },
  "tags": [
    "string"
  ],
  "metadata": "object",
  "registrations": [
    {
      "country_code": "string",
      "number": "string",
      "verification": {
        "is_pending": "boolean",
        "is_valid": "boolean",
        "country_code": "string",
        "name": "string",
        "type": "string",
        "metadata": "object",
        "verified_at": "string (date-time)"
      }
    }
  ],
  "payment_settings": {
    "post_payment": {
      "spending_limit": "integer (int64)",
      "current_due_amount": "integer",
      "due_after": "integer",
      "iban": [
        "string"
      ]
    },
    "invoice": {
      "is_expected_through_post_mail": "boolean",
      "is_expected_through_email": "boolean",
      "is_expected_at_delivery": "boolean"
    }
  },
  "phone_numbers": {
    "primary": {
      "id": "string",
      "country_code": "string",
      "number": "string",
      "national": "string",
      "type": "string",
      "created_at": "string (date-time)"
    },
    "secondary": [
      "#/definitions/RelPhoneNumber"
    ]
  },
  "billing": {
    "primary": {
      "id": "string",
      "country_code": "string",
      "administrative_area": "string",
      "locality": "string",
      "dependent_locality": "string",
      "postal_code": "string",
      "sorting_code": "string",
      "address_line_1": "string",
      "address_line_2": "string",
      "thoroughfare": "string",
      "premise_number": "integer",
      "premise_number_suffix": "string",
      "organisation": "string",
      "given_name": "string",
      "additional_name": "string",
      "family_name": "string",
      "geo_location": {
        "lat": "number",
        "long": "number",
        "box": {
          "north_east": {
            "lat": "number",
            "long": "number"
          },
          "south_west": {
            "lat": "number",
            "long": "number"
          }
        },
        "is_precise": "boolean",
        "address": {
          "premise_number": "integer",
          "premise_number_suffix": "string",
          "thoroughfare": "string",
          "postal_code": "string",
          "locality": "string",
          "administrative_area": "string",
          "country_code": "string"
        }
      },
      "created_at": "string (date-time)"
    },
    "secondary": [
      "#/definitions/RelAddress"
    ]
  },
  "shipping": "#/definitions/RelAddressList"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Update an organisation

PUT /rel/organisations/{id}

Updates an existing organisation

id: string
in path

(no description)

Request Example
{
  "name": "string",
  "file_id": "string",
  "coc_number": "string",
  "account_manager": "string",
  "tags": [
    "string"
  ],
  "metadata": "object",
  "registrations": [
    {
      "country_code": "string",
      "number": "string"
    }
  ],
  "payment_settings": {
    "post_payment": {
      "spending_limit": "integer (int64)",
      "current_due_amount": "integer",
      "due_after": "integer",
      "iban": [
        "string"
      ]
    },
    "invoice": {
      "is_expected_through_post_mail": "boolean",
      "is_expected_through_email": "boolean",
      "is_expected_at_delivery": "boolean"
    }
  },
  "billing": {
    "primary": "string",
    "secondary": [
      "string"
    ]
  },
  "shipping": {
    "primary": "string",
    "secondary": [
      "string"
    ]
  },
  "phone_numbers": {
    "primary": "string",
    "secondary": [
      "string"
    ]
  },
  "administration": {
    "email": "string"
  }
}

The organisation

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "version": "string",
  "name": "string",
  "file_id": "string",
  "coc_number": "string",
  "account_manager": "string",
  "administration": {
    "email": "string"
  },
  "tags": [
    "string"
  ],
  "metadata": "object",
  "registrations": [
    {
      "country_code": "string",
      "number": "string",
      "verification": {
        "is_pending": "boolean",
        "is_valid": "boolean",
        "country_code": "string",
        "name": "string",
        "type": "string",
        "metadata": "object",
        "verified_at": "string (date-time)"
      }
    }
  ],
  "payment_settings": {
    "post_payment": {
      "spending_limit": "integer (int64)",
      "current_due_amount": "integer",
      "due_after": "integer",
      "iban": [
        "string"
      ]
    },
    "invoice": {
      "is_expected_through_post_mail": "boolean",
      "is_expected_through_email": "boolean",
      "is_expected_at_delivery": "boolean"
    }
  },
  "phone_numbers": {
    "primary": {
      "id": "string",
      "country_code": "string",
      "number": "string",
      "national": "string",
      "type": "string",
      "created_at": "string (date-time)"
    },
    "secondary": [
      "#/definitions/RelPhoneNumber"
    ]
  },
  "billing": {
    "primary": {
      "id": "string",
      "country_code": "string",
      "administrative_area": "string",
      "locality": "string",
      "dependent_locality": "string",
      "postal_code": "string",
      "sorting_code": "string",
      "address_line_1": "string",
      "address_line_2": "string",
      "thoroughfare": "string",
      "premise_number": "integer",
      "premise_number_suffix": "string",
      "organisation": "string",
      "given_name": "string",
      "additional_name": "string",
      "family_name": "string",
      "geo_location": {
        "lat": "number",
        "long": "number",
        "box": {
          "north_east": {
            "lat": "number",
            "long": "number"
          },
          "south_west": {
            "lat": "number",
            "long": "number"
          }
        },
        "is_precise": "boolean",
        "address": {
          "premise_number": "integer",
          "premise_number_suffix": "string",
          "thoroughfare": "string",
          "postal_code": "string",
          "locality": "string",
          "administrative_area": "string",
          "country_code": "string"
        }
      },
      "created_at": "string (date-time)"
    },
    "secondary": [
      "#/definitions/RelAddress"
    ]
  },
  "shipping": "#/definitions/RelAddressList"
}
Response Headers (200 OK)
x-task-id

undefined

string (uuid)
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Delete an organisation

DELETE /rel/organisations/{id}

delete an existing organisation

id: string
in path

(no description)

The organisation

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "version": "string",
  "name": "string",
  "file_id": "string",
  "coc_number": "string",
  "account_manager": "string",
  "administration": {
    "email": "string"
  },
  "tags": [
    "string"
  ],
  "metadata": "object",
  "registrations": [
    {
      "country_code": "string",
      "number": "string",
      "verification": {
        "is_pending": "boolean",
        "is_valid": "boolean",
        "country_code": "string",
        "name": "string",
        "type": "string",
        "metadata": "object",
        "verified_at": "string (date-time)"
      }
    }
  ],
  "payment_settings": {
    "post_payment": {
      "spending_limit": "integer (int64)",
      "current_due_amount": "integer",
      "due_after": "integer",
      "iban": [
        "string"
      ]
    },
    "invoice": {
      "is_expected_through_post_mail": "boolean",
      "is_expected_through_email": "boolean",
      "is_expected_at_delivery": "boolean"
    }
  },
  "phone_numbers": {
    "primary": {
      "id": "string",
      "country_code": "string",
      "number": "string",
      "national": "string",
      "type": "string",
      "created_at": "string (date-time)"
    },
    "secondary": [
      "#/definitions/RelPhoneNumber"
    ]
  },
  "billing": {
    "primary": {
      "id": "string",
      "country_code": "string",
      "administrative_area": "string",
      "locality": "string",
      "dependent_locality": "string",
      "postal_code": "string",
      "sorting_code": "string",
      "address_line_1": "string",
      "address_line_2": "string",
      "thoroughfare": "string",
      "premise_number": "integer",
      "premise_number_suffix": "string",
      "organisation": "string",
      "given_name": "string",
      "additional_name": "string",
      "family_name": "string",
      "geo_location": {
        "lat": "number",
        "long": "number",
        "box": {
          "north_east": {
            "lat": "number",
            "long": "number"
          },
          "south_west": {
            "lat": "number",
            "long": "number"
          }
        },
        "is_precise": "boolean",
        "address": {
          "premise_number": "integer",
          "premise_number_suffix": "string",
          "thoroughfare": "string",
          "postal_code": "string",
          "locality": "string",
          "administrative_area": "string",
          "country_code": "string"
        }
      },
      "created_at": "string (date-time)"
    },
    "secondary": [
      "#/definitions/RelAddress"
    ]
  },
  "shipping": "#/definitions/RelAddressList"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

View a list of versions for a a single organisation

GET /rel/organisations/{id}/versions

Returns a version list for the organisation

id: string
in path

(no description)

200 OK

The versions

type
400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "version": "string",
    "created_at": "string (date-time)"
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Identity

Create an identity

POST /rel/identity/create

Returns a signed id token

client_id: string (uuid)
in query

context which to create the identity for

channel_id: string (uuid)
in query

context which to create the identity for

Request Example
{
  "email": "string",
  "password": "string",
  "audience": "string"
}

The created id token

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

409 Conflict

Identity already exists

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "token": "string",
  "expires_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (409 Conflict)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Check if the identity exists

POST /rel/identity/exists

Returns a 204 if the there exists an identity

Request Example
{
  "email": "string",
  "audience": "string"
}
204 No Content

The created id token

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

409 Conflict

Identity already exists

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (409 Conflict)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Create a new identy or login to an existing one

POST /rel/identity/authorize

Returns a signed id token

client_id: string (uuid)
in query

context which to create the identity for

channel_id: string (uuid)
in query

context which to create the identity for

Request Example
{
  "email": "string",
  "password": "string",
  "audience": "string"
}

The created id token

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Entity not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "token": "string",
  "expires_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Create a new token

POST /rel/identity/tokens

Returns a new token to confirm identity or reset a password

client_id: string (uuid)
in query

context which to create the identity for

channel_id: string (uuid)
in query

context which to create the identity for

Request Example
{
  "email": "string",
  "type": "string",
  "audience": "string"
}

The created id token

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Entity not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "status": "string"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Reset a password

POST /rel/identity/reset

Pass a token to reset the password

client_id: string (uuid)
in query

context which to create the identity for

channel_id: string (uuid)
in query

context which to create the identity for

Request Example
{
  "token": "string",
  "password": "string"
}

The created id token

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "token": "string",
  "expires_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Verify an identity

POST /rel/identity/verify

Mark the identity as verified

client_id: string (uuid)
in query

context which to create the identity for

channel_id: string (uuid)
in query

context which to create the identity for

Request Example
{
  "token": "string"
}

The created id token

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Entity not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "token": "string",
  "expires_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Content

Barcode

Generate barcode

GET /cnt/barcode

Render a barcode

t: string ean, code_128, code_39, code_93, qr
in query

Type of barcode

v: string
in query

Value of the barcode

w: integer
in query

Width of the barcode in pixels

h: integer
in query

Height of the barcode in pixels

f: string code_128, code_39, code_93, qr
in query

Fallback for failing (invalid) EAN barcodes

200 OK

The barcode

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Content-Types: image/png
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Actions

List actions

GET /cnt/actions

Get a list of possible actions

200 OK

A list of actions

type
400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "code": "string",
    "description": "string",
    "config_schema": "string",
    "columns": [
      {
        "key": "string",
        "description": "string",
        "is_required": "boolean",
        "regex": "string"
      }
    ]
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get action

GET /cnt/actions/{id}

Get a single action

id: string
in path

(no description)

200 OK

A single action

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "code": "string",
  "description": "string",
  "config_schema": "string",
  "columns": [
    {
      "key": "string",
      "description": "string",
      "is_required": "boolean",
      "regex": "string"
    }
  ]
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Batches

List batches

GET /cnt/batches

Get a list of batches

x-page: string
in header

(no description)

x-page-size: string
in header

(no description)

code: string
in query

(no description)

200 OK

A list of batches

type
400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string (uuid)",
    "action_id": "string",
    "reference": "string",
    "is_import": "boolean",
    "is_locked": "boolean",
    "is_accepted": "boolean",
    "is_confirmed": "boolean",
    "is_ready": "boolean",
    "is_failing": "boolean",
    "config": "object",
    "import": {
      "mapping": "object"
    },
    "export": {
      "view": "string"
    },
    "task_id": "string (uuid)",
    "dataset_id": "string (uuid)",
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-page

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Create batch

POST /cnt/batches

Create a new batch

undefined

Request Example
{
  "action_id": "string",
  "reference": "string",
  "dataset_id": "string (uuid)",
  "config": "object",
  "import": {
    "mapping": [
      "object"
    ]
  },
  "export": {
    "view": "string"
  }
}
200 OK

The newly created batch

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string (uuid)",
  "action_id": "string",
  "reference": "string",
  "is_import": "boolean",
  "is_locked": "boolean",
  "is_accepted": "boolean",
  "is_confirmed": "boolean",
  "is_ready": "boolean",
  "is_failing": "boolean",
  "config": "object",
  "import": {
    "mapping": "object"
  },
  "export": {
    "view": "string"
  },
  "task_id": "string (uuid)",
  "dataset_id": "string (uuid)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get batch

GET /cnt/batches/{id}

Get a single batch

id: string
in path

(no description)

200 OK

Batch information

type
400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string (uuid)",
    "action_id": "string",
    "reference": "string",
    "is_import": "boolean",
    "is_locked": "boolean",
    "is_accepted": "boolean",
    "is_confirmed": "boolean",
    "is_ready": "boolean",
    "is_failing": "boolean",
    "config": "object",
    "import": {
      "mapping": "object"
    },
    "export": {
      "view": "string"
    },
    "task_id": "string (uuid)",
    "dataset_id": "string (uuid)",
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Update batch

PUT /cnt/batches/{id}

Update a batch config or reference

undefined

id: string
in path

(no description)

Request Example
{
  "action_id": "string",
  "reference": "string",
  "dataset_id": "string (uuid)",
  "config": "object",
  "import": {
    "mapping": [
      "object"
    ]
  },
  "export": {
    "view": "string"
  }
}
200 OK

Batch information

type
400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string (uuid)",
    "action_id": "string",
    "reference": "string",
    "is_import": "boolean",
    "is_locked": "boolean",
    "is_accepted": "boolean",
    "is_confirmed": "boolean",
    "is_ready": "boolean",
    "is_failing": "boolean",
    "config": "object",
    "import": {
      "mapping": "object"
    },
    "export": {
      "view": "string"
    },
    "task_id": "string (uuid)",
    "dataset_id": "string (uuid)",
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Delete batch

DELETE /cnt/batches/{id}

Delete an unconfirmed batch

id: string
in path

(no description)

200 OK

Batch information

type
400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string (uuid)",
    "action_id": "string",
    "reference": "string",
    "is_import": "boolean",
    "is_locked": "boolean",
    "is_accepted": "boolean",
    "is_confirmed": "boolean",
    "is_ready": "boolean",
    "is_failing": "boolean",
    "config": "object",
    "import": {
      "mapping": "object"
    },
    "export": {
      "view": "string"
    },
    "task_id": "string (uuid)",
    "dataset_id": "string (uuid)",
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Validate batch

PUT /cnt/batches/{id}/validate

Request validation for the batch and the dataset. The dataaset and the batch will be locked. When invalid, lock will be lifted. If batch is valid, is_accepted will become true

id: string
in path

(no description)

200 OK

Accepted

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Headers (200 OK)
x-task-id

Reference to backend task

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Confirm batch

PUT /cnt/batches/{id}/confirm

Confirm a batch for processing; processing will start. Only possible when batch is accepted

id: string
in path

(no description)

200 OK

Accepted

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Headers (200 OK)
x-task-id

Reference to backend task

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get errors

GET /cnt/batches/{id}/errors

Get a list of errors for a batch

id: string
in path

(no description)

x-page: string
in header

(no description)

x-page-size: string
in header

(no description)

200 OK

Batch errors

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "reference": "string (uuid)",
    "errors": [
      {
        "column": "string",
        "level": "string",
        "message": "string"
      }
    ]
  }
]
Response Headers (200 OK)
x-page

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Dataset

Get datasets

GET /cnt/datasets

Get a set of rows

x-page: string
in header

(no description)

x-page-size: string
in header

(no description)

200 OK

A set of lines

type
400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string (uuid)",
    "reference": "string",
    "line_count": "integer",
    "file_id": "string",
    "is_locked": "boolean",
    "expires_at": "string (date-time)",
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-page

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Create dataset

POST /cnt/datasets

Add a new dataset container

undefined

Request Example
{
  "reference": "string",
  "expires_at": "string (date-time)"
}
200 OK

Accepted

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string (uuid)",
  "reference": "string",
  "line_count": "integer",
  "file_id": "string",
  "is_locked": "boolean",
  "expires_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Headers (200 OK)
x-task-id

Reference to backend task

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get dataset

GET /cnt/datasets/{id}

Get a set of rows

id: string
in path

(no description)

200 OK

A set of lines

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string (uuid)",
  "reference": "string",
  "line_count": "integer",
  "file_id": "string",
  "is_locked": "boolean",
  "expires_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Headers (200 OK)
x-page

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Read file

POST /cnt/datasets/{id}/attach

Select a file and read it to be used as input

undefined

id: string
in path

(no description)

Request Example
{
  "file_id": "string"
}
204 No Content

Accepted

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Headers (204 No Content)
x-task-id

Reference to backend task

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Upload data

POST /cnt/datasets/{id}/upload

Upload data as lines to the dataset

CntLine
id: string
in path

(no description)

Request Example
[
  {
    "reference": "string (uuid)",
    "data": "object"
  }
]
204 No Content

Received data

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Headers (204 No Content)
x-task-id

Reference to backend task

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Export data

POST /cnt/datasets/{id}/export

Request data to be exported to CSV

id: string
in path

(no description)

204 No Content

Received request

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Headers (204 No Content)
x-task-id

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get lines

GET /cnt/datasets/{id}/lines

Browse all dataset lines

id: string
in path

(no description)

x-page: string
in header

(no description)

x-page-size: string
in header

(no description)

200 OK

A set of lines

type
400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "reference": "string (uuid)",
    "data": "object"
  }
]
Response Headers (200 OK)
x-page

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Proxy

Get the proxy configuration

GET /cnt/proxies

Returns the proxy configuration

200 OK

Proxy configuration

type
400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "key": "string",
    "origin": "string",
    "config": {
      "is_origin_cache_ignored": "boolean",
      "is_canonical_added": "boolean",
      "watermark_url": "string"
    },
    "secret": "string",
    "tenant_id": "string",
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Create a new proxy

POST /cnt/proxies

Add a new proxy configuration

undefined

Request Content-Types: application/json
Request Example
{
  "key": "string",
  "origin": "string",
  "config": {
    "is_origin_cache_ignored": "boolean",
    "is_canonical_added": "boolean",
    "watermark_url": "string"
  }
}
200 OK

The proxy data

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Content-Types: application/json
Response Example (200 OK)
{
  "key": "string",
  "origin": "string",
  "config": {
    "is_origin_cache_ignored": "boolean",
    "is_canonical_added": "boolean",
    "watermark_url": "string"
  },
  "secret": "string",
  "tenant_id": "string",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get the proxy configuration

GET /cnt/proxies/{key}

Returns the proxy configuration

key: string
in path

(no description)

200 OK

Proxy configuration

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "key": "string",
  "origin": "string",
  "config": {
    "is_origin_cache_ignored": "boolean",
    "is_canonical_added": "boolean",
    "watermark_url": "string"
  },
  "secret": "string",
  "tenant_id": "string",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Update the proxy configuration

PUT /cnt/proxies/{key}

Updates the proxy

key: string
in path

(no description)

Request Content-Types: application/json
Request Example
{
  "origin": "string",
  "config": {
    "is_origin_cache_ignored": "boolean",
    "is_canonical_added": "boolean",
    "watermark_url": "string"
  }
}
200 OK

The signature data

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Content-Types: application/json
Response Example (200 OK)
{
  "key": "string",
  "origin": "string",
  "config": {
    "is_origin_cache_ignored": "boolean",
    "is_canonical_added": "boolean",
    "watermark_url": "string"
  },
  "secret": "string",
  "tenant_id": "string",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

List all proxies

GET /cnt/instant/proxies

List all proxies for a tenant

x-page-size: integer 25
in header

(no description)

x-page: integer 1
in header

(no description)

A list of proxies

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "key": "string",
    "indexes": [
      {
        "index_id": "string (uuid)",
        "alias": "string"
      }
    ],
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-page

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Create a proxy

POST /cnt/instant/proxies

Create a new proxy for the tenant

Request Example
{
  "key": "string",
  "indexes": [
    {
      "index_id": "string (uuid)",
      "alias": "string"
    }
  ]
}
201 Created

The created proxy

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (201 Created)
{
  "key": "string",
  "indexes": [
    {
      "index_id": "string (uuid)",
      "alias": "string"
    }
  ],
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Show a proxy

GET /cnt/instant/proxies/{id}

Show a single proxy for the tenant

id: string
in path

(no description)

A proxy

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "key": "string",
  "indexes": [
    {
      "index_id": "string (uuid)",
      "alias": "string"
    }
  ],
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Update a proxy

PUT /cnt/instant/proxies/{id}

Update a proxy for the tenant

id: string
in path

(no description)

Request Example
{
  "indexes": [
    {
      "index_id": "string (uuid)",
      "alias": "string"
    }
  ]
}

The updated proxy

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "key": "string",
  "indexes": [
    {
      "index_id": "string (uuid)",
      "alias": "string"
    }
  ],
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Delete a proxy

DELETE /cnt/instant/proxies/{id}

Delete a new proxy for the tenant

id: string
in path

(no description)

204 No Content

Deleted

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Watcher

List watchers

GET /cnt/filesystems/watchers

Get a list of watchers

200 OK

A list of watchers

type
400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "integer",
    "description": "string",
    "storage_id": "integer",
    "source": {
      "type": "string",
      "config": "object"
    },
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Create watcher

POST /cnt/filesystems/watchers

Create a watcher

undefined

Request Example
{
  "description": "string",
  "storage_id": "integer",
  "source": {
    "type": "string",
    "config": "object"
  }
}
200 OK

A list of watchers

type
400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "integer",
    "description": "string",
    "storage_id": "integer",
    "source": {
      "type": "string",
      "config": "object"
    },
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get watcher

GET /cnt/filesystems/watchers/{id}

Get a single watcher

id: string
in path

(no description)

200 OK

A wachte

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "integer",
  "description": "string",
  "storage_id": "integer",
  "source": {
    "type": "string",
    "config": "object"
  },
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Update watcher

PUT /cnt/filesystems/watchers/{id}

Update a single watcher

undefined

id: string
in path

(no description)

Request Example
{
  "description": "string",
  "storage_id": "integer",
  "source": {
    "type": "string",
    "config": "object"
  }
}
200 OK

A wachter

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "integer",
  "description": "string",
  "storage_id": "integer",
  "source": {
    "type": "string",
    "config": "object"
  },
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Delete watcher

DELETE /cnt/filesystems/watchers/{id}

Delete a single watcher

id: string
in path

(no description)

200 OK

A wachter

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "integer",
  "description": "string",
  "storage_id": "integer",
  "source": {
    "type": "string",
    "config": "object"
  },
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Operations

Read object

GET /cnt/filesystems/integrations/{id}

Read the contents of an object at external storage

id: integer
in path

(no description)

path: string
in query

(no description)

200 OK

File contents

type
file
400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
"file"
Response Headers (200 OK)
content-type

application/octet-stream

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Clone object

POST /cnt/filesystems/integrations/{id}

Clone an object to external storage

id: integer
in path

(no description)

Request Example
{
  "path": "string",
  "file_id": "string"
}
204 No Content

File sync requested

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Headers (204 No Content)
x-task-id

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Delete object

DELETE /cnt/filesystems/integrations/{id}

Delete an object at external storage

id: integer
in path

(no description)

path: string
in query

(no description)

204 No Content

Will delete the object

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

List objects

GET /cnt/filesystems/integrations/{id}/list

List objects at external storage

id: integer
in path

(no description)

path: string
in query

(no description)

Path contents

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "path": "string",
    "basename": "string",
    "type": "string",
    "size": "integer"
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Storage

List storages

GET /cnt/filesystems/storages

Get a list of storages

200 OK

A list of storages

type
400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "integer",
    "name": "string",
    "type": "string",
    "configuration": "object",
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Create storage

POST /cnt/filesystems/storages

Add new external storage

undefined

Request Example
{
  "name": "string",
  "type": "string",
  "configuration": "object",
  "secret": "string"
}
200 OK

Tne new filesytem

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "integer",
  "name": "string",
  "type": "string",
  "configuration": "object",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get storage

GET /cnt/filesystems/storages/{id}

Get a filesystem storage

id: integer
in path

(no description)

200 OK

A list of storages

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "integer",
  "name": "string",
  "type": "string",
  "configuration": "object",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Sync storage

POST /cnt/filesystems/storages/{id}

Send a file to a storage

id: integer
in path

(no description)

Request Example
{
  "path": "string",
  "file_id": "string"
}
204 No Content

File sync requested

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Headers (204 No Content)
x-task-id

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Update storage

PUT /cnt/filesystems/storages/{id}

Update storage

undefined

id: integer
in path

(no description)

Request Example
{
  "name": "string",
  "type": "string",
  "configuration": "object",
  "secret": "string"
}
200 OK

The updated storage

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "integer",
  "name": "string",
  "type": "string",
  "configuration": "object",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Delete storage

DELETE /cnt/filesystems/storages/{id}

Delete a storage

id: integer
in path

(no description)

204 No Content

Store deleted

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Upload storage

POST /cnt/filesystems/storages/{id}/sync

Send a file to a storage

id: integer
in path

(no description)

Request Example
{
  "path": "string",
  "file_id": "string"
}
204 No Content

File sync requested

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Headers (204 No Content)
x-task-id

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Read object

GET /cnt/filesystems/storages/{id}/read

Read data from the storage

path: string
id: integer
in path

(no description)

path: string
in query

path/to/file.csv

Request Example
{
  "path": "path/to/file.csv"
}
200 OK

File contents

type
file
400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
"file"
Response Headers (200 OK)
content-type

application/octet-stream

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

List objects

GET /cnt/filesystems/storages/{id}/list

Read data from the storage

path: string
id: integer
in path

(no description)

path: string
in query

path/to/file.csv

Request Example
{
  "path": "path/to/file.csv"
}

Path contents

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "path": "string",
    "basename": "string",
    "type": "string",
    "size": "integer"
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Test storage

GET /cnt/filesystems/storages/{id}/test

Test storage connection

id: integer
in path

(no description)

204 No Content

OK

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Test connection

POST /cnt/filesystems/test

Test a connection

undefined

Request Example
{
  "type": "string",
  "configuration": "object",
  "secret": "string"
}
204 No Content

Connection is ok

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

List adapters

GET /cnt/filesystems/configurations

List all filesystem adapters

200 OK

A list of filesystems adapter configurations

type
object[]
400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "type": "ftp",
    "schema": "ewoJIiRzY2hlbWEiOiAiaHR0cDovL2pzb24tc2NoZW1hLm9yZy9kcmFmdC0wNy9zY2hlbWEiLAoJIiRpZCI6ICJodHRwOi8vZXhhbXBsZS5jb20vZXhhbXBsZS5qc29uIiwKCSJ0eXBlIjogIm9iamVjdCIsCgkidGl0bGUiOiAiVGhlIHJvb3Qgc2NoZW1hIiwKCSJkZXNjcmlwdGlvbiI6ICJUaGUgcm9vdCBzY2hlbWEgY29tcHJpc2VzIHRoZSBlbnRpcmUgSlNPTiBkb2N1bWVudC4iLAoJImRlZmF1bHQiOiB7fSwKCSJhZGRpdGlvbmFsUHJvcGVydGllcyI6IHRydWUKfQ=="
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

List logs

GET /cnt/filesystems/logs

List all logs of sync calls

file_id: string
in query

(no description)

storage_id: integer
in query

(no description)

is_success: string
in query

(no description)

A list of filesystem logs

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string (uuid)",
    "file_id": "string",
    "storage_id": "integer",
    "is_success": "boolean",
    "message": "string",
    "created_at": "string (date-time)"
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Types

List types

GET /cnt/dataflow/types

Get a list of flow types

x-page: string
in header

(no description)

x-page-size: integer
in header

(no description)

code: string
in query

(no description)

A list of dataflow types

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "type": "string",
    "code": "string",
    "source": "string",
    "trigger": "string",
    "name": "string",
    "is_proprietary": "boolean",
    "events": [
      "string"
    ],
    "schema": "string"
  }
]
Response Headers (200 OK)
x-page

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

View type

GET /cnt/dataflow/types/{type}

View a dataflow type

type: string
in path

(no description)

x-page: string
in header

(no description)

x-page-size: integer
in header

(no description)

code: string
in query

(no description)

A list of dataflow types

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "type": "string",
    "code": "string",
    "source": "string",
    "trigger": "string",
    "name": "string",
    "is_proprietary": "boolean",
    "events": [
      "string"
    ],
    "schema": "string"
  }
]
Response Headers (200 OK)
x-page

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Flows

List dataflows

GET /cnt/dataflow/flows

Get a list of flows

x-page: string
in header

(no description)

x-page-size: integer
in header

(no description)

200 OK

A list of dataflows

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string (uuid)",
    "name": "string",
    "source": "string",
    "type": "string",
    "trigger": {
      "type": "string",
      "events": [
        "string"
      ],
      "crontab": "string"
    },
    "config": "object",
    "filter": [
      {
        "key": "string",
        "operator": "string",
        "values": [
          "string"
        ]
      }
    ],
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-page

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Create dataflow

POST /cnt/dataflow/flows

Add a new dataflow

undefined

Request Example
{
  "name": "string",
  "source": "string",
  "type": "string",
  "trigger": {
    "type": "string",
    "events": [
      "string"
    ],
    "crontab": {
      "schedule": "string",
      "timezone": "string"
    }
  },
  "config": "object",
  "secret": "string",
  "filter": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "string"
      ]
    }
  ]
}
200 OK

The new flow

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string (uuid)",
  "name": "string",
  "source": "string",
  "type": "string",
  "trigger": {
    "type": "string",
    "events": [
      "string"
    ],
    "crontab": "string"
  },
  "config": "object",
  "filter": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "string"
      ]
    }
  ],
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Headers (200 OK)
x-page

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get dataflow

GET /cnt/dataflow/flows/{id}

Get a single dataflow

id: string
in path

(no description)

200 OK

A single dataflow

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string (uuid)",
  "name": "string",
  "source": "string",
  "type": "string",
  "trigger": {
    "type": "string",
    "events": [
      "string"
    ],
    "crontab": "string"
  },
  "config": "object",
  "filter": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "string"
      ]
    }
  ],
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Update dataflow

PUT /cnt/dataflow/flows/{id}

Update a single dataflow

undefined

id: string
in path

(no description)

Request Example
{
  "name": "string",
  "source": "string",
  "type": "string",
  "trigger": {
    "type": "string",
    "events": [
      "string"
    ],
    "crontab": {
      "schedule": "string",
      "timezone": "string"
    }
  },
  "config": "object",
  "secret": "string",
  "filter": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "string"
      ]
    }
  ]
}
200 OK

Resulting dataflow

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string (uuid)",
  "name": "string",
  "source": "string",
  "type": "string",
  "trigger": {
    "type": "string",
    "events": [
      "string"
    ],
    "crontab": "string"
  },
  "config": "object",
  "filter": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "string"
      ]
    }
  ],
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Delete dataflow

DELETE /cnt/dataflow/flows/{id}

Delete a single dataflow

id: string
in path

(no description)

204 No Content

Deleted dataflow

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Trigger flow

POST /cnt/dataflow/flows/{id}/trigger

Trigger an existing flow

entity_id: string (uuid)
clock_at: string (date-time)
id: string
in path

(no description)

Request Example
{
  "entity_id": "string (uuid)",
  "clock_at": "string (date-time)"
}
204 No Content

The flow is being performed

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Headers (204 No Content)
x-task-id

undefined

string (uuid)
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Tester

Load data

POST /cnt/dataflow/loader

Multi data loader

object
reference: string
entity_id: string
entity_type: string
Request Example
[
  {
    "reference": "shipment_23144235",
    "entity_id": "string",
    "entity_type": "string"
  }
]
200 OK

The data that is used to perform a flow with this data-type

type
object[]
400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "reference": "shipment_23144235",
    "data": "object"
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get data

GET /cnt/dataflow/loader/{model}/{id}

Get the data-model as it is applied

model: string
in path

(no description)

id: string
in path

(no description)

200 OK

The data that is used to perform a flow with this data-type

type
object
400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
"object"
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Test match

POST /cnt/dataflow/matcher/{model}/{id}

Test if a flow matches the data

model: string
in path

(no description)

id: string
in path

(no description)

200 OK

The match results and input that was used to match against

type
object
400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "result": {
    "is_match": false,
    "misses": {
      "keys": [
        "order.settings.contact.id"
      ],
      "configs": [
        "brand"
      ]
    }
  },
  "input": {
    "order.id": "26cfb69d-94cd-4213-b428-b5851419ccf8",
    "order.number": "ODR-10000546",
    "order.settings.contact.id": "gsrfiajgpw85jgop8w5j65p948ej56wip5jsa4eop5jiaerg",
    "order.settings.contact.email": "peter@afosto.com"
  }
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Video

Get info

GET /cnt/gif/info

Returns information regarding the GIF

url: string
in query

the requested URL

200 OK

The list of orders

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "is_animated": "boolean",
  "height": "integer",
  "width": "integer",
  "loop_count": "integer",
  "size": "integer"
}
Response Headers (200 OK)
x-page

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Transform gif

GET /cnt/gif/transform

Returns information regarding the GIF

url: string
in query

the requested URL

206 Partial Content

The transcoded MP4

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Directories

Get list of directories

GET /cnt/directories

Returns a list of directories

dir: string
in query

(no description)

200 OK

Directory list

type
object
400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "directories": [
    "emails"
  ]
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Create directory

POST /cnt/directories

Add a directory

Request Example
{
  "path": "string"
}
204 No Content

Directory created

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Delete directory

DELETE /cnt/directories

Deletes a directory

Request Example
{
  "path": "string"
}
204 No Content

Directory deleted

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Files

Get list of files

GET /cnt/files

Returns a list of files

dir: string
in query

(no description)

is_public: string 1, 0
in query

(no description)

x-page: string
in header

(no description)

x-page-size: string
in header

(no description)

200 OK

File list

type
400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "filename": "string",
    "label": "string",
    "dir": "string",
    "type": "string",
    "mime": "string",
    "url": "string",
    "is_public": "boolean",
    "is_listed": "boolean",
    "metadata": "object",
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-page

The pagination cursor, use this token for the next page of results

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get a file

GET /cnt/files/{id}

Returns a file

id: string
in path

(no description)

200 OK

File list

type
400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "filename": "string",
    "label": "string",
    "dir": "string",
    "type": "string",
    "mime": "string",
    "url": "string",
    "is_public": "boolean",
    "is_listed": "boolean",
    "metadata": "object",
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Delete a file

DELETE /cnt/files/{id}

Deletes a file

id: string
in path

(no description)

200 OK

The deleted file

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "filename": "string",
  "label": "string",
  "dir": "string",
  "type": "string",
  "mime": "string",
  "url": "string",
  "is_public": "boolean",
  "is_listed": "boolean",
  "metadata": "object",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Create an upload signature

POST /cnt/files/signature

Returns a new upload signature

undefined

Request Content-Types: application/json
Request Example
{
  "is_public": "boolean",
  "path": "string",
  "is_listed": "boolean",
  "method": "string",
  "metadata": "object"
}

The signature data

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Content-Types: application/json
Response Example (200 OK)
{
  "expires_at": "string (date-time)",
  "signature": "string"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Upload a file

POST /cnt/files/upload/{signature}

Upload a new file

signature: string
in path

(no description)

file: file
in formData

(no description)

200 OK

File list

type
400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "filename": "string",
    "label": "string",
    "dir": "string",
    "type": "string",
    "mime": "string",
    "url": "string",
    "is_public": "boolean",
    "is_listed": "boolean",
    "metadata": "object",
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-page

The pagination cursor, use this token for the next page of results

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Index

Run a simple search

POST /cnt/search

Run a search with the option to run an aggregation

Query object

x-page: string
in header

(no description)

x-page-size: integer 25
in header

(no description)

Request Example
{
  "codes": [
    "string"
  ],
  "models": [
    "string"
  ],
  "namespaces": [
    "string"
  ],
  "q": [
    "string"
  ],
  "is_fuzzy": "boolean",
  "limit": "integer",
  "threshold": "number (double)",
  "page_cursor": "string"
}

The search results

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "hits": [
    {
      "reference": "string",
      "title": "string",
      "code": "string",
      "model": "string",
      "namespace": "string",
      "description": "string",
      "sub": "string",
      "metadata": "object"
    }
  ],
  "pagination": {
    "entity_count": "integer",
    "page_limit": "integer",
    "page_count": "integer",
    "next_page_cursor": "string"
  }
}
Response Headers (200 OK)
x-page

The next page cursor

string
x-count

Total item count

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Run a complex search

POST /cnt/search/{namespace}/{code}/{model}

Run a complex search

Query object

namespace: string default
in path

the namespace

code: string
in path

(no description)

model: string
in path

(no description)

x-page: string
in header

(no description)

x-page-size: integer 25
in header

(no description)

Request Example
{
  "q": [
    "string"
  ],
  "is_fuzzy": "boolean",
  "filter": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "string"
      ]
    }
  ],
  "missing": [
    "string"
  ],
  "facets": [
    "string"
  ],
  "limit": "integer",
  "threshold": "number (double)",
  "page_cursor": "string",
  "sort": [
    {
      "key": "string",
      "order": "string"
    }
  ]
}

The search results

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "hits": [
    {
      "reference": "string",
      "title": "string",
      "description": "string",
      "sub": "string",
      "metadata": "object",
      "filters": "object"
    }
  ],
  "facets": [
    {
      "key": "string",
      "buckets": [
        {
          "value": "string",
          "count": "string"
        }
      ]
    }
  ],
  "pagination": {
    "entity_count": "integer",
    "page_limit": "integer",
    "page_count": "integer",
    "next_page_cursor": "string"
  }
}
Response Headers (200 OK)
x-page

The next page cursor

string
x-count

Total item count

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get some suggestions

GET /cnt/suggest

Run a simple, fast suggest search

q: string
in query

The query

limit: integer 5
in query

The query

codes: string[]
in query

The query

models: string[]
in query

The models we want to query

namespaces: string[]
in query

The namesapce we want to query

The suggestions

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "hits": [
    {
      "reference": "string",
      "title": "string",
      "code": "string",
      "model": "string",
      "namespace": "string",
      "description": "string",
      "sub": "string",
      "metadata": "object"
    }
  ]
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get a list of definitions

GET /cnt/definitions

List the set of definitions

code: string
in query

(no description)

model: string
in query

(no description)

namespace: string
in query

(no description)

200 OK

The search results

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "namespace": "string",
    "code": "string",
    "model": "string",
    "filters": [
      {
        "key": "string",
        "type": "string"
      }
    ],
    "tenant_id": "string",
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Upsert a definition

POST /cnt/definitions

Either create a new, or update an existing definition

Query object

Request Example
{
  "namespace": "string",
  "code": "string",
  "model": "string",
  "key": "string",
  "type": "string"
}
200 OK

The search results

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "namespace": "string",
  "code": "string",
  "model": "string",
  "filters": [
    {
      "key": "string",
      "type": "string"
    }
  ],
  "tenant_id": "string",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Decode filter

GET /cnt/filters/date

Decode a relative date filter

input: string
in query

(no description)

200 OK

The epoch timestamp

type
object
400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "query": {
    "quantity": "integer",
    "key": "string",
    "direction": "string",
    "at": {
      "timezone": "string",
      "hour": "string",
      "minute": "string",
      "day_of_week": "string",
      "day_of_month": "string"
    }
  },
  "epoch": 1593505091,
  "formatted": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Relative date

POST /cnt/filters/date

Generate a relative date filter

Query object

Request Example
{
  "quantity": "integer",
  "key": "string",
  "direction": "string",
  "at": {
    "timezone": "string",
    "hour": "string",
    "minute": "string",
    "day_of_week": "string",
    "day_of_month": "string"
  }
}
200 OK

The epoch timestamp

type
object
400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "epoch": 1593505091,
  "formatted": "string (date-time)",
  "filter": "_eyJxdWFudGl0eSI6NCwia2V5IjoibW9udGhzIiwiZGlyZWN0aW9uIjoiYWhlYWQiLCJhdCI6eyJob3VycyI6bnVsbCwibWludXRlcyI6bnVsbCwiZGF5X29mX3dlZWsiOm51bGwsImRheV9vZl9tb250aCI6Imxhc3QifX0="
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

List all indexes

GET /cnt/instant/indexes

List all indexes for the authenticated user.

x-page-size: integer 25
in header

(no description)

x-page: integer 1
in header

(no description)

200 OK

A list of indexes

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string (uuid)",
    "name": "string",
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-page

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Create a new index

POST /cnt/instant/indexes

Create a new index

Request Example
{
  "name": "string"
}
201 Created

The created index

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (201 Created)
{
  "id": "string (uuid)",
  "name": "string",
  "host": "string",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Show a single index

GET /cnt/instant/indexes/{id}

Show a single index for the tenant.

id: string
in path

(no description)

200 OK

A single index

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string (uuid)",
  "name": "string",
  "host": "string",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Update a single index

PUT /cnt/instant/indexes/{id}

Update a single index

id: string
in path

(no description)

Request Example
{
  "name": "string"
}
200 OK

The updated index

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string (uuid)",
  "name": "string",
  "host": "string",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Delete a single index

DELETE /cnt/instant/indexes/{id}

Delete a single index

id: string
in path

(no description)

204 No Content

Deleted

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Pdf

Pdf

Create PDF

POST /cnt/html

Transform HTML into a PDF

Request Example
{
  "path": "string",
  "filename": "string",
  "size": {
    "predefined": "string",
    "width": "integer",
    "height": "integer"
  },
  "margin": {
    "top": "integer",
    "bottom": "integer",
    "left": "integer",
    "right": "integer"
  },
  "method": "string",
  "content": "string (base64)",
  "wait_delay": "integer",
  "wait_timeout": "integer"
}
200 OK

The reference to the generated file

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "filename": "string",
  "label": "string",
  "dir": "string",
  "type": "string",
  "mime": "string",
  "url": "string",
  "is_public": "boolean",
  "is_listed": "boolean",
  "metadata": "object",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Pdf

Get inline-PDF

POST /cnt/html/inline

Transform HTML into a PDF and return PDF as string

Request Example
{
  "size": {
    "predefined": "string",
    "width": "integer",
    "height": "integer"
  },
  "margin": {
    "top": "integer",
    "bottom": "integer",
    "left": "integer",
    "right": "integer"
  },
  "content": "string (base64)",
  "wait_delay": "integer",
  "wait_timeout": "integer"
}
200 OK

File contents

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Fulfilment

Handling

Get list of handling lists

GET /lcs/lists

Returns a list of handling lists

x-page: string
in header

(no description)

x-page-size: string
in header

(no description)

List of Pick lists

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "number": "string",
    "sub": "string",
    "location_id": "string",
    "shipments": [
      "string"
    ],
    "is_outbound": "boolean",
    "is_in_progress": "boolean",
    "is_on_hold": "boolean",
    "is_cancelled": "boolean",
    "is_finished": "boolean",
    "started_at": "string (date-time)",
    "finished_at": "string (date-time)",
    "due_at": "string (date-time)",
    "items": [
      {
        "id": "string",
        "reference": "string",
        "sku": "string",
        "position": "string",
        "order_item_id": "string (uuid)",
        "claim_item_id": "string (uuid)",
        "description": "string",
        "is_listed": "boolean",
        "is_handled": "boolean",
        "is_boxed": "boolean",
        "is_in_transit": "boolean",
        "is_finished": "boolean",
        "is_missing": "boolean",
        "hs_code": "string",
        "service": [
          {
            "option": "string",
            "configuration": [
              {
                "key": "string",
                "value": "string"
              }
            ]
          }
        ]
      }
    ],
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-count

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Create handling list

POST /lcs/lists

Add a new handling list

undefined

Request Example
{
  "shipments": [
    {
      "id": "string (uuid)",
      "label": "string"
    }
  ],
  "due_at": "string (date-time)"
}

The newly created shipment

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "sub": "string",
  "shipments": [
    "string"
  ],
  "location_id": "string",
  "is_outbound": "boolean",
  "is_assigned": "boolean",
  "is_in_progress": "boolean",
  "is_on_hold": "boolean",
  "is_finished": "boolean",
  "started_at": "string (date-time)",
  "finished_at": "string (date-time)",
  "due_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Search a set of lists

POST /lcs/lists/search

Search for a set of lists

undefined

x-page: string
in header

(no description)

x-page-size: string
in header

(no description)

Request Example
{
  "constraints": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "string"
      ]
    }
  ]
}

The search results

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "number": "string",
    "sub": "string",
    "location_id": "string",
    "shipments": [
      "string"
    ],
    "is_outbound": "boolean",
    "is_in_progress": "boolean",
    "is_on_hold": "boolean",
    "is_cancelled": "boolean",
    "is_finished": "boolean",
    "started_at": "string (date-time)",
    "finished_at": "string (date-time)",
    "due_at": "string (date-time)",
    "items": [
      {
        "ids": [
          "string"
        ],
        "handled_ids": [
          "string"
        ],
        "shipment_id": "string",
        "sku": "string",
        "description": "string",
        "position": "string",
        "quantity": "integer",
        "sorting_label": "string",
        "rank": "integer"
      }
    ],
    "sorting_labels": [
      {
        "shipment_id": "string (uuid)",
        "label": "string"
      }
    ],
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-count

undefined

integer
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

View a handling list

GET /lcs/lists/{id}

Returns a handling list

id: string
in path

(no description)

Detailed handling list view

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "number": "string",
  "sub": "string",
  "location_id": "string",
  "shipments": [
    "string"
  ],
  "is_outbound": "boolean",
  "is_in_progress": "boolean",
  "is_on_hold": "boolean",
  "is_cancelled": "boolean",
  "is_finished": "boolean",
  "started_at": "string (date-time)",
  "finished_at": "string (date-time)",
  "due_at": "string (date-time)",
  "items": [
    {
      "ids": [
        "string"
      ],
      "handled_ids": [
        "string"
      ],
      "shipment_id": "string",
      "sku": "string",
      "description": "string",
      "position": "string",
      "quantity": "integer",
      "sorting_label": "string",
      "rank": "integer"
    }
  ],
  "sorting_labels": [
    {
      "shipment_id": "string (uuid)",
      "label": "string"
    }
  ],
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Delete a handling list

DELETE /lcs/lists/{id}

Delete a handling list

id: string
in path

(no description)

204 No Content

Deleted handling list

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Update a handling list's items

PUT /lcs/lists/{id}/items

Update items' state on a handling list

LcsHandlingListItemUpdate
id: string
in path

(no description)

Request Example
[
  {
    "id": "string",
    "is_handled": "boolean",
    "is_serviced": "boolean",
    "is_finished": "boolean",
    "position": "string",
    "lot_number": "string",
    "expires_at": "string (date-time)"
  }
]
204 No Content

Resulting success count

type
object
400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (204 No Content)
{
  "success": 1
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Update a handling list state

PUT /lcs/lists/{id}/state

Update state of an handling list

id: string
in path

(no description)

Request Example
{
  "is_on_hold": "boolean",
  "sub": "string"
}
204 No Content

Handling list state updated

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Shipments

List shipments

GET /lcs/shipments

Get a list of shipments

x-page: string
in header

(no description)

x-page-size: string
in header

(no description)

The newly created shipment

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "number": "string",
    "type": "string",
    "method_id": "string",
    "contact_id": "string",
    "channel_id": "string (uuid)",
    "addressing": {
      "to": {
        "entity_type": "string",
        "entity_id": "string",
        "carrier": {
          "is_carrier_location": "boolean",
          "carrier_location_reference": "string"
        }
      },
      "from": "#/definitions/LcsShipmentAddressing"
    },
    "ship_at": "string (date-time)",
    "estimated_ship_at": "string (date-time)",
    "expected_at": "string (date-time)",
    "stack_id": "string",
    "is_editable": "boolean",
    "is_outbound": "boolean",
    "is_listed": "boolean",
    "is_finished": "boolean",
    "is_in_transit": "boolean",
    "is_complete": "boolean",
    "is_overcomplete": "boolean",
    "is_canceled": "boolean",
    "secret": "string",
    "prior_shipments": [
      "string (uuid)"
    ],
    "list_id": "string",
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-count

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Create shipment

POST /lcs/shipments

Add a new shipment to the list

undefined

Request Example
{
  "addressing": {
    "to": {
      "entity_type": "string",
      "entity_id": "string",
      "carrier": {
        "is_carrier_location": "boolean",
        "carrier_location_reference": "string"
      }
    },
    "from": "#/definitions/LcsShipmentAddressing"
  },
  "is_outbound": "boolean",
  "type": "string",
  "items": [
    {
      "sku": "string",
      "reference": "string",
      "position": "string",
      "quantity": "integer",
      "description": "string",
      "hs_code": "string",
      "service": [
        {
          "option": "string",
          "configuration": [
            {
              "key": "string",
              "value": "string"
            }
          ]
        }
      ],
      "references": [
        {
          "order_item_id": "string (uuid)",
          "claim_item_id": "string (uuid)"
        }
      ]
    }
  ],
  "backorders": [
    {
      "sku": "string",
      "quantity": "integer",
      "description": "string",
      "position": "string"
    }
  ],
  "overage": [
    "#/definitions/LcsShipmentItemCorrection"
  ],
  "expected_at": "string (date-time)",
  "ship_at": "string (date-time)",
  "estimated_ship_at": "string (date-time)",
  "method_id": "string",
  "contact_id": "string",
  "channel_id": "string (uuid)",
  "order_id": "string",
  "prior_shipments": [
    "string (uuid)"
  ]
}
200 OK

The newly created shipment

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "number": "string",
  "type": "string",
  "method_id": "string",
  "contact_id": "string",
  "channel_id": "string (uuid)",
  "order_id": "string",
  "addressing": {
    "to": {
      "entity_type": "string",
      "entity_id": "string",
      "carrier": {
        "is_carrier_location": "boolean",
        "carrier_location_reference": "string"
      }
    },
    "from": "#/definitions/LcsShipmentAddressing"
  },
  "ship_at": "string (date-time)",
  "estimated_ship_at": "string (date-time)",
  "expected_at": "string (date-time)",
  "stack_id": "string",
  "is_editable": "boolean",
  "is_outbound": "boolean",
  "is_labeled": "boolean",
  "is_serviced": "boolean",
  "is_complete": "boolean",
  "is_overcomplete": "boolean",
  "is_boxed": "boolean",
  "is_handled": "boolean",
  "is_listed": "boolean",
  "is_finished": "boolean",
  "is_in_transit": "boolean",
  "is_canceled": "boolean",
  "items": [
    {
      "id": "string",
      "reference": "string",
      "sku": "string",
      "position": "string",
      "order_item_id": "string (uuid)",
      "claim_item_id": "string (uuid)",
      "description": "string",
      "is_listed": "boolean",
      "is_handled": "boolean",
      "is_boxed": "boolean",
      "is_in_transit": "boolean",
      "is_finished": "boolean",
      "is_missing": "boolean",
      "hs_code": "string",
      "service": [
        {
          "option": "string",
          "configuration": [
            {
              "key": "string",
              "value": "string"
            }
          ]
        }
      ]
    }
  ],
  "backorders": [
    {
      "sku": "string",
      "quantity": "integer",
      "description": "string",
      "position": "string"
    }
  ],
  "overage": [
    "#/definitions/LcsShipmentItemCorrection"
  ],
  "parcels": [
    {
      "id": "string",
      "number": "string",
      "weight": "integer",
      "length": "integer",
      "width": "integer",
      "height": "integer",
      "tracking_code": "string",
      "tracking_url": "string",
      "position": "string",
      "label": {
        "file_id": "string",
        "reference": "string",
        "label_text": "string",
        "requested_at": "string (date-time)"
      },
      "shipment_id": "string (uuid)",
      "count": "integer",
      "items": [
        {
          "id": "string (uuid)",
          "sku": "string",
          "quantity": "integer",
          "description": "string"
        }
      ],
      "is_in_transit": "boolean",
      "is_delivered": "boolean"
    }
  ]
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

View a single shipment

GET /lcs/shipments/{id}

Returns a single shipment

id: string
in path

(no description)

200 OK

Detailed shipment view

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "number": "string",
  "type": "string",
  "method_id": "string",
  "contact_id": "string",
  "channel_id": "string (uuid)",
  "order_id": "string",
  "addressing": {
    "to": {
      "entity_type": "string",
      "entity_id": "string",
      "carrier": {
        "is_carrier_location": "boolean",
        "carrier_location_reference": "string"
      }
    },
    "from": "#/definitions/LcsShipmentAddressing"
  },
  "ship_at": "string (date-time)",
  "estimated_ship_at": "string (date-time)",
  "expected_at": "string (date-time)",
  "stack_id": "string",
  "is_editable": "boolean",
  "is_outbound": "boolean",
  "is_labeled": "boolean",
  "is_serviced": "boolean",
  "is_complete": "boolean",
  "is_overcomplete": "boolean",
  "is_boxed": "boolean",
  "is_handled": "boolean",
  "is_listed": "boolean",
  "is_finished": "boolean",
  "is_in_transit": "boolean",
  "is_canceled": "boolean",
  "items": [
    {
      "id": "string",
      "reference": "string",
      "sku": "string",
      "position": "string",
      "order_item_id": "string (uuid)",
      "claim_item_id": "string (uuid)",
      "description": "string",
      "is_listed": "boolean",
      "is_handled": "boolean",
      "is_boxed": "boolean",
      "is_in_transit": "boolean",
      "is_finished": "boolean",
      "is_missing": "boolean",
      "hs_code": "string",
      "service": [
        {
          "option": "string",
          "configuration": [
            {
              "key": "string",
              "value": "string"
            }
          ]
        }
      ]
    }
  ],
  "backorders": [
    {
      "sku": "string",
      "quantity": "integer",
      "description": "string",
      "position": "string"
    }
  ],
  "overage": [
    "#/definitions/LcsShipmentItemCorrection"
  ],
  "parcels": [
    {
      "id": "string",
      "number": "string",
      "weight": "integer",
      "length": "integer",
      "width": "integer",
      "height": "integer",
      "tracking_code": "string",
      "tracking_url": "string",
      "position": "string",
      "label": {
        "file_id": "string",
        "reference": "string",
        "label_text": "string",
        "requested_at": "string (date-time)"
      },
      "shipment_id": "string (uuid)",
      "count": "integer",
      "items": [
        {
          "id": "string (uuid)",
          "sku": "string",
          "quantity": "integer",
          "description": "string"
        }
      ],
      "is_in_transit": "boolean",
      "is_delivered": "boolean"
    }
  ]
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Update a shipment

PUT /lcs/shipments/{id}

Update the shipment method or addressing

id: string
in path

(no description)

Request Example
{
  "type": "string",
  "method_id": "string",
  "addressing": {
    "to": {
      "entity_type": "string",
      "entity_id": "string",
      "carrier": {
        "is_carrier_location": "boolean",
        "carrier_location_reference": "string"
      }
    },
    "from": "#/definitions/LcsShipmentAddressing"
  },
  "prior_shipments": [
    "string (uuid)"
  ],
  "expected_at": "string (date-time)",
  "ship_at": "string (date-time)"
}
200 OK

Detailed view for shipment

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "number": "string",
  "type": "string",
  "method_id": "string",
  "contact_id": "string",
  "channel_id": "string (uuid)",
  "order_id": "string",
  "addressing": {
    "to": {
      "entity_type": "string",
      "entity_id": "string",
      "carrier": {
        "is_carrier_location": "boolean",
        "carrier_location_reference": "string"
      }
    },
    "from": "#/definitions/LcsShipmentAddressing"
  },
  "ship_at": "string (date-time)",
  "estimated_ship_at": "string (date-time)",
  "expected_at": "string (date-time)",
  "stack_id": "string",
  "is_editable": "boolean",
  "is_outbound": "boolean",
  "is_labeled": "boolean",
  "is_serviced": "boolean",
  "is_complete": "boolean",
  "is_overcomplete": "boolean",
  "is_boxed": "boolean",
  "is_handled": "boolean",
  "is_listed": "boolean",
  "is_finished": "boolean",
  "is_in_transit": "boolean",
  "is_canceled": "boolean",
  "items": [
    {
      "id": "string",
      "reference": "string",
      "sku": "string",
      "position": "string",
      "order_item_id": "string (uuid)",
      "claim_item_id": "string (uuid)",
      "description": "string",
      "is_listed": "boolean",
      "is_handled": "boolean",
      "is_boxed": "boolean",
      "is_in_transit": "boolean",
      "is_finished": "boolean",
      "is_missing": "boolean",
      "hs_code": "string",
      "service": [
        {
          "option": "string",
          "configuration": [
            {
              "key": "string",
              "value": "string"
            }
          ]
        }
      ]
    }
  ],
  "backorders": [
    {
      "sku": "string",
      "quantity": "integer",
      "description": "string",
      "position": "string"
    }
  ],
  "overage": [
    "#/definitions/LcsShipmentItemCorrection"
  ],
  "parcels": [
    {
      "id": "string",
      "number": "string",
      "weight": "integer",
      "length": "integer",
      "width": "integer",
      "height": "integer",
      "tracking_code": "string",
      "tracking_url": "string",
      "position": "string",
      "label": {
        "file_id": "string",
        "reference": "string",
        "label_text": "string",
        "requested_at": "string (date-time)"
      },
      "shipment_id": "string (uuid)",
      "count": "integer",
      "items": [
        {
          "id": "string (uuid)",
          "sku": "string",
          "quantity": "integer",
          "description": "string"
        }
      ],
      "is_in_transit": "boolean",
      "is_delivered": "boolean"
    }
  ]
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Cancel shipment

DELETE /lcs/shipments/{id}

Cancel a shipment

id: string
in path

(no description)

204 No Content

Shipment canceled

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Refresh positions

PUT /lcs/shipments/{id}/positions

Refresh a shipment's positions to the latest known defaults

id: string
in path

(no description)

204 No Content

Positions refreshed

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Invoice shipment

POST /lcs/shipments/{id}/invoice

Manually trigger an invoice

id: string
in path

(no description)

204 No Content

Invoice requested

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Search

Search a shipment

POST /lcs/search/shipments

Search for a set of shipments

undefined

x-page: string
in header

(no description)

x-page-size: string
in header

(no description)

Request Example
{
  "constraints": [
    {
      "key": "string",
      "operator": "string",
      "value": [
        "string"
      ]
    }
  ]
}

The newly created shipment

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "number": "string",
    "type": "string",
    "method_id": "string",
    "contact_id": "string",
    "channel_id": "string (uuid)",
    "addressing": {
      "to": {
        "entity_type": "string",
        "entity_id": "string",
        "carrier": {
          "is_carrier_location": "boolean",
          "carrier_location_reference": "string"
        }
      },
      "from": "#/definitions/LcsShipmentAddressing"
    },
    "ship_at": "string (date-time)",
    "estimated_ship_at": "string (date-time)",
    "expected_at": "string (date-time)",
    "stack_id": "string",
    "is_editable": "boolean",
    "is_outbound": "boolean",
    "is_listed": "boolean",
    "is_finished": "boolean",
    "is_in_transit": "boolean",
    "is_complete": "boolean",
    "is_overcomplete": "boolean",
    "is_canceled": "boolean",
    "secret": "string",
    "prior_shipments": [
      "string (uuid)"
    ],
    "list_id": "string",
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-count

undefined

integer
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Search a fulfilment location

POST /lcs/search/locations

Search for a set of fulfilment locations

undefined

x-page: string
in header

(no description)

x-page-size: string
in header

(no description)

Request Example
{
  "constraints": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "string"
      ]
    }
  ]
}

The location set

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "name": "string",
    "reference": "string (uuid)",
    "address_id": "string",
    "is_disabled": "boolean",
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-count

undefined

integer
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Search a parcel

POST /lcs/search/parcels

Search for a set of parcels

undefined

x-page: string
in header

(no description)

x-page-size: string
in header

(no description)

Request Example
{
  "constraints": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "string"
      ]
    }
  ]
}
200 OK

The parcel set

type
400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "number": "string",
    "weight": "integer",
    "length": "integer",
    "width": "integer",
    "height": "integer",
    "tracking_code": "string",
    "tracking_url": "string",
    "position": "string",
    "label": {
      "file_id": "string",
      "reference": "string",
      "label_text": "string",
      "requested_at": "string (date-time)"
    },
    "shipment_id": "string (uuid)",
    "count": "integer",
    "items": [
      {
        "id": "string (uuid)",
        "sku": "string",
        "quantity": "integer",
        "description": "string"
      }
    ],
    "is_in_transit": "boolean",
    "is_delivered": "boolean",
    "is_outbound": "boolean",
    "is_finished": "boolean",
    "file_id": "string",
    "ship_at": "string (date-time)",
    "in_transit_at": "string (date-time)",
    "finished_at": "string (date-time)",
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-count

undefined

integer
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

List items

POST /lcs/search/shipments/items

List items on handling list

undefined

x-page: string
in header

(no description)

x-page-size: string
in header

(no description)

Request Example
{
  "constraints": [
    {
      "key": "string",
      "operator": "string",
      "value": [
        "string"
      ]
    }
  ]
}

Resulting success count

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "ids": [
      "string"
    ],
    "sku": "string",
    "quantity": "integer",
    "hs_code": "string",
    "description": "string",
    "references": [
      {
        "order_item_id": "string (uuid)",
        "claim_item_id": "string (uuid)"
      }
    ],
    "lists": [
      {
        "id": "string (uuid)",
        "item_ids": [
          "string (uuid)"
        ]
      }
    ],
    "parcels": [
      "#/definitions/LcsGroupedShipmentItemLists"
    ],
    "positions": [
      {
        "code": "string (uuid)",
        "item_ids": [
          "string (uuid)"
        ]
      }
    ],
    "handled_ids": [
      "string (uuid)"
    ],
    "boxed_ids": [
      "string (uuid)"
    ],
    "listed_ids": [
      "string (uuid)"
    ],
    "finished_ids": [
      "string (uuid)"
    ],
    "missing_ids": [
      "string (uuid)"
    ],
    "shipment_id": "string (uuid)",
    "totals": {
      "boxed": "integer",
      "handled": "integer",
      "finished": "integer",
      "missing": "integer",
      "listed": "integer"
    }
  }
]
Response Headers (200 OK)
x-count

undefined

integer
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Search shipment methods

POST /lcs/search/methods

Search for shipment methods

Request Example
{
  "constraints": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "string"
      ]
    }
  ]
}
200 OK

Resulting success count

type
400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "carrier_code": "string",
    "name": "string",
    "label": "string",
    "description": "string",
    "max_weight": "integer",
    "countries": [
      {
        "code": "string",
        "amount": "integer"
      }
    ],
    "delivery_during": "string",
    "is_configured": "boolean",
    "is_same_day": "boolean",
    "is_sunday": "boolean",
    "is_carrier_location": "boolean",
    "is_neighbour_allowed": "boolean",
    "provider_method_id": "string",
    "provider": "string",
    "is_enabled": "boolean",
    "priority": "integer"
  }
]
Response Headers (200 OK)
x-count

undefined

integer
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

List items

POST /lcs/search/lists/items

Search items on handling list

undefined

x-page: string
in header

(no description)

x-page-size: string
in header

(no description)

Request Example
{
  "constraints": [
    {
      "key": "string",
      "operator": "string",
      "value": [
        "string"
      ]
    }
  ]
}

Resulting success count

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "ids": [
      "string"
    ],
    "handled_ids": [
      "string"
    ],
    "shipment_id": "string",
    "sku": "string",
    "description": "string",
    "position": "string",
    "quantity": "integer",
    "sorting_label": "string",
    "rank": "integer"
  }
]
Response Headers (200 OK)
x-count

undefined

integer
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

List items

POST /lcs/search/parcels/items

Search parcel items

undefined

x-page: string
in header

(no description)

x-page-size: string
in header

(no description)

Request Example
{
  "constraints": [
    {
      "key": "string",
      "operator": "string",
      "value": [
        "string"
      ]
    }
  ]
}
200 OK

Resulting success count

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string (uuid)",
    "sku": "string",
    "quantity": "integer",
    "description": "string"
  }
]
Response Headers (200 OK)
x-count

undefined

integer
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Bulk

Bulk change

PUT /lcs/bulk/items

Update items in bulk

command: string set_parameters
parameters: object

possible keys are: [position], [parcel_id], [is_handled], [is_finished], [is_missing], [lot_number] [expires_at]

constraints: LcsItemSearchConstraint
LcsItemSearchConstraint
Request Example
{
  "command": "string",
  "parameters": {
    "is_handled": true
  },
  "constraints": [
    {
      "key": "string",
      "operator": "string",
      "value": [
        "string"
      ]
    }
  ]
}
204 No Content

Executed command succesfully

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Items

Update a shipment's backorder items

PUT /lcs/shipments/{id}/items/backorders

Update the shipment's items that are backorder

LcsShipmentItemCorrection
id: string
in path

(no description)

Request Example
[
  {
    "sku": "string",
    "quantity": "integer",
    "description": "string",
    "position": "string"
  }
]
200 OK

Detailed view for shipment

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "number": "string",
  "type": "string",
  "method_id": "string",
  "contact_id": "string",
  "channel_id": "string (uuid)",
  "order_id": "string",
  "addressing": {
    "to": {
      "entity_type": "string",
      "entity_id": "string",
      "carrier": {
        "is_carrier_location": "boolean",
        "carrier_location_reference": "string"
      }
    },
    "from": "#/definitions/LcsShipmentAddressing"
  },
  "ship_at": "string (date-time)",
  "estimated_ship_at": "string (date-time)",
  "expected_at": "string (date-time)",
  "stack_id": "string",
  "is_editable": "boolean",
  "is_outbound": "boolean",
  "is_labeled": "boolean",
  "is_serviced": "boolean",
  "is_complete": "boolean",
  "is_overcomplete": "boolean",
  "is_boxed": "boolean",
  "is_handled": "boolean",
  "is_listed": "boolean",
  "is_finished": "boolean",
  "is_in_transit": "boolean",
  "is_canceled": "boolean",
  "items": [
    {
      "id": "string",
      "reference": "string",
      "sku": "string",
      "position": "string",
      "order_item_id": "string (uuid)",
      "claim_item_id": "string (uuid)",
      "description": "string",
      "is_listed": "boolean",
      "is_handled": "boolean",
      "is_boxed": "boolean",
      "is_in_transit": "boolean",
      "is_finished": "boolean",
      "is_missing": "boolean",
      "hs_code": "string",
      "service": [
        {
          "option": "string",
          "configuration": [
            {
              "key": "string",
              "value": "string"
            }
          ]
        }
      ]
    }
  ],
  "backorders": [
    {
      "sku": "string",
      "quantity": "integer",
      "description": "string",
      "position": "string"
    }
  ],
  "overage": [
    "#/definitions/LcsShipmentItemCorrection"
  ],
  "parcels": [
    {
      "id": "string",
      "number": "string",
      "weight": "integer",
      "length": "integer",
      "width": "integer",
      "height": "integer",
      "tracking_code": "string",
      "tracking_url": "string",
      "position": "string",
      "label": {
        "file_id": "string",
        "reference": "string",
        "label_text": "string",
        "requested_at": "string (date-time)"
      },
      "shipment_id": "string (uuid)",
      "count": "integer",
      "items": [
        {
          "id": "string (uuid)",
          "sku": "string",
          "quantity": "integer",
          "description": "string"
        }
      ],
      "is_in_transit": "boolean",
      "is_delivered": "boolean"
    }
  ]
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Update a shipment's overage

PUT /lcs/shipments/{id}/items/overage

Update items that were not expected

LcsShipmentItemCorrection
id: string
in path

(no description)

Request Example
[
  {
    "sku": "string",
    "quantity": "integer",
    "description": "string",
    "position": "string"
  }
]
200 OK

Detailed view for shipment

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "number": "string",
  "type": "string",
  "method_id": "string",
  "contact_id": "string",
  "channel_id": "string (uuid)",
  "order_id": "string",
  "addressing": {
    "to": {
      "entity_type": "string",
      "entity_id": "string",
      "carrier": {
        "is_carrier_location": "boolean",
        "carrier_location_reference": "string"
      }
    },
    "from": "#/definitions/LcsShipmentAddressing"
  },
  "ship_at": "string (date-time)",
  "estimated_ship_at": "string (date-time)",
  "expected_at": "string (date-time)",
  "stack_id": "string",
  "is_editable": "boolean",
  "is_outbound": "boolean",
  "is_labeled": "boolean",
  "is_serviced": "boolean",
  "is_complete": "boolean",
  "is_overcomplete": "boolean",
  "is_boxed": "boolean",
  "is_handled": "boolean",
  "is_listed": "boolean",
  "is_finished": "boolean",
  "is_in_transit": "boolean",
  "is_canceled": "boolean",
  "items": [
    {
      "id": "string",
      "reference": "string",
      "sku": "string",
      "position": "string",
      "order_item_id": "string (uuid)",
      "claim_item_id": "string (uuid)",
      "description": "string",
      "is_listed": "boolean",
      "is_handled": "boolean",
      "is_boxed": "boolean",
      "is_in_transit": "boolean",
      "is_finished": "boolean",
      "is_missing": "boolean",
      "hs_code": "string",
      "service": [
        {
          "option": "string",
          "configuration": [
            {
              "key": "string",
              "value": "string"
            }
          ]
        }
      ]
    }
  ],
  "backorders": [
    {
      "sku": "string",
      "quantity": "integer",
      "description": "string",
      "position": "string"
    }
  ],
  "overage": [
    "#/definitions/LcsShipmentItemCorrection"
  ],
  "parcels": [
    {
      "id": "string",
      "number": "string",
      "weight": "integer",
      "length": "integer",
      "width": "integer",
      "height": "integer",
      "tracking_code": "string",
      "tracking_url": "string",
      "position": "string",
      "label": {
        "file_id": "string",
        "reference": "string",
        "label_text": "string",
        "requested_at": "string (date-time)"
      },
      "shipment_id": "string (uuid)",
      "count": "integer",
      "items": [
        {
          "id": "string (uuid)",
          "sku": "string",
          "quantity": "integer",
          "description": "string"
        }
      ],
      "is_in_transit": "boolean",
      "is_delivered": "boolean"
    }
  ]
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Set missing

PUT /lcs/shipments/{id}/items/missing

Update items that are missing

LcsShipmentItemMissing
id: string
in path

(no description)

Request Example
[
  {
    "id": "string (uuid)",
    "is_missing": "boolean"
  }
]
204 No Content

Items updated

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Methods

List methods

GET /lcs/methods

List all methods

country_code: string
in query

(no description)

channel_id: string
in query

(no description)

200 OK

The list of methods

type
400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "carrier_code": "string",
    "name": "string",
    "label": "string",
    "description": "string",
    "max_weight": "integer",
    "countries": [
      {
        "code": "string",
        "amount": "integer"
      }
    ],
    "delivery_during": "string",
    "is_configured": "boolean",
    "is_same_day": "boolean",
    "is_sunday": "boolean",
    "is_carrier_location": "boolean",
    "is_neighbour_allowed": "boolean",
    "provider_method_id": "string",
    "provider": "string",
    "is_enabled": "boolean",
    "priority": "integer"
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get method

GET /lcs/methods/{id}

List all methods

id: string
in path

(no description)

country_code: string
in query

(no description)

channel_id: string
in query

(no description)

200 OK

The list of methods

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "carrier_code": "string",
  "name": "string",
  "label": "string",
  "description": "string",
  "max_weight": "integer",
  "countries": [
    {
      "code": "string",
      "amount": "integer"
    }
  ],
  "delivery_during": "string",
  "is_configured": "boolean",
  "is_same_day": "boolean",
  "is_sunday": "boolean",
  "is_carrier_location": "boolean",
  "is_neighbour_allowed": "boolean",
  "provider_method_id": "string",
  "provider": "string",
  "is_enabled": "boolean",
  "priority": "integer"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Parcels

List parcels

GET /lcs/parcels

List all parcels

x-page: integer
in header

(no description)

x-page-size: integer
in header

(no description)

200 OK

The list of parcels

type
400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "number": "string",
    "weight": "integer",
    "length": "integer",
    "width": "integer",
    "height": "integer",
    "tracking_code": "string",
    "tracking_url": "string",
    "position": "string",
    "label": {
      "file_id": "string",
      "reference": "string",
      "label_text": "string",
      "requested_at": "string (date-time)"
    },
    "shipment_id": "string (uuid)",
    "count": "integer",
    "items": [
      {
        "id": "string (uuid)",
        "sku": "string",
        "quantity": "integer",
        "description": "string"
      }
    ],
    "is_in_transit": "boolean",
    "is_delivered": "boolean",
    "is_outbound": "boolean",
    "is_finished": "boolean",
    "file_id": "string",
    "ship_at": "string (date-time)",
    "in_transit_at": "string (date-time)",
    "finished_at": "string (date-time)",
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-count

undefined

integer
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Create parcel

POST /lcs/parcels

Add a new parcel to the list

Request Example
{
  "shipment_id": "string",
  "weight": "integer",
  "length": "integer",
  "width": "integer",
  "height": "integer",
  "tracking_code": "string",
  "tracking_url": "string",
  "item_ids": [
    "string"
  ]
}
200 OK

The newly created parcel

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "number": "string",
  "weight": "integer",
  "length": "integer",
  "width": "integer",
  "height": "integer",
  "tracking_code": "string",
  "tracking_url": "string",
  "position": "string",
  "label": {
    "file_id": "string",
    "reference": "string",
    "label_text": "string",
    "requested_at": "string (date-time)"
  },
  "shipment_id": "string (uuid)",
  "count": "integer",
  "items": [
    {
      "id": "string (uuid)",
      "sku": "string",
      "quantity": "integer",
      "description": "string"
    }
  ],
  "is_in_transit": "boolean",
  "is_delivered": "boolean",
  "is_outbound": "boolean",
  "is_finished": "boolean",
  "file_id": "string",
  "ship_at": "string (date-time)",
  "in_transit_at": "string (date-time)",
  "finished_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

View parcel

GET /lcs/parcels/{id}

Get a single parcel

id: string
in path

(no description)

200 OK

The requested parcel

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "number": "string",
  "weight": "integer",
  "length": "integer",
  "width": "integer",
  "height": "integer",
  "tracking_code": "string",
  "tracking_url": "string",
  "position": "string",
  "label": {
    "file_id": "string",
    "reference": "string",
    "label_text": "string",
    "requested_at": "string (date-time)"
  },
  "shipment_id": "string (uuid)",
  "count": "integer",
  "items": [
    {
      "id": "string (uuid)",
      "sku": "string",
      "quantity": "integer",
      "description": "string"
    }
  ],
  "is_in_transit": "boolean",
  "is_delivered": "boolean",
  "is_outbound": "boolean",
  "is_finished": "boolean",
  "file_id": "string",
  "ship_at": "string (date-time)",
  "in_transit_at": "string (date-time)",
  "finished_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Update a parcel

PUT /lcs/parcels/{id}

Update the parcel parameters

undefined

id: string
in path

(no description)

Request Example
{
  "weight": "integer",
  "length": "integer",
  "width": "integer",
  "height": "integer",
  "ship_at": "string (date-time)",
  "tracking_code": "string",
  "tracking_url": "string",
  "position": "string"
}
204 No Content

Updated the parcel settings

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Remove a parcel

DELETE /lcs/parcels/{id}

Remove a parcel

id: string
in path

(no description)

204 No Content

Deleted the parcel

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Add items to parcel

POST /lcs/parcels/{id}/items

Add items to a parcel

undefined

id: string
in path

(no description)

Request Example
{
  "ids": [
    "string"
  ]
}
200 OK

The updated parcel

type
object
400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "success": 12,
  "failed": 0
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Remove items from parcel

DELETE /lcs/parcels/{id}/items

Remove items from parcel

undefined

id: string
in path

(no description)

Request Example
{
  "ids": [
    "string"
  ]
}
200 OK

The newly created parcel

type
object
400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "success": 12,
  "failed": 0
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Mark transit

PUT /lcs/parcels/{id}/transit

Mark parcel as in-transit

id: string
in path

(no description)

204 No Content

Updated the parcel state

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Mark finished

PUT /lcs/parcels/{id}/finished

Mark parcel as finished

id: string
in path

(no description)

204 No Content

Updated the parcel state

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Request label

POST /lcs/parcels/{id}/label

Requests a label for the parcel

id: string
in path

(no description)

204 No Content

Requesting a label

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Headers (204 No Content)
x-task-id

Reference to the task

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Request slip

POST /lcs/parcels/{id}/slip

Requests packing slip

id: string
in path

(no description)

204 No Content

Requesting a packing slip

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Headers (204 No Content)
x-task-id

Reference to the task

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Fulfilment

Get list of fulfilment locations

GET /lcs/locations

Returns a list of fulfilment locations

x-page: string
in header

(no description)

x-page-size: string
in header

(no description)

address_id: string
in query

(no description)

is_disabled: string 1, 0
in query

(no description)

List of locations

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "name": "string",
    "reference": "string (uuid)",
    "address_id": "string",
    "is_disabled": "boolean",
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-count

undefined

integer
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Add a new fulfilment location

POST /lcs/locations

Create a new fulfilment location

Request Example
{
  "name": "string",
  "address_id": "string",
  "is_disabled": "boolean"
}

The created location

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "name": "string",
  "reference": "string (uuid)",
  "address_id": "string",
  "is_disabled": "boolean",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Headers (200 OK)
x-page

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get a fulfilment location

GET /lcs/locations/{id}

Returns a fulfilment location

id: string
in path

(no description)

The location

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "name": "string",
  "reference": "string (uuid)",
  "address_id": "string",
  "is_disabled": "boolean",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Update fulfilment location

PUT /lcs/locations/{id}

Updates a location

id: string
in path

(no description)

Request Example
{
  "name": "string",
  "address_id": "string",
  "is_disabled": "boolean"
}

The location

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "name": "string",
  "reference": "string (uuid)",
  "address_id": "string",
  "is_disabled": "boolean",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get list of positions within a fulfilment location

GET /lcs/locations/{id}/positions

Returns a list of fulfilment locations

id: string
in path

(no description)

x-page: string
in header

(no description)

x-page-size: integer
in header

(no description)

List of positions

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "code": "string",
    "sorting": "integer",
    "skus": [
      {
        "sku": "string",
        "position": "string",
        "created_at": "string (date-time)"
      }
    ],
    "created_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-page

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Reorder the positions within a location

PUT /lcs/locations/{id}/positions

Updates the position order for a location

string
id: string
in path

(no description)

Request Example
[
  "A3.32435"
]
200 OK

New list of positions

type
object
400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "success": 1
}
Response Headers (200 OK)
x-page

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Reorder the positions within a location

DELETE /lcs/locations/{id}/positions

Updates the position order for a location

string
id: string
in path

(no description)

Request Example
[
  "A3.32435"
]
200 OK

New list of positions

type
object
400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "success": 1
}
Response Headers (200 OK)
x-page

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

View position

GET /lcs/locations/{id}/positions/{code}

Returns a single positino

id: string
in path

(no description)

code: string
in path

(no description)

The position

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "code": "string",
  "sorting": "integer",
  "skus": [
    {
      "sku": "string",
      "position": "string",
      "created_at": "string (date-time)"
    }
  ],
  "created_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Search a set of positions

POST /lcs/locations/{id}/positions/search

Searches a set of positions based on sku's

string
id: string
in path

(no description)

Request Example
[
  "A3.32435"
]

List of positions

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "sku": "string",
  "position": "string",
  "created_at": "string (date-time)"
}
Response Headers (200 OK)
x-page

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get list of sku's that are listed for the fulfilment location

GET /lcs/locations/{id}/skus

Returns a list of fulfilment locations

id: string
in path

(no description)

List of sku's

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "sku": "string",
    "position": "string",
    "created_at": "string (date-time)"
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Update one or more sku's for the location

PUT /lcs/locations/{id}/skus

Updates the position order for a location

LcsLocationSku
id: string
in path

(no description)

Request Example
[
  {
    "sku": "string",
    "position": "string",
    "created_at": "string (date-time)"
  }
]
200 OK

New list of positions

type
object
400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "success": 12,
  "failed": 0
}
Response Headers (200 OK)
x-page

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

List service points

GET /lcs/points/{carrier}

List all service points

carrier: string
in path

(no description)

country_code: string
in query

(no description)

postal_code: string
in query

(no description)

channel_id: string
in query

(no description)

200 OK

The list of methods

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "distance": "number",
    "point": {
      "id": "string",
      "name": "string",
      "carrier": "string",
      "latitude": "number (float64)",
      "longitude": "number (float64)",
      "address": {
        "country_code": "string",
        "administrative_area": "string",
        "locality": "string",
        "dependent_locality": "string",
        "postal_code": "string",
        "sorting_code": "string",
        "address_line_1": "string",
        "address_line_2": "string",
        "thoroughfare": "string",
        "premise_number": "number",
        "premise_number_suffix": "string",
        "organisation": "string",
        "given_name": "string",
        "additional_name": "string",
        "family_name": "string"
      },
      "openings": [
        {
          "weekday": "number",
          "windows": [
            {
              "start": "string",
              "end": "string"
            }
          ]
        }
      ]
    }
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get a service point

GET /lcs/points/{carrier}/{id}

Returns a single service

id: string
in path

(no description)

carrier: string
in path

(no description)

country_code: string
in query

(no description)

channel_id: string
in query

(no description)

200 OK

The list of methods

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "name": "string",
  "carrier": "string",
  "latitude": "number (float64)",
  "longitude": "number (float64)",
  "address": {
    "country_code": "string",
    "administrative_area": "string",
    "locality": "string",
    "dependent_locality": "string",
    "postal_code": "string",
    "sorting_code": "string",
    "address_line_1": "string",
    "address_line_2": "string",
    "thoroughfare": "string",
    "premise_number": "number",
    "premise_number_suffix": "string",
    "organisation": "string",
    "given_name": "string",
    "additional_name": "string",
    "family_name": "string"
  },
  "openings": [
    {
      "weekday": "number",
      "windows": [
        {
          "start": "string",
          "end": "string"
        }
      ]
    }
  ]
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

IAM

Logging

Query logs

POST /iam/logging/logs

Query audit and system logs

Log object

x-page: string 1
in header

the requested page id

x-page-size: string 25
in header

the requested page size

Request Example
{
  "filter": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "string"
      ]
    }
  ],
  "limit": "integer",
  "offset": "integer"
}
200 OK

The results

type
400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string (uuid)",
    "category": "string",
    "code": "string",
    "resource": {
      "trace": "string",
      "stream": "string",
      "entity_type": "string",
      "entity_id": "string (uuid)"
    },
    "actor": {
      "entity_type": "string",
      "entity_id": "string"
    },
    "metadata": "object",
    "processed_at": "string (date-time)",
    "created_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-page

a cursored header with the next page, and offset in it

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Export logs

POST /iam/logging/export

Export audit and system logs

Log object

Request Example
{
  "filter": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "string"
      ]
    }
  ],
  "limit": "integer",
  "offset": "integer"
}
204 No Content

Export started

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Headers (204 No Content)
x-task-id

undefined

string (uuid)
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

2fa

2fa

Create a secret / enable 2FA

POST /iam/2fa/secrets/{type}

Create a new secret for 2FA

Secret request

type: string
in path

Type that we look for

Request Example
{
  "name": "string",
  "backups": [
    {
      "channel": "string",
      "address": "string"
    }
  ]
}
200 OK

The secret that was created

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "type": "string",
  "sub": "string",
  "name": "string",
  "secret": "string",
  "is_confirmed": "boolean",
  "qr_url": "string",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
2fa

Get secret information

GET /iam/2fa/secrets/{type}

Get the secret for the type for the current user

type: string
in path

Type that we look for

200 OK

The secret that matches the query

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "type": "string",
  "sub": "string",
  "name": "string",
  "secret_last_4": "string",
  "is_confirmed": "boolean",
  "backups": [
    {
      "channel": "string",
      "address": "string"
    }
  ],
  "deleted_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
2fa

Update a secret

PUT /iam/2fa/secrets/{type}

Update an existing secret for 2FA

Secret request

type: string
in path

Type that we look for

Request Example
{
  "backups": [
    {
      "channel": "string",
      "address": "string"
    }
  ]
}
200 OK

The secret that was created

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "type": "string",
  "sub": "string",
  "name": "string",
  "secret_last_4": "string",
  "is_confirmed": "boolean",
  "backups": [
    {
      "channel": "string",
      "address": "string"
    }
  ],
  "deleted_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
2fa

Disable 2FA

DELETE /iam/2fa/secrets/{type}

Delete the secret and disable 2FA

type: string
in path

Type that needs to be deleted

200 OK

The secret that was deleted

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "type": "string",
  "sub": "string",
  "name": "string",
  "secret_last_4": "string",
  "is_confirmed": "boolean",
  "backups": [
    {
      "channel": "string",
      "address": "string"
    }
  ],
  "deleted_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
2fa

Verify an otp

POST /iam/2fa/secrets/{type}/verify

Verify if one time password was created with known secret

Validation request object

type: string
in path

Type that we look for

Request Example
{
  "otp": "string"
}

The validation response

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "is_verified": "boolean"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
2fa

Request a backup code over the requested channel

POST /iam/2fa/secrets/{type}/backup/{channel}

Request a otp over the given channel

type: string
in path

Type that we look for

channel: string
in path

Channel of choice

The validation response

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "address": "string",
  "created_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Subscription

Obtain billing information

GET /iam/customer

Customer information regarding billing data

Cards that are available

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "name": "string",
  "vat_number": "string",
  "billing_email": "string",
  "phone_number": "string",
  "address": {
    "address_line_1": "string",
    "address_line_2": "string",
    "postal_code": "string",
    "city": "string",
    "country_code": "string"
  }
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Update billing information

PUT /iam/customer

Update customer information regarding billing data

Email object

Request Example
{
  "name": "string",
  "vat_number": "string",
  "billing_email": "string",
  "phone_number": "string",
  "address": {
    "address_line_1": "string",
    "address_line_2": "string",
    "postal_code": "string",
    "city": "string",
    "country_code": "string"
  }
}

Cards that are available

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "name": "string",
  "vat_number": "string",
  "billing_email": "string",
  "phone_number": "string",
  "address": {
    "address_line_1": "string",
    "address_line_2": "string",
    "postal_code": "string",
    "city": "string",
    "country_code": "string"
  }
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Obtain a list of payment sources

GET /iam/sources

List of payment sources

Sources that are available

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "last_4": "string",
    "name": "string",
    "is_default": "boolean",
    "brand": "string",
    "expires_at": "string (date-time)",
    "mandate": "string"
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Merge a payment source to a user

POST /iam/sources

Add a payment source

source: string
Request Example
{
  "source": "string"
}

Sources that are available

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "last_4": "string",
    "name": "string",
    "is_default": "boolean",
    "brand": "string",
    "expires_at": "string (date-time)",
    "mandate": "string"
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Remove a payment source from the user

DELETE /iam/sources/{id}

Remove an active payment source

id: string
in path

(no description)

Sources that are available

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "last_4": "string",
    "name": "string",
    "is_default": "boolean",
    "brand": "string",
    "expires_at": "string (date-time)",
    "mandate": "string"
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Obtain a list of products

GET /iam/products

List products

200 OK

Products that are available

type
400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "code": "string",
    "name": "string",
    "description": "string",
    "unit": "string",
    "plan": {
      "id": "string",
      "interval": "string",
      "type": "string",
      "amount": "integer",
      "tiers": [
        {
          "up_to": "integer",
          "flat_amount": "integer",
          "unit_amount": "integer"
        }
      ]
    },
    "is_add_on": "boolean"
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Obtain a live list of active subscriptions

GET /iam/subscriptions

List of subscribed products

List of active subscriptions

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "code": "string",
    "is_renewing": "boolean",
    "start_at": "string (date-time)",
    "end_at": "string (date-time)",
    "items": [
      {
        "id": "string",
        "product": {
          "id": "string",
          "code": "string",
          "name": "string",
          "description": "string",
          "unit": "string",
          "plan": {
            "id": "string",
            "interval": "string",
            "type": "string",
            "amount": "integer",
            "tiers": [
              {
                "up_to": "integer",
                "flat_amount": "integer",
                "unit_amount": "integer"
              }
            ]
          },
          "is_add_on": "boolean"
        },
        "type": "string"
      }
    ]
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Subscribe to a service

POST /iam/subscriptions

Add a product to the subscription

undefined

Request Example
{
  "code": "string"
}

List of active subscriptions

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "code": "string",
    "unit": "string",
    "quantity": "integer"
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Subscribe to an add on

POST /iam/subscriptions/addons

Add an add on to a subscription

undefined

Request Example
{
  "id": "string"
}

List of active subscriptions

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "code": "string",
    "unit": "string",
    "quantity": "integer"
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Obtain a live list of active invoices

GET /iam/subscriptions/invoices

List of the invoices

x-page: string
in header

(no description)

x-page-size: string
in header

(no description)

200 OK

List of active subscriptions

type
400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "total": "integer",
    "is_paid": "boolean",
    "is_pending": "boolean",
    "is_cancelled": "boolean",
    "invoiced_at": "string (date-time)",
    "reference": "string",
    "products": [
      {
        "id": "string",
        "code": "string",
        "name": "string",
        "description": "string",
        "unit": "string",
        "plan": {
          "id": "string",
          "interval": "string",
          "type": "string",
          "amount": "integer",
          "tiers": [
            {
              "up_to": "integer",
              "flat_amount": "integer",
              "unit_amount": "integer"
            }
          ]
        },
        "is_add_on": "boolean"
      }
    ],
    "pdf": "string",
    "payment_url": "string",
    "start_at": "string (date-time)",
    "end_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-page

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Obtain a live projection of the upcoming invoice

GET /iam/subscriptions/invoices/next

Get information about the next invoice

code: string
in query

cnt

List of active subscriptions

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "total": "integer",
  "is_paid": "boolean",
  "is_cancelled": "boolean",
  "invoiced_at": "string (date-time)",
  "reference": "string",
  "products": [
    {
      "id": "string",
      "code": "string",
      "name": "string",
      "description": "string",
      "unit": "string",
      "quantity": "integer",
      "amount": "integer",
      "is_trial": "boolean",
      "plan": {
        "id": "string",
        "interval": "string",
        "type": "string",
        "amount": "integer",
        "tiers": [
          {
            "up_to": "integer",
            "flat_amount": "integer",
            "unit_amount": "integer"
          }
        ]
      }
    }
  ],
  "start_at": "string (date-time)",
  "end_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Obtain a live projection of the trial status

GET /iam/subscriptions/trial

Get information about the trial

200 OK

List of active subscriptions

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "is_on_trial": "boolean",
  "trial_balance": "integer",
  "trial_ends_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Obtain a live list of active subscriptions

POST /iam/subscriptions/usages

List of subscribed products

undefined

Request Example
{
  "code": "string",
  "unit": "string"
}

List of active subscriptions

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "code": "string",
    "unit": "string",
    "quantity": "integer"
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Audit

Get the audit log

GET /iam/logs

Returns a list of logs.

x-page: string
in header

The page token

x-page-size: string
in header

The amount of results for the page

method: string
in query

The method filter

resource: string
in query

The resource filter

user: string
in query

The user filter

logged_after: string
in query

Timestamp to filter log date

200 OK

List of audit lines

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "method": "string",
    "resource": "string",
    "user": "string",
    "metadata": "object",
    "logged_at": "string (date-time)",
    "created_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-page

The pagination cursor, use this token for the next page of results

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get the audit log filters

GET /iam/logs/filters

Returns a list of filters for logs.

200 OK

List of audit filters

type
object
400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "resource": [
    "jwt"
  ],
  "method": [
    "authorize"
  ],
  "user": [
    "peter@afosto.com"
  ]
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Tenants

Create a new tenant

POST /iam/tenants

Returns a new authorization response

Signup object

Request Example
{
  "company": {
    "name": "string",
    "vat_number": "string",
    "phone_number": "string",
    "address": {
      "address_line_1": "string",
      "address_line_2": "string",
      "postal_code": "string",
      "city": "string",
      "country_code": "string"
    }
  },
  "user": {
    "email": "string",
    "password": "string",
    "first_name": "string",
    "last_name": "string"
  }
}
200 OK

Tenant and user information

type
object
400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "tenant": {
    "id": "string",
    "name": "string",
    "is_active": "boolean",
    "stripe_id": "string",
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  },
  "user": {
    "id": "string",
    "email": "string",
    "first_name": "string",
    "last_name": "string",
    "is_verified": "boolean",
    "is_pending_invite": "boolean",
    "is_primary": "boolean",
    "is_deleted": "boolean",
    "tenant_id": "string",
    "roles": [
      "string"
    ],
    "deleted_at": "string (date-time)",
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get a info about tenant

GET /iam/tenants/{id}

Return the current tenant information

id: string
in path

Id that belongs to the tenant

200 OK

Tenants model

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "name": "string",
  "is_active": "boolean",
  "stripe_id": "string",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Update company name

PUT /iam/tenants/{id}

Update the company name

name: string
id: string
in path

Id that belongs to the tenant

Request Example
{
  "name": "CompanyName"
}
200 OK

Tenants model

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "name": "string",
  "is_active": "boolean",
  "stripe_id": "string",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Request token

POST /iam/purges

Requests a purge token

Purge request

domains: string[]
string rel:contacts, rel:organisations, rel:addresses, rel:phonenumbers, rel:identities, rel:tokens, lcs:shipments, odr:orders, odr:invoices, odr:calculations, odr:transactions
Request Example
{
  "domains": [
    "string"
  ]
}
200 OK

Token data

type
object
400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string (uuid)",
  "name": "Account Admin",
  "email": "admin@example.org"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

View token

GET /iam/purges/{token}

View a purge token

token: string
in path

(no description)

200 OK

Token data

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "integer",
  "domains": [
    "string"
  ],
  "expires_at": "string (date-time)",
  "token": "string",
  "requester": "string",
  "signer": "string",
  "created_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Apply token

POST /iam/purges/{token}

Start purge for token

token: string
in path

(no description)

200 OK

Token data

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "integer",
  "domains": [
    "string"
  ],
  "expires_at": "string (date-time)",
  "token": "string",
  "requester": "string",
  "signer": "string",
  "created_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Subtenants

Get a list of accessible subtenants

GET /iam/subtenants

Returns a list of subtenants

200 OK

List of users

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "company": "string",
    "state": "string",
    "tenant_id": "string",
    "signee": "string",
    "type": "string",
    "roles": [
      "string"
    ],
    "created_at": "string (date-time)"
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get a list of pending invites to subtenants

GET /iam/subtenants/invites

Returns a list of subtenants

state: string pending, denied pending
in query

(no description)

200 OK

List of users

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "company": "string",
    "state": "string",
    "tenant_id": "string",
    "signee": "string",
    "type": "string",
    "roles": [
      "string"
    ],
    "created_at": "string (date-time)"
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get the default tenant

GET /iam/subtenants/default

Returns the default tenant

200 OK

Default subtenant

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "company": "string",
  "state": "string",
  "tenant_id": "string",
  "signee": "string",
  "type": "string",
  "roles": [
    "string"
  ],
  "created_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Update the state of an invite

PUT /iam/subtenants/invites/{id}

Updates the invite state

state: string approved, declined
id: string
in path

(no description)

Request Example
{
  "state": "string"
}
200 OK

List of users

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "company": "string",
  "state": "string",
  "tenant_id": "string",
  "signee": "string",
  "type": "string",
  "roles": [
    "string"
  ],
  "created_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get a list of pending subtenant requests

GET /iam/subtenants/requests

Returns a list of subtenants

List of users

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "state": "string",
    "signee": "string",
    "roles": [
      "string"
    ],
    "created_at": "string (date-time)"
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Send a request to access another tenant

POST /iam/subtenants/requests

Create a new subtenant request

signee: string
roles: string[]
string
Request Example
{
  "signee": "user@example.org",
  "roles": [
    "string"
  ]
}

The created request

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "state": "string",
  "signee": "string",
  "roles": [
    "string"
  ],
  "created_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get a list of approved authorizations to the tenant's account

GET /iam/subtenants/authorizations

Returns a list of subtenants

List of users

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "user": {
      "first_name": "string",
      "last_name": "string",
      "email": "string",
      "company": "string"
    },
    "roles": [
      "string"
    ],
    "type": "string",
    "state": "string",
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get a list of pending requests for users to the tenant's account

GET /iam/subtenants/authorizations/requests

Returns a list of subtenants

state: string pending, revoked, denied, expired
in query

(no description)

List of users

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "user": {
      "first_name": "string",
      "last_name": "string",
      "email": "string",
      "company": "string"
    },
    "roles": [
      "string"
    ],
    "type": "string",
    "state": "string",
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Update the state of a request

PUT /iam/subtenants/authorizations/requests/{id}

Updates the request state

state: string approved, declined, revoked
id: string
in path

(no description)

Request Example
{
  "state": "string"
}

List of users

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "user": {
    "first_name": "string",
    "last_name": "string",
    "email": "string",
    "company": "string"
  },
  "roles": [
    "string"
  ],
  "type": "string",
  "state": "string",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get a list of pending invites for users to the tenant's account

GET /iam/subtenants/authorizations/invites

Returns a list of subtenants

List of users

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "email": "string",
    "roles": [
      "string"
    ],
    "state": "string",
    "created_at": "string (date-time)"
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Send a request to access another tenant

POST /iam/subtenants/authorizations/invites

Create a new subtenant request

email: string
roles: string[]
string
Request Example
{
  "email": "user@example.org",
  "roles": [
    "string"
  ]
}

List of users

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "email": "string",
  "roles": [
    "string"
  ],
  "state": "string",
  "created_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Users

Get a list of users

GET /iam/users

Returns a list of users

is_pending_invite: integer 1, 0
in query

(no description)

is_deleted: integer 1, 0 0
in query

(no description)

x-page-size: integer
in header

(no description)

x-page: string
in header

(no description)

200 OK

List of users

type
400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "email": "string",
    "first_name": "string",
    "last_name": "string",
    "is_verified": "boolean",
    "is_pending_invite": "boolean",
    "is_primary": "boolean",
    "is_deleted": "boolean",
    "tenant_id": "string",
    "roles": [
      "string"
    ],
    "deleted_at": "string (date-time)",
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-page

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Create a new user

POST /iam/users

Returns a new authorization response

User object

Request Example
{
  "email": "string",
  "password": "string",
  "first_name": "string",
  "last_name": "string"
}
200 OK

Created user

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "email": "string",
  "first_name": "string",
  "last_name": "string",
  "is_verified": "boolean",
  "is_pending_invite": "boolean",
  "is_primary": "boolean",
  "is_deleted": "boolean",
  "tenant_id": "string",
  "roles": [
    "string"
  ],
  "deleted_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get a single user by id

GET /iam/users/{id}

Returns a single user

id: string
in path

Id that belongs to the user

200 OK

The user

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "email": "string",
  "first_name": "string",
  "last_name": "string",
  "is_verified": "boolean",
  "is_pending_invite": "boolean",
  "is_primary": "boolean",
  "is_deleted": "boolean",
  "tenant_id": "string",
  "roles": [
    "string"
  ],
  "deleted_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Update a user by id

PUT /iam/users/{id}

Updates a user

User object

id: string
in path

Id that belongs to the user

Request Example
{
  "first_name": "string",
  "last_name": "string"
}
200 OK

The user

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "email": "string",
  "first_name": "string",
  "last_name": "string",
  "is_verified": "boolean",
  "is_pending_invite": "boolean",
  "is_primary": "boolean",
  "is_deleted": "boolean",
  "tenant_id": "string",
  "roles": [
    "string"
  ],
  "deleted_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Delete a user by id

DELETE /iam/users/{id}

Deletes a user

id: string
in path

Id that belongs to the user

200 OK

The deleted user

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "email": "string",
  "first_name": "string",
  "last_name": "string",
  "is_verified": "boolean",
  "is_pending_invite": "boolean",
  "is_primary": "boolean",
  "is_deleted": "boolean",
  "tenant_id": "string",
  "roles": [
    "string"
  ],
  "deleted_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get a list of tokens

GET /iam/users/{id}/tokens

Returns a list of tokens

type: string
in query

(no description)

id: string
in path

Id that belongs to the user

List of users

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "expires_at": "string (date-time)"
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Update a user's roles by id

PUT /iam/users/{id}/roles

Updates the roles that belong to a user

Array of role id's

string
id: string
in path

Id that belongs to the user

Request Example
[
  "string"
]
200 OK

The user

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "email": "string",
  "first_name": "string",
  "last_name": "string",
  "is_verified": "boolean",
  "is_pending_invite": "boolean",
  "is_primary": "boolean",
  "is_deleted": "boolean",
  "tenant_id": "string",
  "roles": [
    "string"
  ],
  "deleted_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Join a tenant based on invite token

POST /iam/users/join

Accept an invite, set the password and mark user's email as verified

Reset object

Request Example
{
  "token": "string",
  "password": "string"
}
200 OK

The user

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "email": "string",
  "first_name": "string",
  "last_name": "string",
  "is_verified": "boolean",
  "is_pending_invite": "boolean",
  "is_primary": "boolean",
  "is_deleted": "boolean",
  "tenant_id": "string",
  "roles": [
    "string"
  ],
  "deleted_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Reset a user's credentials

POST /iam/users/password

So the user can login

Reset object

Request Example
{
  "token": "string",
  "password": "string"
}
200 OK

The user

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "email": "string",
  "first_name": "string",
  "last_name": "string",
  "is_verified": "boolean",
  "is_pending_invite": "boolean",
  "is_primary": "boolean",
  "is_deleted": "boolean",
  "tenant_id": "string",
  "roles": [
    "string"
  ],
  "deleted_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Mark user's email as verified

POST /iam/users/verify

So the user can login

Verify object

Request Example
{
  "token": "string"
}
200 OK

The user

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "email": "string",
  "first_name": "string",
  "last_name": "string",
  "is_verified": "boolean",
  "is_pending_invite": "boolean",
  "is_primary": "boolean",
  "is_deleted": "boolean",
  "tenant_id": "string",
  "roles": [
    "string"
  ],
  "deleted_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Request a token for the user

POST /iam/users/tokens

So the user can receive a password reset mail or confirm mail

Request reset object

Request Example
{
  "email": "string",
  "type": "string"
}

The user

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "expires_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Disable all tokens of given type a user

POST /iam/users/tokens/invalidate

Invalidate all pending tokens of given type for user

Request reset object

Request Example
{
  "email": "string",
  "type": "string"
}

The user

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "expires_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Rbac

Get a list of rbac roles

GET /iam/roles/tenant

Returns a list of available rbac roles

200 OK

List of roles

type
400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "name": "string",
    "scopes": [
      "string"
    ],
    "is_managed": "boolean",
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Create a new role

POST /iam/roles/tenant

Make a new RBAC role available

Role object

Request Example
{
  "name": "string",
  "scopes": [
    "string"
  ]
}
200 OK

The role

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "name": "string",
  "scopes": [
    "string"
  ],
  "is_managed": "boolean",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

View an rbac role

GET /iam/roles/tenant/{id}

Returns the rbac role

id: integer
in path

(no description)

200 OK

List of roles

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "name": "string",
  "scopes": [
    "string"
  ],
  "is_managed": "boolean",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Update an existing role

PUT /iam/roles/tenant/{id}

Update a RBAC role

Role object

id: integer
in path

(no description)

Request Example
{
  "name": "string",
  "scopes": [
    "string"
  ]
}
200 OK

The role

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "name": "string",
  "scopes": [
    "string"
  ],
  "is_managed": "boolean",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Delete an existing role

DELETE /iam/roles/tenant/{id}

Delete a RBAC role

id: integer
in path

(no description)

200 OK

The deleted role

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "name": "string",
  "scopes": [
    "string"
  ],
  "is_managed": "boolean",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get a list of rbac system defined rbac roles

GET /iam/roles/system

Returns a list of available rbac roles

client_id: string
in query

(no description)

200 OK

List of roles

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "name": "string",
    "scopes": [
      "string"
    ],
    "client_id": "string",
    "is_managed": "boolean",
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get a single rbac system defined role

GET /iam/roles/system/{id}

Returns a single rbac role

id: string
in path

(no description)

200 OK

List of roles

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "name": "string",
    "scopes": [
      "string"
    ],
    "client_id": "string",
    "is_managed": "boolean",
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Oauth

Get a list of clients

GET /iam/oauth/clients

Returns a list of clients

x-page-size: integer
in header

(no description)

x-page: string
in header

(no description)

is_deleted: integer 1, 0 0
in query

(no description)

scope: string
in query

(no description)

200 OK

List of clients

type
400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "client_id": "string",
    "client_secret": "string",
    "name": "string",
    "redirect_uri": "string",
    "grant_types": [
      "string"
    ],
    "scope": [
      "string"
    ],
    "tenant_id": "string",
    "is_approved": "boolean",
    "is_deleted": "boolean",
    "author": "string",
    "deleted_at": "string (date-time)",
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-page

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Create a new oauth client

POST /iam/oauth/clients

Returns a new client

Create object

Request Example
{
  "name": "string",
  "redirect_uri": "string",
  "grant_types": [
    "string"
  ],
  "scope": [
    "string"
  ]
}
200 OK

The created client

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "client_id": "string",
  "client_secret": "string",
  "name": "string",
  "redirect_uri": "string",
  "grant_types": [
    "string"
  ],
  "scope": [
    "string"
  ],
  "tenant_id": "string",
  "is_approved": "boolean",
  "is_deleted": "boolean",
  "author": "string",
  "deleted_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Find the oauth client

GET /iam/oauth/clients/{id}

Returns the oauth client for the given client id

id: string
in path

Id that belongs to the oauth client

200 OK

The oauth client

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "client_id": "string",
  "client_secret": "string",
  "name": "string",
  "redirect_uri": "string",
  "grant_types": [
    "string"
  ],
  "scope": [
    "string"
  ],
  "tenant_id": "string",
  "is_approved": "boolean",
  "is_deleted": "boolean",
  "author": "string",
  "deleted_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Update an oauth client

PUT /iam/oauth/clients/{id}

Returns an updated client

Update object

id: string
in path

Id that belongs to the oauth client

Request Example
{
  "name": "string",
  "scope": [
    "string"
  ]
}
200 OK

The updated client

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "client_id": "string",
  "client_secret": "string",
  "name": "string",
  "redirect_uri": "string",
  "grant_types": [
    "string"
  ],
  "scope": [
    "string"
  ],
  "tenant_id": "string",
  "is_approved": "boolean",
  "is_deleted": "boolean",
  "author": "string",
  "deleted_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Delete an oauth client

DELETE /iam/oauth/clients/{id}

Returns the deleted client

id: string
in path

Id that belongs to the oauth client

200 OK

The deleted client

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "client_id": "string",
  "client_secret": "string",
  "name": "string",
  "redirect_uri": "string",
  "grant_types": [
    "string"
  ],
  "scope": [
    "string"
  ],
  "tenant_id": "string",
  "is_approved": "boolean",
  "is_deleted": "boolean",
  "author": "string",
  "deleted_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get a list of open / shared / third party

GET /iam/oauth/apps

Returns a list of clients

200 OK

List of clients

type
400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "client_id": "string",
    "client_secret": "string",
    "name": "string",
    "redirect_uri": "string",
    "grant_types": [
      "string"
    ],
    "scope": [
      "string"
    ],
    "tenant_id": "string",
    "is_approved": "boolean",
    "is_deleted": "boolean",
    "author": "string",
    "deleted_at": "string (date-time)",
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

List all available scopes

GET /iam/oauth/scopes

Get scopes for all registered services

200 OK

The requested inbox

type
400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "description": "string"
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get a scope and it's description

GET /iam/oauth/scopes/{id}

Get scope by it's id

id: string
in path

Identifier that belongs to the scope

200 OK

The list of scopes

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "description": "string"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Obtain an authorization response

GET /iam/oauth/authorize

Returns a new authorization response

redirect_uri: string
in query

(no description)

client_id: string
in query

(no description)

response_type: string
in query

(no description)

scope: string
in query

(no description)

tenant: string
in query

(no description)

state: string
in query

(no description)

nonce: string
in query

(no description)

Authorization: string
in header

Bearer ID token

List of emails

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "forward_uri": "string",
  "client_name": "string",
  "client_redirect_uri": "string",
  "scope": [
    {
      "id": "string",
      "description": "string"
    }
  ],
  "is_authorization_approved": "boolean",
  "is_id_token_issued": "boolean",
  "expires_in": "integer"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Obtain a new access token

POST /iam/oauth/authorize

Returns a new access token

Token request object

Request Example
{
  "client_id": "string",
  "client_secret": "string",
  "grant_type": "string",
  "scope": "string"
}

List of emails

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "token_type": "string",
  "expires_in": "integer",
  "access_token": "string",
  "refresh_token": "string"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Redirect the user to the client

GET /iam/oauth/forward/{reference}

Log the authorization, store approval and redirect the user

silent: string 0, 1
in query

Pass along to change the redirect response into a response with a body. Note that this option only works on previously approved authorizations.

reference: string
in path

Reference that belongs to the authorize request

200 OK

when silent we return the token

type
object
302 Found

Redirect the user to the (third party) app

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "token": "string",
  "id_token": "string"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Jwt

Jwt

Extend the lifetime of an access token

GET /iam/jwt/extend

Returns a new access token

An extended access token

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "token_type": "string",
  "expires_in": "integer",
  "access_token": "string",
  "refresh_token": "string"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Jwt

Revoke access tokens

GET /iam/jwt/revoke

Revoke the current access token or all the users' tokens. Both options will revoke all the users' refresh tokens

tokens: string current, jwt, all current
in query

Current (default value) will revoke only the token that is passed as Authorization header. JWT will revoke all the users' JWT tokens. All will revoke all JWT and refresh tokens that belong to the user.

An extended access token

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "token_type": "string",
  "expires_in": "integer",
  "access_token": "string",
  "refresh_token": "string"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Services

Read the list of allowed phone numbers

GET /iam/services/sla/numbers

List of phone numbers

302 Found

Redirect the user to the (third party) app

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "name": "string",
    "number": "string",
    "preferred_agent": "string",
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Create a new whitelisted phone number

POST /iam/services/sla/numbers
Request Example
{
  "name": "string",
  "country_code": "string",
  "number": "string",
  "preferred_agent": "string"
}

List of phone numbers

302 Found

Redirect the user to the (third party) app

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "name": "string",
  "number": "string",
  "preferred_agent": "string",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Meilisearch

Proxy

Get the proxy configuration

GET /cnt/proxies

Returns the proxy configuration

200 OK

Proxy configuration

type
400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "key": "string",
    "origin": "string",
    "config": {
      "is_origin_cache_ignored": "boolean",
      "is_canonical_added": "boolean",
      "watermark_url": "string"
    },
    "secret": "string",
    "tenant_id": "string",
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Create a new proxy

POST /cnt/proxies

Add a new proxy configuration

undefined

Request Content-Types: application/json
Request Example
{
  "key": "string",
  "origin": "string",
  "config": {
    "is_origin_cache_ignored": "boolean",
    "is_canonical_added": "boolean",
    "watermark_url": "string"
  }
}
200 OK

The proxy data

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Content-Types: application/json
Response Example (200 OK)
{
  "key": "string",
  "origin": "string",
  "config": {
    "is_origin_cache_ignored": "boolean",
    "is_canonical_added": "boolean",
    "watermark_url": "string"
  },
  "secret": "string",
  "tenant_id": "string",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get the proxy configuration

GET /cnt/proxies/{key}

Returns the proxy configuration

key: string
in path

(no description)

200 OK

Proxy configuration

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "key": "string",
  "origin": "string",
  "config": {
    "is_origin_cache_ignored": "boolean",
    "is_canonical_added": "boolean",
    "watermark_url": "string"
  },
  "secret": "string",
  "tenant_id": "string",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Update the proxy configuration

PUT /cnt/proxies/{key}

Updates the proxy

key: string
in path

(no description)

Request Content-Types: application/json
Request Example
{
  "origin": "string",
  "config": {
    "is_origin_cache_ignored": "boolean",
    "is_canonical_added": "boolean",
    "watermark_url": "string"
  }
}
200 OK

The signature data

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Content-Types: application/json
Response Example (200 OK)
{
  "key": "string",
  "origin": "string",
  "config": {
    "is_origin_cache_ignored": "boolean",
    "is_canonical_added": "boolean",
    "watermark_url": "string"
  },
  "secret": "string",
  "tenant_id": "string",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

List all proxies

GET /cnt/instant/proxies

List all proxies for a tenant

x-page-size: integer 25
in header

(no description)

x-page: integer 1
in header

(no description)

A list of proxies

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "key": "string",
    "indexes": [
      {
        "index_id": "string (uuid)",
        "alias": "string"
      }
    ],
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-page

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Create a proxy

POST /cnt/instant/proxies

Create a new proxy for the tenant

Request Example
{
  "key": "string",
  "indexes": [
    {
      "index_id": "string (uuid)",
      "alias": "string"
    }
  ]
}
201 Created

The created proxy

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (201 Created)
{
  "key": "string",
  "indexes": [
    {
      "index_id": "string (uuid)",
      "alias": "string"
    }
  ],
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Show a proxy

GET /cnt/instant/proxies/{id}

Show a single proxy for the tenant

id: string
in path

(no description)

A proxy

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "key": "string",
  "indexes": [
    {
      "index_id": "string (uuid)",
      "alias": "string"
    }
  ],
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Update a proxy

PUT /cnt/instant/proxies/{id}

Update a proxy for the tenant

id: string
in path

(no description)

Request Example
{
  "indexes": [
    {
      "index_id": "string (uuid)",
      "alias": "string"
    }
  ]
}

The updated proxy

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "key": "string",
  "indexes": [
    {
      "index_id": "string (uuid)",
      "alias": "string"
    }
  ],
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Delete a proxy

DELETE /cnt/instant/proxies/{id}

Delete a new proxy for the tenant

id: string
in path

(no description)

204 No Content

Deleted

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Index

Run a simple search

POST /cnt/search

Run a search with the option to run an aggregation

Query object

x-page: string
in header

(no description)

x-page-size: integer 25
in header

(no description)

Request Example
{
  "codes": [
    "string"
  ],
  "models": [
    "string"
  ],
  "namespaces": [
    "string"
  ],
  "q": [
    "string"
  ],
  "is_fuzzy": "boolean",
  "limit": "integer",
  "threshold": "number (double)",
  "page_cursor": "string"
}

The search results

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "hits": [
    {
      "reference": "string",
      "title": "string",
      "code": "string",
      "model": "string",
      "namespace": "string",
      "description": "string",
      "sub": "string",
      "metadata": "object"
    }
  ],
  "pagination": {
    "entity_count": "integer",
    "page_limit": "integer",
    "page_count": "integer",
    "next_page_cursor": "string"
  }
}
Response Headers (200 OK)
x-page

The next page cursor

string
x-count

Total item count

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Run a complex search

POST /cnt/search/{namespace}/{code}/{model}

Run a complex search

Query object

namespace: string default
in path

the namespace

code: string
in path

(no description)

model: string
in path

(no description)

x-page: string
in header

(no description)

x-page-size: integer 25
in header

(no description)

Request Example
{
  "q": [
    "string"
  ],
  "is_fuzzy": "boolean",
  "filter": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "string"
      ]
    }
  ],
  "missing": [
    "string"
  ],
  "facets": [
    "string"
  ],
  "limit": "integer",
  "threshold": "number (double)",
  "page_cursor": "string",
  "sort": [
    {
      "key": "string",
      "order": "string"
    }
  ]
}

The search results

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "hits": [
    {
      "reference": "string",
      "title": "string",
      "description": "string",
      "sub": "string",
      "metadata": "object",
      "filters": "object"
    }
  ],
  "facets": [
    {
      "key": "string",
      "buckets": [
        {
          "value": "string",
          "count": "string"
        }
      ]
    }
  ],
  "pagination": {
    "entity_count": "integer",
    "page_limit": "integer",
    "page_count": "integer",
    "next_page_cursor": "string"
  }
}
Response Headers (200 OK)
x-page

The next page cursor

string
x-count

Total item count

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get some suggestions

GET /cnt/suggest

Run a simple, fast suggest search

q: string
in query

The query

limit: integer 5
in query

The query

codes: string[]
in query

The query

models: string[]
in query

The models we want to query

namespaces: string[]
in query

The namesapce we want to query

The suggestions

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "hits": [
    {
      "reference": "string",
      "title": "string",
      "code": "string",
      "model": "string",
      "namespace": "string",
      "description": "string",
      "sub": "string",
      "metadata": "object"
    }
  ]
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get a list of definitions

GET /cnt/definitions

List the set of definitions

code: string
in query

(no description)

model: string
in query

(no description)

namespace: string
in query

(no description)

200 OK

The search results

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "namespace": "string",
    "code": "string",
    "model": "string",
    "filters": [
      {
        "key": "string",
        "type": "string"
      }
    ],
    "tenant_id": "string",
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Upsert a definition

POST /cnt/definitions

Either create a new, or update an existing definition

Query object

Request Example
{
  "namespace": "string",
  "code": "string",
  "model": "string",
  "key": "string",
  "type": "string"
}
200 OK

The search results

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "namespace": "string",
  "code": "string",
  "model": "string",
  "filters": [
    {
      "key": "string",
      "type": "string"
    }
  ],
  "tenant_id": "string",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Decode filter

GET /cnt/filters/date

Decode a relative date filter

input: string
in query

(no description)

200 OK

The epoch timestamp

type
object
400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "query": {
    "quantity": "integer",
    "key": "string",
    "direction": "string",
    "at": {
      "timezone": "string",
      "hour": "string",
      "minute": "string",
      "day_of_week": "string",
      "day_of_month": "string"
    }
  },
  "epoch": 1593505091,
  "formatted": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Relative date

POST /cnt/filters/date

Generate a relative date filter

Query object

Request Example
{
  "quantity": "integer",
  "key": "string",
  "direction": "string",
  "at": {
    "timezone": "string",
    "hour": "string",
    "minute": "string",
    "day_of_week": "string",
    "day_of_month": "string"
  }
}
200 OK

The epoch timestamp

type
object
400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "epoch": 1593505091,
  "formatted": "string (date-time)",
  "filter": "_eyJxdWFudGl0eSI6NCwia2V5IjoibW9udGhzIiwiZGlyZWN0aW9uIjoiYWhlYWQiLCJhdCI6eyJob3VycyI6bnVsbCwibWludXRlcyI6bnVsbCwiZGF5X29mX3dlZWsiOm51bGwsImRheV9vZl9tb250aCI6Imxhc3QifX0="
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

List all indexes

GET /cnt/instant/indexes

List all indexes for the authenticated user.

x-page-size: integer 25
in header

(no description)

x-page: integer 1
in header

(no description)

200 OK

A list of indexes

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string (uuid)",
    "name": "string",
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-page

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Create a new index

POST /cnt/instant/indexes

Create a new index

Request Example
{
  "name": "string"
}
201 Created

The created index

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (201 Created)
{
  "id": "string (uuid)",
  "name": "string",
  "host": "string",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Show a single index

GET /cnt/instant/indexes/{id}

Show a single index for the tenant.

id: string
in path

(no description)

200 OK

A single index

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string (uuid)",
  "name": "string",
  "host": "string",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Update a single index

PUT /cnt/instant/indexes/{id}

Update a single index

id: string
in path

(no description)

Request Example
{
  "name": "string"
}
200 OK

The updated index

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string (uuid)",
  "name": "string",
  "host": "string",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Delete a single index

DELETE /cnt/instant/indexes/{id}

Delete a single index

id: string
in path

(no description)

204 No Content

Deleted

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Documents

Update or insert a list of documents

PUT /cnt/instant/indexes/{id}/documents

Update or insert a list of documents in the specified index. Enter any additional information in the metadata. Data in the metadata key is not searchable, only retrievable.

CntInputDocument
id: string
in path

(no description)

Request Example
[
  {
    "reference": "string",
    "title": "string",
    "description": "string",
    "sub": "string",
    "metadata": "object",
    "filters": "object"
  }
]
204 No Content

No content

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Index not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Clears all documents from an index

DELETE /cnt/instant/indexes/{id}/documents

Delete all documents from the specified index

id: string
in path

(no description)

204 No Content

No content

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Delete a list of documents

POST /cnt/instant/indexes/{id}/documents/delete

Delete a list of documents from the specified index. Only those document IDs that were submitted will be removed.

string
id: string
in path

(no description)

Request Example
[
  "1234",
  "1235"
]
204 No Content

No content

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Index not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Search

Search documents

POST /cnt/instant/search/{id}

Search documents: The id is the proxy key for a tenant, ex: "afosto". The count is the combined count of the results in all selected indices.

undefined

id: string
in path

(no description)

Accept: string application/json, application/vnd.instantsearch+json application/json
in header

(no description)

Request Example
{
  "q": "string",
  "offset": "integer",
  "limit": "integer",
  "threshold": "integer",
  "indices": [
    "string"
  ],
  "filters": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "string"
      ]
    }
  ],
  "facets": [
    "string"
  ]
}

The search results

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Content-Types: application/json, application/vnd.instantsearch+json
Response Example (200 OK)
{
  "results": [
    {
      "id": "string (uuid)",
      "count": "integer",
      "hits": [
        {
          "reference": "string",
          "title": "string",
          "description": "string",
          "sub": "string",
          "metadata": "object",
          "filters": "object"
        }
      ],
      "facets": [
        {
          "key": "string",
          "buckets": [
            {
              "value": "string",
              "count": "string"
            }
          ]
        }
      ]
    }
  ],
  "offset": "integer",
  "limit": "integer",
  "count": "integer",
  "q": "string"
}
Response Headers (200 OK)
x-page-size

Total items per page

string
x-count

Total item count

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Search documents within a single index

POST /cnt/instant/indexes/{id}/search

Search documents within a single index, without going throuh a proxy.

id: string
in path

(no description)

Accept: string application/json, application/vnd.instantsearch+json application/json
in header

(no description)

Request Example
{
  "q": "string",
  "offset": "integer",
  "limit": "integer",
  "threshold": "integer",
  "filters": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "string"
      ]
    }
  ],
  "facets": [
    "string"
  ]
}

The search results

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Content-Types: application/json, application/vnd.instantsearch+json
Response Example (200 OK)
{
  "results": [
    {
      "id": "string (uuid)",
      "count": "integer",
      "hits": [
        {
          "reference": "string",
          "title": "string",
          "description": "string",
          "sub": "string",
          "metadata": "object",
          "filters": "object"
        }
      ],
      "facets": [
        {
          "key": "string",
          "buckets": [
            {
              "value": "string",
              "count": "string"
            }
          ]
        }
      ]
    }
  ],
  "offset": "integer",
  "limit": "integer",
  "count": "integer",
  "q": "string"
}
Response Headers (200 OK)
x-page-size

Total items per page

string
x-count

Total item count

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Settings

List index settings

GET /cnt/instant/indexes/{id}/settings

List the settings of the specified index

id: string
in path

(no description)

The settings

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "synonyms": "object",
  "stop_words": [
    "string"
  ],
  "ranking_rules": [
    "string"
  ],
  "facet_fields": [
    "string"
  ],
  "distinct_field": "string",
  "search_fields": [
    "string"
  ],
  "display_fields": [
    "string"
  ],
  "filters": [
    {
      "type": "string",
      "key": "string"
    }
  ],
  "last_processed_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Update index settings

POST /cnt/instant/indexes/{id}/settings

Update the settings of the specified index

id: string
in path

(no description)

sync: string
in query

Add to wait for the asynchronous update to finish

Request Example
{
  "synonyms": "object",
  "stop_words": [
    "string"
  ],
  "ranking_rules": [
    "string"
  ],
  "filters": [
    {
      "type": "string",
      "key": "string"
    }
  ]
}
204 No Content

No content

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Reset index settings

DELETE /cnt/instant/indexes/{id}/settings

Reset the settings of the specified index

id: string
in path

(no description)

204 No Content

No content

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Updates

List index updates

GET /cnt/instant/indexes/{id}/updates

List the updates of the specified index

id: string
in path

(no description)

The settings

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "status": "string",
    "updateId": "integer (int64)",
    "type": {
      "name": "string",
      "number": "integer"
    },
    "duration": "number",
    "enqueuedAt": "string",
    "processedAt": "string"
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get one update

GET /cnt/instant/indexes/{id}/updates/{update_id}

Get a single update on from the specified index

id: string
in path

(no description)

update_id: integer (int64)
in path

(no description)

The settings

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "status": "string",
  "updateId": "integer (int64)",
  "type": {
    "name": "string",
    "number": "integer"
  },
  "duration": "number",
  "enqueuedAt": "string",
  "processedAt": "string"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Messaging

Conversations

List conversations

GET /mes/conversations

Returns a list of conversations

x-page: string 1
in header

the requested page id

x-page-size: string 25
in header

the requested page size

The list of conversations

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "event": "string",
    "entity_type": "string",
    "entity_id": "string",
    "messages": [
      {
        "content": "string",
        "participant_reference": "string",
        "is_private": "boolean",
        "metadata": "object",
        "created_at": "string (date-time)"
      }
    ],
    "participants": [
      {
        "name": "string",
        "reference": "string",
        "is_machine": "boolean",
        "notifications": [
          {
            "address": "string",
            "medium": "string"
          }
        ]
      }
    ],
    "metadata": "#/definitions/MesMetadata",
    "started_at": "string (date-time)",
    "expires_at": "string (date-time)",
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-page

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Start a conversations conversation

POST /mes/conversations

Instantiate a conversation

Conversation object

Request Example
{
  "event": "string",
  "entity_type": "string",
  "name": "string",
  "entity_id": "string",
  "participant": {
    "name": "string",
    "reference": "string",
    "is_machine": "boolean"
  },
  "metadata": "object",
  "expires_at": "string (date-time)"
}

The started conversation

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "event": "string",
  "entity_type": "string",
  "entity_id": "string",
  "messages": [
    {
      "content": "string",
      "participant_reference": "string",
      "is_private": "boolean",
      "metadata": "object",
      "created_at": "string (date-time)"
    }
  ],
  "participants": [
    {
      "name": "string",
      "reference": "string",
      "is_machine": "boolean",
      "notifications": [
        {
          "address": "string",
          "medium": "string"
        }
      ]
    }
  ],
  "metadata": "#/definitions/MesMetadata",
  "started_at": "string (date-time)",
  "expires_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Headers (200 OK)
x-page

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Search for conversations

POST /mes/conversations/search

Run a complex search to find conversations

Search query object

x-page: string 1
in header

the requested page id

x-page-size: string 25
in header

the requested page size

Request Example
{
  "constraints": [
    {
      "key": "string",
      "operator": "string",
      "value": [
        "string"
      ]
    }
  ]
}

The list of search results

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "event": "string",
    "entity_type": "string",
    "entity_id": "string",
    "messages": [
      {
        "content": "string",
        "participant_reference": "string",
        "is_private": "boolean",
        "metadata": "object",
        "created_at": "string (date-time)"
      }
    ],
    "participants": [
      {
        "name": "string",
        "reference": "string",
        "is_machine": "boolean",
        "notifications": [
          {
            "address": "string",
            "medium": "string"
          }
        ]
      }
    ],
    "metadata": "#/definitions/MesMetadata",
    "started_at": "string (date-time)",
    "expires_at": "string (date-time)",
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-page

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

View a conversation

GET /mes/conversations/{id}

Retrieve a single conversation

id: integer
in path

(no description)

The conversation with given id

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "event": "string",
  "entity_type": "string",
  "entity_id": "string",
  "messages": [
    {
      "content": "string",
      "participant_reference": "string",
      "is_private": "boolean",
      "metadata": "object",
      "created_at": "string (date-time)"
    }
  ],
  "participants": [
    {
      "name": "string",
      "reference": "string",
      "is_machine": "boolean",
      "notifications": [
        {
          "address": "string",
          "medium": "string"
        }
      ]
    }
  ],
  "metadata": "#/definitions/MesMetadata",
  "started_at": "string (date-time)",
  "expires_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Add a message

POST /mes/conversations/{id}/messages

Append a message to the conversation

The new message

id: integer
in path

(no description)

Request Example
{
  "content": "string",
  "is_private": "boolean",
  "metadata": "object",
  "reference": "string"
}

The resulting conversation

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "event": "string",
  "entity_type": "string",
  "entity_id": "string",
  "messages": [
    {
      "content": "string",
      "participant_reference": "string",
      "is_private": "boolean",
      "metadata": "object",
      "created_at": "string (date-time)"
    }
  ],
  "participants": [
    {
      "name": "string",
      "reference": "string",
      "is_machine": "boolean",
      "notifications": [
        {
          "address": "string",
          "medium": "string"
        }
      ]
    }
  ],
  "metadata": "#/definitions/MesMetadata",
  "started_at": "string (date-time)",
  "expires_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Add a participant

POST /mes/conversations/{id}/register

Register a new participant in the conversation

The new message

id: integer
in path

(no description)

Request Example
{
  "name": "string",
  "reference": "string",
  "is_machine": "boolean"
}

The resulting conversation

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "event": "string",
  "entity_type": "string",
  "entity_id": "string",
  "messages": [
    {
      "content": "string",
      "participant_reference": "string",
      "is_private": "boolean",
      "metadata": "object",
      "created_at": "string (date-time)"
    }
  ],
  "participants": [
    {
      "name": "string",
      "reference": "string",
      "is_machine": "boolean",
      "notifications": [
        {
          "address": "string",
          "medium": "string"
        }
      ]
    }
  ],
  "metadata": "#/definitions/MesMetadata",
  "started_at": "string (date-time)",
  "expires_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Add a subscription

POST /mes/conversations/{id}/subscribe

Add a subscription to recieve updates on this conversation

The subscription data

id: integer
in path

(no description)

Request Example
{
  "reference": "string",
  "medium": "string",
  "address": "boolean"
}

The resulting conversation

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "event": "string",
  "entity_type": "string",
  "entity_id": "string",
  "messages": [
    {
      "content": "string",
      "participant_reference": "string",
      "is_private": "boolean",
      "metadata": "object",
      "created_at": "string (date-time)"
    }
  ],
  "participants": [
    {
      "name": "string",
      "reference": "string",
      "is_machine": "boolean",
      "notifications": [
        {
          "address": "string",
          "medium": "string"
        }
      ]
    }
  ],
  "metadata": "#/definitions/MesMetadata",
  "started_at": "string (date-time)",
  "expires_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Cancel a subscription

POST /mes/conversations/{id}/unsubscribe

Remove a subscription to recieve updates on this conversation

The subscription data

id: integer
in path

(no description)

Request Example
{
  "reference": "string",
  "medium": "string"
}

The resulting conversation

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "event": "string",
  "entity_type": "string",
  "entity_id": "string",
  "messages": [
    {
      "content": "string",
      "participant_reference": "string",
      "is_private": "boolean",
      "metadata": "object",
      "created_at": "string (date-time)"
    }
  ],
  "participants": [
    {
      "name": "string",
      "reference": "string",
      "is_machine": "boolean",
      "notifications": [
        {
          "address": "string",
          "medium": "string"
        }
      ]
    }
  ],
  "metadata": "#/definitions/MesMetadata",
  "started_at": "string (date-time)",
  "expires_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Domains

Get the list of available domains

GET /mes/domains

Returns a list of domains

is_verified: integer 1, 0
in query

(no description)

200 OK

The list of domains

type
400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "is_verified": "boolean",
    "dns": [
      {
        "type": "string",
        "name": "string",
        "value": "string",
        "is_verified": "boolean"
      }
    ],
    "tenant_id": "string",
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Add a new domain

POST /mes/domains

Adds a domain to the list

Domain object

Request Example
{
  "fqdn": "string"
}
200 OK

The newly created domain

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "is_verified": "boolean",
  "dns": [
    {
      "type": "string",
      "name": "string",
      "value": "string",
      "is_verified": "boolean"
    }
  ],
  "tenant_id": "string",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get a single domain by id

GET /mes/domains/{id}

Returns a single domain

id: string
in path

Id that belongs to the domain

200 OK

The domain

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "is_verified": "boolean",
  "dns": [
    {
      "type": "string",
      "name": "string",
      "value": "string",
      "is_verified": "boolean"
    }
  ],
  "tenant_id": "string",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Delete a domain by id

DELETE /mes/domains/{id}

Deletes a domain

id: string
in path

Id that belongs to the domain

200 OK

The deleted domain

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "is_verified": "boolean",
  "dns": [
    {
      "type": "string",
      "name": "string",
      "value": "string",
      "is_verified": "boolean"
    }
  ],
  "tenant_id": "string",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Inboxes

Get the list of available inboxes

GET /mes/inboxes

Returns a list of inboxes

fqdn: string
in query

(no description)

public: string 1, 0
in query

(no description)

200 OK

The list of domains

type
400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "label": "string",
    "fqdn": "string",
    "prefix": "string",
    "user_id": "string",
    "folders": [
      "string"
    ],
    "settings": {
      "recaptcha_integration_id": "string (uuid)"
    },
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Add a new inbox

POST /mes/inboxes

Adds a inbox to the list

Inbox object

Request Example
{
  "label": "string",
  "fqdn": "string",
  "prefix": "string",
  "user_id": "string",
  "settings": {
    "recaptcha_integration_id": "string (uuid)"
  }
}
200 OK

The newly created inbox

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "label": "string",
  "fqdn": "string",
  "prefix": "string",
  "user_id": "string",
  "folders": [
    "string"
  ],
  "settings": {
    "recaptcha_integration_id": "string (uuid)"
  },
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get a single inbox by id

GET /mes/inboxes/{id}

Returns a single inbox

id: string
in path

Id that belongs to the inbox

200 OK

The inbox

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "label": "string",
  "fqdn": "string",
  "prefix": "string",
  "user_id": "string",
  "folders": [
    "string"
  ],
  "settings": {
    "recaptcha_integration_id": "string (uuid)"
  },
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Update an inbox

PUT /mes/inboxes/{id}

Update an existing inbox

Inbox object

id: string
in path

Id that belongs to the inbox

Request Example
{
  "label": "string",
  "user_id": "string",
  "settings": {
    "recaptcha_integration_id": "string (uuid)"
  }
}
200 OK

The updated inbox

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "label": "string",
  "fqdn": "string",
  "prefix": "string",
  "user_id": "string",
  "folders": [
    "string"
  ],
  "settings": {
    "recaptcha_integration_id": "string (uuid)"
  },
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Delete an inbox by id

DELETE /mes/inboxes/{id}

Deletes an inbox

id: string
in path

Id that belongs to the inbox

200 OK

The deleted inbox

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "label": "string",
  "fqdn": "string",
  "prefix": "string",
  "user_id": "string",
  "folders": [
    "string"
  ],
  "settings": {
    "recaptcha_integration_id": "string (uuid)"
  },
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Emails

Get the list of emails

GET /mes/emails

Returns a list of emails

inbox: string
in query

(no description)

folder: string inbox, concept, sent, spam
in query

(no description)

addressee: string
in query

(no description)

x-page: string
in header

the requested page id

x-page-size: string
in header

the requested page size

200 OK

The list of emails

type
400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "from": {
      "name": "string",
      "email": "string"
    },
    "to": [
      "#/definitions/MesContactModel"
    ],
    "cc": [
      "#/definitions/MesContactModel"
    ],
    "bcc": [
      "#/definitions/MesContactModel"
    ],
    "reply_to": "#/definitions/MesContactModel",
    "subject": "string",
    "html_body": "string",
    "attachments": [
      "string"
    ],
    "folder": "string",
    "is_unread": "boolean",
    "inbox_id": "string",
    "metadata": "object",
    "delivered_at": "string (date-time)",
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-page

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Add a new email

POST /mes/emails

Adds a email

Mail object

Request Example
{
  "from": {
    "name": "string",
    "email": "string"
  },
  "to": [
    "#/definitions/MesContactModel"
  ],
  "cc": [
    "#/definitions/MesContactModel"
  ],
  "bcc": [
    "#/definitions/MesContactModel"
  ],
  "reply_to": "#/definitions/MesContactModel",
  "subject": "string",
  "html_body": "string",
  "attachments": [
    "string"
  ],
  "folder": "string",
  "is_unread": "boolean",
  "metadata": "object"
}
200 OK

The newly created email

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "from": {
    "name": "string",
    "email": "string"
  },
  "to": [
    "#/definitions/MesContactModel"
  ],
  "cc": [
    "#/definitions/MesContactModel"
  ],
  "bcc": [
    "#/definitions/MesContactModel"
  ],
  "reply_to": "#/definitions/MesContactModel",
  "subject": "string",
  "html_body": "string",
  "attachments": [
    "string"
  ],
  "folder": "string",
  "is_unread": "boolean",
  "inbox_id": "string",
  "metadata": "object",
  "delivered_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get an email and mark it

GET /mes/emails/{id}

Mark as read and return email

id: string
in path

Id that belongs to the email

mark_as: string read, unread read
in query

Mark the email

200 OK

The email

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "from": {
    "name": "string",
    "email": "string"
  },
  "to": [
    "#/definitions/MesContactModel"
  ],
  "cc": [
    "#/definitions/MesContactModel"
  ],
  "bcc": [
    "#/definitions/MesContactModel"
  ],
  "reply_to": "#/definitions/MesContactModel",
  "subject": "string",
  "html_body": "string",
  "attachments": [
    "string"
  ],
  "folder": "string",
  "is_unread": "boolean",
  "inbox_id": "string",
  "metadata": "object",
  "delivered_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Update an email

PUT /mes/emails/{id}

Update an existing email

Mail object

id: string
in path

Id that belongs to the email

Request Example
{
  "from": {
    "name": "string",
    "email": "string"
  },
  "to": [
    "#/definitions/MesContactModel"
  ],
  "cc": [
    "#/definitions/MesContactModel"
  ],
  "bcc": [
    "#/definitions/MesContactModel"
  ],
  "reply_to": "#/definitions/MesContactModel",
  "subject": "string",
  "html_body": "string",
  "attachments": [
    "string"
  ],
  "folder": "string",
  "is_unread": "boolean",
  "metadata": "object"
}
200 OK

The updated email

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "from": {
    "name": "string",
    "email": "string"
  },
  "to": [
    "#/definitions/MesContactModel"
  ],
  "cc": [
    "#/definitions/MesContactModel"
  ],
  "bcc": [
    "#/definitions/MesContactModel"
  ],
  "reply_to": "#/definitions/MesContactModel",
  "subject": "string",
  "html_body": "string",
  "attachments": [
    "string"
  ],
  "folder": "string",
  "is_unread": "boolean",
  "inbox_id": "string",
  "metadata": "object",
  "delivered_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Delete email

DELETE /mes/emails/{id}

Delete an email

id: string
in path

Id that belongs to the email

200 OK

The deleted email

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "from": {
    "name": "string",
    "email": "string"
  },
  "to": [
    "#/definitions/MesContactModel"
  ],
  "cc": [
    "#/definitions/MesContactModel"
  ],
  "bcc": [
    "#/definitions/MesContactModel"
  ],
  "reply_to": "#/definitions/MesContactModel",
  "subject": "string",
  "html_body": "string",
  "attachments": [
    "string"
  ],
  "folder": "string",
  "is_unread": "boolean",
  "inbox_id": "string",
  "metadata": "object",
  "delivered_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Adds a new email (unauthenticated)

POST /mes/emails/form

Adds a new email, unauthenticated endpoint, spam protection using recaptcha

Mail object

Request Example
{
  "from": {
    "name": "string",
    "email": "string"
  },
  "to": [
    "#/definitions/MesContactModel"
  ],
  "cc": [
    "#/definitions/MesContactModel"
  ],
  "bcc": [
    "#/definitions/MesContactModel"
  ],
  "reply_to": "#/definitions/MesContactModel",
  "recaptcha_response": "string",
  "subject": "string",
  "html_body": "string",
  "attachments": [
    "string"
  ],
  "folder": "string",
  "is_unread": "boolean",
  "metadata": "object"
}
200 OK

The created email

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "from": {
    "name": "string",
    "email": "string"
  },
  "to": [
    "#/definitions/MesContactModel"
  ],
  "cc": [
    "#/definitions/MesContactModel"
  ],
  "bcc": [
    "#/definitions/MesContactModel"
  ],
  "reply_to": "#/definitions/MesContactModel",
  "subject": "string",
  "html_body": "string",
  "attachments": [
    "string"
  ],
  "folder": "string",
  "is_unread": "boolean",
  "inbox_id": "string",
  "metadata": "object",
  "delivered_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Webhooks

List events

GET /mes/webhooks/events

List of events that support webhooks

Events

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "event": "string",
    "description": "string"
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

List active subscriptions

GET /mes/webhooks/subscriptions

List currenty active webhook subscriptions

x-page: string
in header

(no description)

x-page-size: integer
in header

(no description)

Subscriptions

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "integer",
    "events": [
      "string"
    ],
    "endpoint": "string",
    "secret": "string",
    "delivery_rate": "integer",
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-page

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Add a webhook subscription

POST /mes/webhooks/subscriptions

Create a new webhook subscription

Subscription data

Request Example
{
  "events": [
    "string"
  ],
  "endpoint": "string",
  "delivery_rate": "integer"
}

The created subscription

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "integer",
  "events": [
    "string"
  ],
  "endpoint": "string",
  "secret": "string",
  "delivery_rate": "integer",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get subscription

GET /mes/webhooks/subscriptions/{id}

Get an active webhook subscription

id: integer
in path

(no description)

The subscription

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "integer",
  "events": [
    "string"
  ],
  "endpoint": "string",
  "secret": "string",
  "delivery_rate": "integer",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Update subscription

PUT /mes/webhooks/subscriptions/{id}

Update webhook subscription

Subscription data

id: integer
in path

(no description)

Request Example
{
  "events": [
    "string"
  ],
  "endpoint": "string",
  "delivery_rate": "integer"
}

The updated webhook

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "integer",
  "events": [
    "string"
  ],
  "endpoint": "string",
  "secret": "string",
  "delivery_rate": "integer",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Delete subscription

DELETE /mes/webhooks/subscriptions/{id}

Delete a webhook subscription

id: integer
in path

(no description)

204 No Content

The resource was deleted successfully

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Simulate event

POST /mes/webhooks/subscriptions/{id}/trigger

Test a subscription / webhook delivery for an event

undefined

id: integer
in path

(no description)

Request Example
{
  "event": "string",
  "entity_id": "string"
}

The created subscription

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "integer",
  "event": "string",
  "entity_id": "string",
  "payload": "string",
  "is_pending": "boolean",
  "is_delivered": "boolean",
  "signature": "string",
  "endpoint": "string",
  "subscription": "integer",
  "attempt": {
    "id": "integer",
    "number": "integer",
    "is_success": "boolean",
    "response_time": "integer",
    "response_code": "integer",
    "response_body": "string",
    "attempted_at": "string (date-time)"
  },
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

List messages

GET /mes/webhooks/messages

List of messages created in the past 30 days, both pending or deliverd

x-page: string
in header

(no description)

x-page-size: integer
in header

(no description)

is_delivered: string 1, 0
in query

(no description)

is_pending: string 1, 0
in query

(no description)

Subscriptions

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "integer",
    "event": "string",
    "entity_id": "string",
    "payload": "string",
    "is_pending": "boolean",
    "is_delivered": "boolean",
    "signature": "string",
    "attempts": "integer",
    "endpoint": "string",
    "subscription": "integer",
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-page

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

View message

GET /mes/webhooks/messages/{id}

Get a single message

id: string
in path

(no description)

Subscriptions

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "integer",
  "event": "string",
  "entity_id": "string",
  "payload": "string",
  "is_pending": "boolean",
  "is_delivered": "boolean",
  "signature": "string",
  "attempts": "integer",
  "endpoint": "string",
  "subscription": "integer",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Retry message

POST /mes/webhooks/messages/{id}

Manually retry a single message

id: string
in path

(no description)

Subscriptions

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "integer",
  "event": "string",
  "entity_id": "string",
  "payload": "string",
  "is_pending": "boolean",
  "is_delivered": "boolean",
  "signature": "string",
  "endpoint": "string",
  "subscription": "integer",
  "attempt": {
    "id": "integer",
    "number": "integer",
    "is_success": "boolean",
    "response_time": "integer",
    "response_code": "integer",
    "response_body": "string",
    "attempted_at": "string (date-time)"
  },
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

View attempts

GET /mes/webhooks/messages/{id}/attempts

List the delivery attempts for a single message

id: string
in path

(no description)

x-page: string
in header

(no description)

x-page-size: integer
in header

(no description)

Attempts

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "integer",
    "number": "integer",
    "is_success": "boolean",
    "response_time": "integer",
    "response_code": "integer",
    "response_body": "string",
    "attempted_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-page

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

View attempt delays

GET /mes/webhooks/delays

Get a list of delays for each attempt. The 10'th attempt will be after 24 hours (86400+ seconds)

Attempts

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "attempt": 1,
    "delay": 0,
    "total_delay": 0
  },
  {
    "attempt": 2,
    "delay": 9,
    "total_delay": 9
  },
  {
    "attempt": 3,
    "delay": 27,
    "total_delay": 36
  }
]
Response Headers (200 OK)
x-page

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Tasks

Get task

GET /mes/tasks/{id}

Get a single task

id: string
in path

(no description)

200 OK

Task information

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string (uuid)",
  "name": "string",
  "description": "string",
  "progress": "integer",
  "result": "string",
  "started_at": "string (date-time)",
  "completed_at": "string (date-time)",
  "expires_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Order

Orders

List orders

GET /odr/orders

Returns a list of orders

x-page: string 1
in header

the requested page id

x-page-size: string 25
in header

the requested page size

authorization_id: string
in query

(no description)

number: string
in query

(no description)

200 OK

The list of orders

type
400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string (uuid)",
    "number": "string",
    "state": {
      "is_locked": "boolean",
      "is_accepted": "boolean",
      "is_confirmed": "boolean",
      "is_finished": "boolean",
      "is_canceled": "boolean",
      "type": "string",
      "flow": [
        {
          "code": "string",
          "order": "integer",
          "is_reversible": "boolean",
          "trigger": "string",
          "actions": [
            {
              "code": "string",
              "order": "integer",
              "label": "string",
              "is_handled": "boolean",
              "handled_at": "string (date-time)"
            }
          ]
        }
      ],
      "progress": {
        "allocation": "string",
        "fulfilment": "string",
        "billing": "string"
      }
    },
    "settings": {
      "contact": {
        "id": "string (uuid)",
        "version": "string (uuid)"
      },
      "organisation": "#/definitions/OdrOrderSettingsContact",
      "phone_number_id": "string (uuid)",
      "coupons": [
        "string"
      ],
      "due_at": "string (date)",
      "return_url": "string",
      "billing": {
        "address_id": "string (uuid)",
        "method_code": "string",
        "issuer_code": "string",
        "provider_code": "string"
      },
      "shipping": {
        "address_id": "string (uuid)",
        "source_address_id": "string (uuid)",
        "method_id": "string (uuid)",
        "spid": "string",
        "window": {
          "from": "integer",
          "to": "integer",
          "delivery_at": "string (date)",
          "code": "string"
        },
        "is_split_allowed": "boolean"
      }
    },
    "processing": {
      "confirm": "string",
      "allocation": "string",
      "fulfilment": "string",
      "capture": "string"
    },
    "acceptances": [
      {
        "id": "string (uuid)",
        "amount": "integer",
        "is_prepaid": "boolean",
        "is_settlement": "boolean",
        "is_paid": "boolean",
        "calculation_id": "string (uuid)",
        "transaction_secret": "string",
        "created_at": "string (date-time)",
        "accepted_at": "string (date-time)"
      }
    ],
    "calculations": [
      {
        "id": "string (uuid)",
        "reference": "string",
        "currency": "string",
        "client_id": "string (uuid)",
        "channel_id": "string (uuid)",
        "amount": "integer",
        "is_valid": "boolean",
        "is_accepted": "boolean",
        "is_confirmed": "boolean",
        "expires_at": "string (date-time)"
      }
    ],
    "client_id": "string",
    "channel_id": "string (uuid)",
    "tags": [
      "string"
    ],
    "stack_id": "string"
  }
]
Response Headers (200 OK)
x-page

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Create order

POST /odr/orders

Creates and returns the new order

undefined

x-idempotency-key: string
in header

(no description)

Request Example
{
  "processing": {
    "confirm": "string",
    "allocation": "string",
    "fulfilment": "string",
    "capture": "string"
  },
  "settings": {
    "contact": {
      "id": "string (uuid)"
    },
    "organisation": "#/definitions/OdrSettingsContact",
    "phone_number_id": "string (uuid)",
    "coupons": [
      "string"
    ],
    "due_at": "string (date)",
    "reference": "string (string)",
    "return_url": "string",
    "billing": {
      "address_id": "string (uuid)",
      "method_code": "string",
      "issuer_code": "string",
      "provider_code": "string",
      "vat": {
        "is_shift_disabled": "boolean",
        "is_shift_required": "boolean"
      }
    },
    "shipping": {
      "address_id": "string (uuid)",
      "source_address_id": "string (uuid)",
      "method_id": "string (uuid)",
      "spid": "string",
      "window": {
        "from": "integer",
        "to": "integer",
        "delivery_at": "string (date)",
        "code": "string"
      },
      "is_split_allowed": "boolean"
    }
  },
  "client_id": "string",
  "channel_id": "string (uuid)",
  "tags": [
    "string"
  ],
  "type": "string",
  "metadata": "object"
}
200 OK

The order

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string (uuid)",
  "number": "string",
  "state": {
    "is_locked": "boolean",
    "is_accepted": "boolean",
    "is_confirmed": "boolean",
    "is_finished": "boolean",
    "is_canceled": "boolean",
    "type": "string",
    "flow": [
      {
        "code": "string",
        "order": "integer",
        "is_reversible": "boolean",
        "trigger": "string",
        "actions": [
          {
            "code": "string",
            "order": "integer",
            "label": "string",
            "is_handled": "boolean",
            "handled_at": "string (date-time)"
          }
        ]
      }
    ],
    "progress": {
      "allocation": "string",
      "fulfilment": "string",
      "billing": "string"
    }
  },
  "settings": {
    "contact": {
      "id": "string (uuid)",
      "version": "string (uuid)"
    },
    "organisation": "#/definitions/OdrOrderSettingsContact",
    "phone_number_id": "string (uuid)",
    "coupons": [
      "string"
    ],
    "due_at": "string (date)",
    "return_url": "string",
    "billing": {
      "address_id": "string (uuid)",
      "method_code": "string",
      "issuer_code": "string",
      "provider_code": "string"
    },
    "shipping": {
      "address_id": "string (uuid)",
      "source_address_id": "string (uuid)",
      "method_id": "string (uuid)",
      "spid": "string",
      "window": {
        "from": "integer",
        "to": "integer",
        "delivery_at": "string (date)",
        "code": "string"
      },
      "is_split_allowed": "boolean"
    }
  },
  "processing": {
    "confirm": "string",
    "allocation": "string",
    "fulfilment": "string",
    "capture": "string"
  },
  "acceptances": [
    {
      "id": "string (uuid)",
      "amount": "integer",
      "is_prepaid": "boolean",
      "is_settlement": "boolean",
      "is_paid": "boolean",
      "calculation_id": "string (uuid)",
      "transaction_secret": "string",
      "created_at": "string (date-time)",
      "accepted_at": "string (date-time)"
    }
  ],
  "calculations": [
    {
      "id": "string (uuid)",
      "reference": "string",
      "currency": "string",
      "client_id": "string (uuid)",
      "channel_id": "string (uuid)",
      "amount": "integer",
      "is_valid": "boolean",
      "is_accepted": "boolean",
      "is_confirmed": "boolean",
      "expires_at": "string (date-time)"
    }
  ],
  "client_id": "string",
  "channel_id": "string (uuid)",
  "tags": [
    "string"
  ],
  "stack_id": "string",
  "type": "string"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get order

GET /odr/orders/{id}

Returns an order

id: string
in path

(no description)

200 OK

The order

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string (uuid)",
  "number": "string",
  "state": {
    "is_locked": "boolean",
    "is_accepted": "boolean",
    "is_confirmed": "boolean",
    "is_finished": "boolean",
    "is_canceled": "boolean",
    "type": "string",
    "flow": [
      {
        "code": "string",
        "order": "integer",
        "is_reversible": "boolean",
        "trigger": "string",
        "actions": [
          {
            "code": "string",
            "order": "integer",
            "label": "string",
            "is_handled": "boolean",
            "handled_at": "string (date-time)"
          }
        ]
      }
    ],
    "progress": {
      "allocation": "string",
      "fulfilment": "string",
      "billing": "string"
    }
  },
  "settings": {
    "contact": {
      "id": "string (uuid)",
      "version": "string (uuid)"
    },
    "organisation": "#/definitions/OdrOrderSettingsContact",
    "phone_number_id": "string (uuid)",
    "coupons": [
      "string"
    ],
    "due_at": "string (date)",
    "return_url": "string",
    "billing": {
      "address_id": "string (uuid)",
      "method_code": "string",
      "issuer_code": "string",
      "provider_code": "string"
    },
    "shipping": {
      "address_id": "string (uuid)",
      "source_address_id": "string (uuid)",
      "method_id": "string (uuid)",
      "spid": "string",
      "window": {
        "from": "integer",
        "to": "integer",
        "delivery_at": "string (date)",
        "code": "string"
      },
      "is_split_allowed": "boolean"
    }
  },
  "processing": {
    "confirm": "string",
    "allocation": "string",
    "fulfilment": "string",
    "capture": "string"
  },
  "acceptances": [
    {
      "id": "string (uuid)",
      "amount": "integer",
      "is_prepaid": "boolean",
      "is_settlement": "boolean",
      "is_paid": "boolean",
      "calculation_id": "string (uuid)",
      "transaction_secret": "string",
      "created_at": "string (date-time)",
      "accepted_at": "string (date-time)"
    }
  ],
  "calculations": [
    {
      "id": "string (uuid)",
      "reference": "string",
      "currency": "string",
      "client_id": "string (uuid)",
      "channel_id": "string (uuid)",
      "amount": "integer",
      "is_valid": "boolean",
      "is_accepted": "boolean",
      "is_confirmed": "boolean",
      "expires_at": "string (date-time)"
    }
  ],
  "client_id": "string",
  "channel_id": "string (uuid)",
  "tags": [
    "string"
  ],
  "stack_id": "string",
  "type": "string"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Update order

PUT /odr/orders/{id}

Updates order settings

undefined

id: string
in path

(no description)

Request Example
{
  "processing": {
    "confirm": "string",
    "allocation": "string",
    "fulfilment": "string",
    "capture": "string"
  },
  "settings": {
    "contact": {
      "id": "string (uuid)"
    },
    "organisation": "#/definitions/OdrSettingsContact",
    "phone_number_id": "string (uuid)",
    "coupons": [
      "string"
    ],
    "due_at": "string (date)",
    "reference": "string (string)",
    "return_url": "string",
    "billing": {
      "address_id": "string (uuid)",
      "method_code": "string",
      "issuer_code": "string",
      "provider_code": "string",
      "vat": {
        "is_shift_disabled": "boolean",
        "is_shift_required": "boolean"
      }
    },
    "shipping": {
      "address_id": "string (uuid)",
      "source_address_id": "string (uuid)",
      "method_id": "string (uuid)",
      "spid": "string",
      "window": {
        "from": "integer",
        "to": "integer",
        "delivery_at": "string (date)",
        "code": "string"
      },
      "is_split_allowed": "boolean"
    }
  },
  "client_id": "string",
  "channel_id": "string (uuid)",
  "tags": [
    "string"
  ],
  "type": "string",
  "metadata": "object"
}
200 OK

The order

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string (uuid)",
  "number": "string",
  "state": {
    "is_locked": "boolean",
    "is_accepted": "boolean",
    "is_confirmed": "boolean",
    "is_finished": "boolean",
    "is_canceled": "boolean",
    "type": "string",
    "flow": [
      {
        "code": "string",
        "order": "integer",
        "is_reversible": "boolean",
        "trigger": "string",
        "actions": [
          {
            "code": "string",
            "order": "integer",
            "label": "string",
            "is_handled": "boolean",
            "handled_at": "string (date-time)"
          }
        ]
      }
    ],
    "progress": {
      "allocation": "string",
      "fulfilment": "string",
      "billing": "string"
    }
  },
  "settings": {
    "contact": {
      "id": "string (uuid)",
      "version": "string (uuid)"
    },
    "organisation": "#/definitions/OdrOrderSettingsContact",
    "phone_number_id": "string (uuid)",
    "coupons": [
      "string"
    ],
    "due_at": "string (date)",
    "return_url": "string",
    "billing": {
      "address_id": "string (uuid)",
      "method_code": "string",
      "issuer_code": "string",
      "provider_code": "string"
    },
    "shipping": {
      "address_id": "string (uuid)",
      "source_address_id": "string (uuid)",
      "method_id": "string (uuid)",
      "spid": "string",
      "window": {
        "from": "integer",
        "to": "integer",
        "delivery_at": "string (date)",
        "code": "string"
      },
      "is_split_allowed": "boolean"
    }
  },
  "processing": {
    "confirm": "string",
    "allocation": "string",
    "fulfilment": "string",
    "capture": "string"
  },
  "acceptances": [
    {
      "id": "string (uuid)",
      "amount": "integer",
      "is_prepaid": "boolean",
      "is_settlement": "boolean",
      "is_paid": "boolean",
      "calculation_id": "string (uuid)",
      "transaction_secret": "string",
      "created_at": "string (date-time)",
      "accepted_at": "string (date-time)"
    }
  ],
  "calculations": [
    {
      "id": "string (uuid)",
      "reference": "string",
      "currency": "string",
      "client_id": "string (uuid)",
      "channel_id": "string (uuid)",
      "amount": "integer",
      "is_valid": "boolean",
      "is_accepted": "boolean",
      "is_confirmed": "boolean",
      "expires_at": "string (date-time)"
    }
  ],
  "client_id": "string",
  "channel_id": "string (uuid)",
  "tags": [
    "string"
  ],
  "stack_id": "string",
  "type": "string"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Remove order

DELETE /odr/orders/{id}

Removes an order

id: string
in path

(no description)

200 OK

The stack

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "entity_id": "string",
  "entity_type": "string",
  "state": {
    "is_accepted": "boolean",
    "is_confirmed": "boolean",
    "is_finished": "boolean"
  },
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get backorders

GET /odr/orders/{id}/backorders

Returns all backorders for current order

id: string
in path

(no description)

200 OK

The order

type
400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string (uuid)",
    "number": "string",
    "state": {
      "is_locked": "boolean",
      "is_accepted": "boolean",
      "is_confirmed": "boolean",
      "is_finished": "boolean",
      "is_canceled": "boolean",
      "type": "string",
      "flow": [
        {
          "code": "string",
          "order": "integer",
          "is_reversible": "boolean",
          "trigger": "string",
          "actions": [
            {
              "code": "string",
              "order": "integer",
              "label": "string",
              "is_handled": "boolean",
              "handled_at": "string (date-time)"
            }
          ]
        }
      ],
      "progress": {
        "allocation": "string",
        "fulfilment": "string",
        "billing": "string"
      }
    },
    "settings": {
      "contact": {
        "id": "string (uuid)",
        "version": "string (uuid)"
      },
      "organisation": "#/definitions/OdrOrderSettingsContact",
      "phone_number_id": "string (uuid)",
      "coupons": [
        "string"
      ],
      "due_at": "string (date)",
      "return_url": "string",
      "billing": {
        "address_id": "string (uuid)",
        "method_code": "string",
        "issuer_code": "string",
        "provider_code": "string"
      },
      "shipping": {
        "address_id": "string (uuid)",
        "source_address_id": "string (uuid)",
        "method_id": "string (uuid)",
        "spid": "string",
        "window": {
          "from": "integer",
          "to": "integer",
          "delivery_at": "string (date)",
          "code": "string"
        },
        "is_split_allowed": "boolean"
      }
    },
    "processing": {
      "confirm": "string",
      "allocation": "string",
      "fulfilment": "string",
      "capture": "string"
    },
    "acceptances": [
      {
        "id": "string (uuid)",
        "amount": "integer",
        "is_prepaid": "boolean",
        "is_settlement": "boolean",
        "is_paid": "boolean",
        "calculation_id": "string (uuid)",
        "transaction_secret": "string",
        "created_at": "string (date-time)",
        "accepted_at": "string (date-time)"
      }
    ],
    "calculations": [
      {
        "id": "string (uuid)",
        "reference": "string",
        "currency": "string",
        "client_id": "string (uuid)",
        "channel_id": "string (uuid)",
        "amount": "integer",
        "is_valid": "boolean",
        "is_accepted": "boolean",
        "is_confirmed": "boolean",
        "expires_at": "string (date-time)"
      }
    ],
    "client_id": "string",
    "channel_id": "string (uuid)",
    "tags": [
      "string"
    ],
    "stack_id": "string"
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get references

GET /odr/orders/{id}/references

Returns affiliated orders

id: string
in path

(no description)

200 OK

The order

type
400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string (uuid)",
    "number": "string",
    "state": {
      "is_locked": "boolean",
      "is_accepted": "boolean",
      "is_confirmed": "boolean",
      "is_finished": "boolean",
      "is_canceled": "boolean",
      "type": "string",
      "flow": [
        {
          "code": "string",
          "order": "integer",
          "is_reversible": "boolean",
          "trigger": "string",
          "actions": [
            {
              "code": "string",
              "order": "integer",
              "label": "string",
              "is_handled": "boolean",
              "handled_at": "string (date-time)"
            }
          ]
        }
      ],
      "progress": {
        "allocation": "string",
        "fulfilment": "string",
        "billing": "string"
      }
    },
    "settings": {
      "contact": {
        "id": "string (uuid)",
        "version": "string (uuid)"
      },
      "organisation": "#/definitions/OdrOrderSettingsContact",
      "phone_number_id": "string (uuid)",
      "coupons": [
        "string"
      ],
      "due_at": "string (date)",
      "return_url": "string",
      "billing": {
        "address_id": "string (uuid)",
        "method_code": "string",
        "issuer_code": "string",
        "provider_code": "string"
      },
      "shipping": {
        "address_id": "string (uuid)",
        "source_address_id": "string (uuid)",
        "method_id": "string (uuid)",
        "spid": "string",
        "window": {
          "from": "integer",
          "to": "integer",
          "delivery_at": "string (date)",
          "code": "string"
        },
        "is_split_allowed": "boolean"
      }
    },
    "processing": {
      "confirm": "string",
      "allocation": "string",
      "fulfilment": "string",
      "capture": "string"
    },
    "acceptances": [
      {
        "id": "string (uuid)",
        "amount": "integer",
        "is_prepaid": "boolean",
        "is_settlement": "boolean",
        "is_paid": "boolean",
        "calculation_id": "string (uuid)",
        "transaction_secret": "string",
        "created_at": "string (date-time)",
        "accepted_at": "string (date-time)"
      }
    ],
    "calculations": [
      {
        "id": "string (uuid)",
        "reference": "string",
        "currency": "string",
        "client_id": "string (uuid)",
        "channel_id": "string (uuid)",
        "amount": "integer",
        "is_valid": "boolean",
        "is_accepted": "boolean",
        "is_confirmed": "boolean",
        "expires_at": "string (date-time)"
      }
    ],
    "client_id": "string",
    "channel_id": "string (uuid)",
    "tags": [
      "string"
    ],
    "stack_id": "string"
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get stacks

GET /odr/orders/{id}/stacks

Returns all affiliated line sets that orginate from the order. For example inventory allocation, shipment or parcel data.

id: string
in path

(no description)

200 OK

The order

type
400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "entity_id": "string",
    "entity_type": "string",
    "state": {
      "is_accepted": "boolean",
      "is_confirmed": "boolean",
      "is_finished": "boolean"
    },
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Reference stack

POST /odr/orders/{id}/stacks

Creates and returns the new stack

undefined

x-idempotency-key: string
in header

(no description)

id: string
in path

(no description)

Request Example
{
  "entity_id": "string",
  "entity_type": "string",
  "constraints": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "string"
      ]
    }
  ]
}
200 OK

The stack

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "entity_id": "string",
  "entity_type": "string",
  "state": {
    "is_accepted": "boolean",
    "is_confirmed": "boolean",
    "is_finished": "boolean"
  },
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get projection

GET /odr/orders/{id}/projection

Returns an order's projection

id: string
in path

(no description)

pricing_at: integer
in query

Unix timestamp

200 OK

The projection

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "items": [
    {
      "reference": "string",
      "sku": "string",
      "description": "string",
      "type": "string",
      "amount": "integer",
      "is_discounted": "boolean",
      "quantity": "integer",
      "subtotal": "integer",
      "adjustments": [
        {
          "reference": "string",
          "description": "string",
          "amount": "number",
          "is_percentage": "boolean",
          "is_discount": "boolean",
          "result": {
            "is_applied_rule": "boolean",
            "rule_id": "string",
            "output": "integer"
          }
        }
      ],
      "vat_percentage": "integer",
      "total": "integer",
      "total_revenue": "integer"
    }
  ],
  "subtotal": "integer",
  "adjustments": [
    "#/definitions/OdrCalculationAdjustment"
  ],
  "services": [
    {
      "description": "string",
      "type": "string",
      "amount": "number",
      "is_percentage": "boolean",
      "quantity": "integer",
      "subtotal": "integer",
      "adjustments": [
        {
          "reference": "string",
          "description": "string",
          "amount": "number",
          "is_percentage": "boolean",
          "is_discount": "boolean",
          "result": {
            "is_applied_rule": "boolean",
            "rule_id": "string (uuid)",
            "output": "integer"
          }
        }
      ],
      "vat_percentage": "integer",
      "total": "integer"
    }
  ],
  "total": "integer",
  "vat": [
    {
      "rate": "integer",
      "amount": "integer"
    }
  ],
  "customer": {
    "tags": [
      "string"
    ],
    "vat_country_code": "string",
    "contact": {
      "email": "string",
      "vat_number": "string",
      "coc_number": "string",
      "organisation_id": "string",
      "organisation_version": "string",
      "address_id": "string",
      "phone_number_id": "string",
      "id": "string",
      "version": "string"
    }
  },
  "vendor": "#/definitions/OdrContact",
  "currency": "string",
  "is_including_vat": "boolean",
  "is_vat_shifted": "boolean",
  "client_id": "string",
  "pricing_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get calculation

GET /odr/orders/{id}/calculation

Returns the newest, non expired, calculation for the order

id: string
in path

(no description)

The calculation

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "number": "string",
  "reference": "string",
  "items": [
    {
      "reference": "string",
      "sku": "string",
      "description": "string",
      "type": "string",
      "amount": "integer",
      "is_discounted": "boolean",
      "quantity": "integer",
      "subtotal": "integer",
      "adjustments": [
        {
          "reference": "string",
          "description": "string",
          "amount": "number",
          "is_percentage": "boolean",
          "is_discount": "boolean",
          "result": {
            "is_applied_rule": "boolean",
            "rule_id": "string",
            "output": "integer"
          }
        }
      ],
      "vat_percentage": "integer",
      "total": "integer",
      "total_revenue": "integer",
      "order_items": [
        {
          "id": "string",
          "is_invoiced": "boolean",
          "invoice_id": "string (uuid)"
        }
      ]
    }
  ],
  "services": [
    {
      "description": "string",
      "type": "string",
      "amount": "number",
      "is_percentage": "boolean",
      "quantity": "integer",
      "subtotal": "integer",
      "adjustments": [
        {
          "reference": "string",
          "description": "string",
          "amount": "number",
          "is_percentage": "boolean",
          "is_discount": "boolean",
          "result": {
            "is_applied_rule": "boolean",
            "rule_id": "string (uuid)",
            "output": "integer"
          }
        }
      ],
      "vat_percentage": "integer",
      "total": "integer"
    }
  ],
  "subtotal": "integer",
  "adjustments": [
    "#/definitions/OdrCalculationAdjustment"
  ],
  "total": "integer",
  "vat": [
    {
      "rate": "integer",
      "amount": "integer"
    }
  ],
  "settings": {
    "billing": {
      "method_code": "string",
      "issuer_code": "string",
      "provider_code": "string",
      "vat": {
        "is_shift_disabled": "boolean",
        "is_shift_required": "boolean"
      }
    },
    "shipping": {
      "method_id": "string (uuid)"
    }
  },
  "currency": "string",
  "customer": {
    "tags": [
      "string"
    ],
    "vat_country_code": "string",
    "contact": {
      "email": "string",
      "vat_number": "string",
      "coc_number": "string",
      "organisation_id": "string",
      "organisation_version": "string",
      "address_id": "string",
      "phone_number_id": "string"
    }
  }
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Calculate order

POST /odr/orders/{id}/calculation

Request calculation for the order

id: string
in path

(no description)

x-idempotency-key: string
in header

(no description)

rules: integer 1, 0
in query

(no description)

Request Example
{
  "expires_at": "string (date-time)",
  "reference": "string",
  "currency": "string",
  "items": [
    {
      "item_ids": [
        "string (uuid)"
      ],
      "description": "string",
      "amount": "integer",
      "is_discounted": "boolean",
      "adjustments": [
        {
          "reference": "string",
          "description": "string",
          "amount": "number",
          "is_percentage": "boolean",
          "is_discount": "boolean"
        }
      ],
      "vat_percentage": "integer"
    }
  ],
  "adjustments": [
    "#/definitions/OdrAdjustment"
  ],
  "pricing_at": "string (date-time)",
  "metadata": "object"
}

The calculation

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "number": "string",
  "reference": "string",
  "items": [
    {
      "reference": "string",
      "sku": "string",
      "description": "string",
      "type": "string",
      "amount": "integer",
      "is_discounted": "boolean",
      "quantity": "integer",
      "subtotal": "integer",
      "adjustments": [
        {
          "reference": "string",
          "description": "string",
          "amount": "number",
          "is_percentage": "boolean",
          "is_discount": "boolean",
          "result": {
            "is_applied_rule": "boolean",
            "rule_id": "string",
            "output": "integer"
          }
        }
      ],
      "vat_percentage": "integer",
      "total": "integer",
      "total_revenue": "integer",
      "order_items": [
        {
          "id": "string",
          "is_invoiced": "boolean",
          "invoice_id": "string (uuid)"
        }
      ]
    }
  ],
  "services": [
    {
      "description": "string",
      "type": "string",
      "amount": "number",
      "is_percentage": "boolean",
      "quantity": "integer",
      "subtotal": "integer",
      "adjustments": [
        {
          "reference": "string",
          "description": "string",
          "amount": "number",
          "is_percentage": "boolean",
          "is_discount": "boolean",
          "result": {
            "is_applied_rule": "boolean",
            "rule_id": "string (uuid)",
            "output": "integer"
          }
        }
      ],
      "vat_percentage": "integer",
      "total": "integer"
    }
  ],
  "subtotal": "integer",
  "adjustments": [
    "#/definitions/OdrCalculationAdjustment"
  ],
  "total": "integer",
  "vat": [
    {
      "rate": "integer",
      "amount": "integer"
    }
  ],
  "settings": {
    "billing": {
      "method_code": "string",
      "issuer_code": "string",
      "provider_code": "string",
      "vat": {
        "is_shift_disabled": "boolean",
        "is_shift_required": "boolean"
      }
    },
    "shipping": {
      "method_id": "string (uuid)"
    }
  },
  "currency": "string",
  "customer": {
    "tags": [
      "string"
    ],
    "vat_country_code": "string",
    "contact": {
      "email": "string",
      "vat_number": "string",
      "coc_number": "string",
      "organisation_id": "string",
      "organisation_version": "string",
      "address_id": "string",
      "phone_number_id": "string"
    }
  }
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Authorize order

POST /odr/orders/{id}/authorize

Request authorization for the order. Upon authorization (directly or after payment), the order will be processed automatically.

calculation_id: string (uuid)
x-idempotency-key: string
in header

(no description)

id: string
in path

(no description)

Request Example
{
  "calculation_id": "string (uuid)"
}
400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "is_locked": "boolean",
  "is_accepted": "boolean",
  "is_confirmed": "boolean",
  "transaction_secret": "string"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Accept order

POST /odr/orders/{id}/accept

Update the order state

id: string
in path

(no description)

204 No Content

Accepted

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Confirm order

POST /odr/orders/{id}/confirm

Update the order state

id: string
in path

(no description)

204 No Content

Accepted

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Allocate order

POST /odr/orders/{id}/allocate

allocate the order

id: string
in path

(no description)

202 Accepted

Accepted

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Headers (202 Accepted)
x-task-id

undefined

string (uuid)
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Fulfil order

POST /odr/orders/{id}/fulfil

fulfil the order

id: string
in path

(no description)

202 Accepted

Accepted

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Headers (202 Accepted)
x-task-id

undefined

string (uuid)
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Cancel order

POST /odr/orders/{id}/cancel

Cancel the order

id: string
in path

(no description)

force: string 1, 0
in query

(no description)

Status

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "is_accepted": "boolean",
  "warnings": [
    "string"
  ]
}
Response Headers (200 OK)
x-task-id

undefined

string (uuid)
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Update tags

PUT /odr/orders/{id}/tags

Update tags for order

string
id: string
in path

(no description)

Request Example
[
  "string"
]
204 No Content

Updated tags

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Update state

PUT /odr/orders/{id}/flow

Update the order state

code: string
actions: object[]
object
code: string
is_handled: boolean
id: string
in path

(no description)

Request Example
{
  "code": "approval",
  "actions": [
    {
      "code": "manager_approve",
      "is_handled": true
    }
  ]
}
204 No Content

Accepted

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Items

List items

GET /odr/orders/{id}/items

Returns a list of items

id: string
in path

(no description)

stack_id: string (uuid)
in query

(no description)

x-page: string 1
in header

the requested page id

x-page-size: string 25
in header

the requested page size

200 OK

The list of items

type
400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "sku": "string",
    "reference": "string",
    "description": "string",
    "quantity": "integer",
    "ids": [
      "string (uuid)"
    ],
    "references": {
      "orders": [
        {
          "id": "string (uuid)",
          "is_inbound": "boolean",
          "is_backordered": "boolean",
          "is_unavailable": "boolean",
          "warehouse": {
            "claim_id": "string (uuid)",
            "delivery_route_id": "string (uuid)",
            "collect_route_id": "string (uuid)",
            "is_reservation": "boolean",
            "address_id": "string",
            "transfer_id": "string (uuid)"
          },
          "shipments": [
            {
              "id": "string (uuid)",
              "is_inbound": "boolean",
              "is_missing": "boolean"
            }
          ]
        }
      ],
      "backorders": [
        "string (uuid)"
      ],
      "target": "string"
    },
    "filters": [
      {
        "key": "string",
        "values": [
          "string"
        ]
      }
    ]
  }
]
Response Headers (200 OK)
x-count

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Add items

POST /odr/orders/{id}/items

Adds items to the stack that was previously created

OdrOrderItemModel
id: string
in path

(no description)

x-idempotency-key: string
in header

(no description)

Request Example
[
  {
    "sku": "string",
    "reference": "string (uuid)",
    "description": "string",
    "quantity": "integer",
    "is_inbound": "boolean",
    "is_backorder": "boolean",
    "item_ids": [
      "string (uuid)"
    ],
    "source_order_id": "string (uuid)"
  }
]

The stack

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "reference": "string",
    "sku": "string",
    "description": "string",
    "is_inbound": "boolean"
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Delete items

DELETE /odr/orders/{id}/items

Delete items by ID

string (uuid)
id: string
in path

(no description)

Request Example
[
  "string (uuid)"
]
204 No Content

Items deleted

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

From search

POST /odr/orders/{id}/items/search

Add items to order based on item search

is_backorder: boolean
is_inbound: boolean
constraints: OdrSearchConstraint
OdrSearchConstraint
filters: OdrSearchFilter
OdrSearchFilter
id: string
in path

(no description)

Request Example
{
  "is_backorder": "boolean",
  "is_inbound": "boolean",
  "constraints": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "string"
      ]
    }
  ],
  "filters": [
    {
      "key": "string",
      "values": [
        "string"
      ]
    }
  ]
}
200 OK

The list of groups

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "reference": "string",
    "sku": "string",
    "description": "string",
    "order_id": "string (uuid)",
    "references": {
      "orders": [
        {
          "id": "string (uuid)",
          "is_inbound": "boolean",
          "is_available": "boolean",
          "is_backorder": "boolean",
          "warehouse": {
            "claimed_at": "string (date-time)",
            "claim_id": "string (uuid)",
            "claim_item_id": "string (uuid)",
            "route_id": "string (uuid)",
            "is_reservation": "boolean",
            "transfer_id": "string (uuid)"
          },
          "shipments": [
            {
              "id": "string (uuid)",
              "is_inbound": "boolean",
              "is_missing": "boolean"
            }
          ],
          "backorders": [
            "string"
          ],
          "target": "string"
        }
      ],
      "stacks": [
        {
          "id": "string",
          "type": "string",
          "state": {
            "is_locked": "boolean",
            "is_accepted": "boolean",
            "is_confirmed": "boolean",
            "is_finished": "boolean"
          }
        }
      ]
    },
    "filters": [
      {
        "key": "string",
        "values": [
          "string"
        ]
      }
    ]
  }
]
Response Headers (200 OK)
x-count

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Attach warehouse item onto an order item

POST /odr/orders/{id}/items/attach

set the warehouse item on a product.

OdrAttachWarehouseItemsRequest
id: string
in path

(no description)

Request Example
[
  {
    "order_item_id": "string (uuid)",
    "inventory_item_id": "string (uuid)"
  }
]
200 OK

The list of groups

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "reference": "string",
    "sku": "string",
    "description": "string",
    "order_id": "string (uuid)",
    "references": {
      "orders": [
        {
          "id": "string (uuid)",
          "is_inbound": "boolean",
          "is_available": "boolean",
          "is_backorder": "boolean",
          "warehouse": {
            "claimed_at": "string (date-time)",
            "claim_id": "string (uuid)",
            "claim_item_id": "string (uuid)",
            "route_id": "string (uuid)",
            "is_reservation": "boolean",
            "transfer_id": "string (uuid)"
          },
          "shipments": [
            {
              "id": "string (uuid)",
              "is_inbound": "boolean",
              "is_missing": "boolean"
            }
          ],
          "backorders": [
            "string"
          ],
          "target": "string"
        }
      ],
      "stacks": [
        {
          "id": "string",
          "type": "string",
          "state": {
            "is_locked": "boolean",
            "is_accepted": "boolean",
            "is_confirmed": "boolean",
            "is_finished": "boolean"
          }
        }
      ]
    },
    "filters": [
      {
        "key": "string",
        "values": [
          "string"
        ]
      }
    ]
  }
]
Response Headers (200 OK)
x-count

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Remove the allocation from an order item

POST /odr/orders/{id}/items/cancel

set the warehouse item on a product.

string
id: string
in path

(no description)

Request Example
[
  "string"
]
204 No Content

when successfully dealocated

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

List items with routing

GET /odr/orders/{id}/items/routing

Returns a list of items

id: string
in path

(no description)

x-page: string 1
in header

the requested page id

x-page-size: string 25
in header

the requested page size

200 OK

The list of items

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "sku": "string",
    "reference": "string",
    "description": "string",
    "quantity": "integer",
    "order_id": "string (uuid)",
    "ids": [
      "string (uuid)"
    ],
    "references": {
      "orders": [
        {
          "id": "string (uuid)",
          "is_inbound": "boolean",
          "is_backordered": "boolean",
          "is_unavailable": "boolean",
          "warehouse": {
            "claim_id": "string (uuid)",
            "route_id": "string (uuid)",
            "is_reservation": "boolean",
            "transfer_id": "string (uuid)"
          },
          "shipments": [
            {
              "id": "string (uuid)",
              "is_inbound": "boolean",
              "is_missing": "boolean"
            }
          ]
        }
      ],
      "backorders": [
        "string (uuid)"
      ]
    },
    "filters": [
      {
        "key": "string",
        "values": [
          "string"
        ]
      }
    ],
    "delivery_routes": [
      {
        "id": "string (uuid)",
        "name": "string"
      }
    ],
    "collect_routes": [
      {
        "id": "string (uuid)",
        "name": "string",
        "delivery_routes": [
          "string"
        ]
      }
    ]
  }
]
Response Headers (200 OK)
x-count

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Set route

PUT /odr/orders/{id}/items/routing

Define a WMS route for a set of order items

OdrSetRouteRequest
id: string
in path

(no description)

Request Example
[
  {
    "item_ids": [
      "string (uuid)"
    ],
    "delivery_route_id": "string (uuid)",
    "collect_route_id": "string (uuid)"
  }
]

The list of groups

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "reference": "string",
    "sku": "string",
    "description": "string",
    "is_inbound": "boolean"
  }
]
Response Headers (200 OK)
x-count

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Set claim

PUT /odr/orders/{id}/items/claim

set an claim on a order item

OdrSetClaimRequest
id: string
in path

(no description)

Request Example
[
  {
    "item_id": "string (uuid)",
    "claim_id": "string (uuid)",
    "claim_item_id": "string (uuid)"
  }
]
200 OK

The list of groups

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "reference": "string",
    "sku": "string",
    "description": "string",
    "order_id": "string (uuid)",
    "references": {
      "orders": [
        {
          "id": "string (uuid)",
          "is_inbound": "boolean",
          "is_available": "boolean",
          "is_backorder": "boolean",
          "warehouse": {
            "claimed_at": "string (date-time)",
            "claim_id": "string (uuid)",
            "claim_item_id": "string (uuid)",
            "route_id": "string (uuid)",
            "is_reservation": "boolean",
            "transfer_id": "string (uuid)"
          },
          "shipments": [
            {
              "id": "string (uuid)",
              "is_inbound": "boolean",
              "is_missing": "boolean"
            }
          ],
          "backorders": [
            "string"
          ],
          "target": "string"
        }
      ],
      "stacks": [
        {
          "id": "string",
          "type": "string",
          "state": {
            "is_locked": "boolean",
            "is_accepted": "boolean",
            "is_confirmed": "boolean",
            "is_finished": "boolean"
          }
        }
      ]
    },
    "filters": [
      {
        "key": "string",
        "values": [
          "string"
        ]
      }
    ]
  }
]
Response Headers (200 OK)
x-count

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Search for items

POST /odr/search/orders/items

Returns a list items

undefined

x-page: string 1
in header

the requested page id

x-page-size: string 25
in header

the requested page size

Request Example
{
  "constraints": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "string"
      ]
    }
  ],
  "filters": [
    {
      "key": "string",
      "values": [
        "string"
      ]
    }
  ]
}
200 OK

The list of groups

type
400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "sku": "string",
    "reference": "string",
    "description": "string",
    "quantity": "integer",
    "ids": [
      "string (uuid)"
    ],
    "references": {
      "orders": [
        {
          "id": "string (uuid)",
          "is_inbound": "boolean",
          "is_backordered": "boolean",
          "is_unavailable": "boolean",
          "warehouse": {
            "claim_id": "string (uuid)",
            "delivery_route_id": "string (uuid)",
            "collect_route_id": "string (uuid)",
            "is_reservation": "boolean",
            "address_id": "string",
            "transfer_id": "string (uuid)"
          },
          "shipments": [
            {
              "id": "string (uuid)",
              "is_inbound": "boolean",
              "is_missing": "boolean"
            }
          ]
        }
      ],
      "backorders": [
        "string (uuid)"
      ],
      "target": "string"
    },
    "filters": [
      {
        "key": "string",
        "values": [
          "string"
        ]
      }
    ]
  }
]
Response Headers (200 OK)
x-count

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Search for items with routing

POST /odr/search/orders/items/routing

Returns a list items with routing

undefined

x-page: string 1
in header

the requested page id

x-page-size: string 25
in header

the requested page size

Request Example
{
  "constraints": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "string"
      ]
    }
  ],
  "filters": [
    {
      "key": "string",
      "values": [
        "string"
      ]
    }
  ]
}
200 OK

The list of groups

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "sku": "string",
    "reference": "string",
    "description": "string",
    "quantity": "integer",
    "order_id": "string (uuid)",
    "ids": [
      "string (uuid)"
    ],
    "references": {
      "orders": [
        {
          "id": "string (uuid)",
          "is_inbound": "boolean",
          "is_backordered": "boolean",
          "is_unavailable": "boolean",
          "warehouse": {
            "claim_id": "string (uuid)",
            "route_id": "string (uuid)",
            "is_reservation": "boolean",
            "transfer_id": "string (uuid)"
          },
          "shipments": [
            {
              "id": "string (uuid)",
              "is_inbound": "boolean",
              "is_missing": "boolean"
            }
          ]
        }
      ],
      "backorders": [
        "string (uuid)"
      ]
    },
    "filters": [
      {
        "key": "string",
        "values": [
          "string"
        ]
      }
    ],
    "delivery_routes": [
      {
        "id": "string (uuid)",
        "name": "string"
      }
    ],
    "collect_routes": [
      {
        "id": "string (uuid)",
        "name": "string",
        "delivery_routes": [
          "string"
        ]
      }
    ]
  }
]
Response Headers (200 OK)
x-count

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Search for items with routing

POST /odr/search/orders/items/attach

Returns a list items with routing

order: OdrSearch
wms: object
constraints: object[]
object
key: string
operator: string
values: string[]
string
use_referenced_stock: boolean
x-page: string 1
in header

the requested page id

x-page-size: string 25
in header

the requested page size

Request Example
{
  "order": {
    "constraints": [
      {
        "key": "string",
        "operator": "string",
        "values": [
          "string"
        ]
      }
    ],
    "filters": [
      {
        "key": "string",
        "values": [
          "string"
        ]
      }
    ]
  },
  "wms": {
    "constraints": [
      {
        "key": "string",
        "operator": "string",
        "values": [
          "string"
        ]
      }
    ],
    "use_referenced_stock": "boolean"
  }
}

The list of groups

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "sku": "string",
    "reference": "string",
    "description": "string",
    "quantity": "integer",
    "order_id": "string (uuid)",
    "ids": [
      "string (uuid)"
    ],
    "references": {
      "orders": [
        {
          "id": "string (uuid)",
          "is_inbound": "boolean",
          "is_backordered": "boolean",
          "is_unavailable": "boolean",
          "warehouse": {
            "claim_id": "string (uuid)",
            "route_id": "string (uuid)",
            "is_reservation": "boolean",
            "transfer_id": "string (uuid)"
          },
          "shipments": [
            {
              "id": "string (uuid)",
              "is_inbound": "boolean",
              "is_missing": "boolean"
            }
          ]
        }
      ],
      "backorders": [
        "string (uuid)"
      ]
    },
    "filters": [
      {
        "key": "string",
        "values": [
          "string"
        ]
      }
    ],
    "inventory_item_ids": [
      "string (uuid)"
    ],
    "available": "number"
  }
]
Response Headers (200 OK)
x-count

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Search

Search for orders

POST /odr/search/orders

Search orders by id

undefined

Request Example
{
  "constraints": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "string"
      ]
    }
  ]
}
200 OK

All matching orders

type
400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string (uuid)",
    "number": "string",
    "state": {
      "is_locked": "boolean",
      "is_accepted": "boolean",
      "is_confirmed": "boolean",
      "is_finished": "boolean",
      "is_canceled": "boolean",
      "type": "string",
      "flow": [
        {
          "code": "string",
          "order": "integer",
          "is_reversible": "boolean",
          "trigger": "string",
          "actions": [
            {
              "code": "string",
              "order": "integer",
              "label": "string",
              "is_handled": "boolean",
              "handled_at": "string (date-time)"
            }
          ]
        }
      ],
      "progress": {
        "allocation": "string",
        "fulfilment": "string",
        "billing": "string"
      }
    },
    "settings": {
      "contact": {
        "id": "string (uuid)",
        "version": "string (uuid)"
      },
      "organisation": "#/definitions/OdrOrderSettingsContact",
      "phone_number_id": "string (uuid)",
      "coupons": [
        "string"
      ],
      "due_at": "string (date)",
      "return_url": "string",
      "billing": {
        "address_id": "string (uuid)",
        "method_code": "string",
        "issuer_code": "string",
        "provider_code": "string"
      },
      "shipping": {
        "address_id": "string (uuid)",
        "source_address_id": "string (uuid)",
        "method_id": "string (uuid)",
        "spid": "string",
        "window": {
          "from": "integer",
          "to": "integer",
          "delivery_at": "string (date)",
          "code": "string"
        },
        "is_split_allowed": "boolean"
      }
    },
    "processing": {
      "confirm": "string",
      "allocation": "string",
      "fulfilment": "string",
      "capture": "string"
    },
    "acceptances": [
      {
        "id": "string (uuid)",
        "amount": "integer",
        "is_prepaid": "boolean",
        "is_settlement": "boolean",
        "is_paid": "boolean",
        "calculation_id": "string (uuid)",
        "transaction_secret": "string",
        "created_at": "string (date-time)",
        "accepted_at": "string (date-time)"
      }
    ],
    "calculations": [
      {
        "id": "string (uuid)",
        "reference": "string",
        "currency": "string",
        "client_id": "string (uuid)",
        "channel_id": "string (uuid)",
        "amount": "integer",
        "is_valid": "boolean",
        "is_accepted": "boolean",
        "is_confirmed": "boolean",
        "expires_at": "string (date-time)"
      }
    ],
    "client_id": "string",
    "channel_id": "string (uuid)",
    "tags": [
      "string"
    ],
    "stack_id": "string"
  }
]
Response Headers (200 OK)
x-count

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Search calculations

POST /odr/search/calculations

Search calculations by id

Request Example
{
  "constraints": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "string"
      ]
    }
  ]
}

All matching valid calculations

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "number": "string",
    "reference": "string",
    "items": [
      {
        "id": "string",
        "reference": "string",
        "sku": "string",
        "description": "string",
        "type": "string",
        "amount": "integer",
        "is_discounted": "boolean",
        "quantity": "integer",
        "subtotal": "integer",
        "adjustments": [
          {
            "reference": "string",
            "description": "string",
            "amount": "number",
            "is_percentage": "boolean",
            "is_discount": "boolean",
            "result": {
              "is_applied_rule": "boolean",
              "rule_id": "string",
              "output": "integer"
            }
          }
        ],
        "vat_percentage": "integer",
        "total": "integer",
        "total_revenue": "integer",
        "order_items": [
          {
            "id": "string",
            "is_invoiced": "boolean",
            "invoice_id": "string"
          }
        ]
      }
    ],
    "services": [
      {
        "description": "string",
        "type": "string",
        "amount": "number",
        "is_percentage": "boolean",
        "quantity": "integer",
        "subtotal": "integer",
        "adjustments": [
          {
            "reference": "string",
            "description": "string",
            "amount": "number",
            "is_percentage": "boolean",
            "is_discount": "boolean",
            "result": {
              "is_applied_rule": "boolean",
              "rule_id": "string (uuid)",
              "output": "integer"
            }
          }
        ],
        "vat_percentage": "integer",
        "total": "integer"
      }
    ],
    "subtotal": "integer",
    "adjustments": [
      "#/definitions/OdrCalculationAdjustment"
    ],
    "total": "integer",
    "vat": [
      {
        "rate": "integer",
        "amount": "integer"
      }
    ],
    "currency": "string",
    "customer": {
      "tags": [
        "string"
      ],
      "vat_country_code": "string",
      "contact": {
        "email": "string",
        "vat_number": "string",
        "coc_number": "string",
        "organisation_id": "string",
        "organisation_version": "string",
        "address_id": "string",
        "phone_number_id": "string",
        "id": "string",
        "version": "string"
      }
    },
    "vendor": "#/definitions/OdrContact",
    "is_including_vat": "boolean",
    "is_vat_shifted": "boolean",
    "is_prepaid": "boolean",
    "client_id": "string",
    "channel_id": "string (uuid)",
    "file_id": "string",
    "metadata": "object",
    "pricing_at": "string (date-time)",
    "invoiced_at": "string (date-time)"
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Search invoices

POST /odr/search/invoices

Search invoices by ID

undefined

Request Example
{
  "constraints": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "string"
      ]
    }
  ]
}
200 OK

All matching invoices

type
400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "number": "string",
    "reference": "string",
    "items": [
      {
        "id": "string (uuid)",
        "sku": "string",
        "description": "string",
        "type": "string",
        "amount": "integer",
        "is_discounted": "boolean",
        "quantity": "integer",
        "subtotal": "integer",
        "adjustments": [
          {
            "reference": "string",
            "description": "string",
            "amount": "number",
            "is_percentage": "boolean",
            "is_discount": "boolean",
            "result": {
              "output": "integer"
            }
          }
        ],
        "vat_percentage": "integer",
        "total": "integer",
        "total_revenue": "integer",
        "order_items": [
          {
            "id": "string",
            "is_invoiced": "boolean",
            "invoice_id": "string"
          }
        ]
      }
    ],
    "services": [
      {
        "description": "string",
        "type": "string",
        "amount": "number",
        "is_percentage": "boolean",
        "quantity": "integer",
        "subtotal": "integer",
        "adjustments": [
          {
            "reference": "string",
            "description": "string",
            "amount": "number",
            "is_percentage": "boolean",
            "is_discount": "boolean",
            "result": {
              "is_applied_rule": "boolean",
              "rule_id": "string (uuid)",
              "output": "integer"
            }
          }
        ],
        "vat_percentage": "integer",
        "total": "integer"
      }
    ],
    "settings": {
      "billing": {
        "method_code": "string",
        "issuer_code": "string",
        "provider_code": "string",
        "vat": {
          "is_shift_disabled": "boolean",
          "is_shift_required": "boolean"
        }
      },
      "shipping": {
        "method_id": "string"
      }
    },
    "subtotal": "integer",
    "adjustments": [
      "#/definitions/OdrInvoiceAdjustmentResponse"
    ],
    "total": "integer",
    "vat": [
      {
        "rate": "integer",
        "amount": "integer"
      }
    ],
    "currency": "string",
    "customer": {
      "tags": [
        "string"
      ],
      "vat_country_code": "string",
      "contact": {
        "email": "string",
        "vat_number": "string",
        "coc_number": "string",
        "organisation_id": "string",
        "organisation_version": "string",
        "address_id": "string",
        "phone_number_id": "string",
        "id": "string"
      }
    }
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Search coupons

POST /odr/search/coupons

Search coupons by code

undefined

Request Example
{
  "constraints": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "string"
      ]
    }
  ]
}
200 OK

All matching coupons

type
400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "code": "string",
    "usage": {
      "is_unlimited": "boolean",
      "remaining": "integer"
    },
    "category_id": "string (uuid)",
    "claims": [
      {
        "order_id": "string (uuid)",
        "is_confirmed": "boolean"
      }
    ],
    "expires_at": "string (date-time)",
    "created_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-count

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Search coupon categories

POST /odr/search/coupons/categories

Search coupon categories by id

Request Example
{
  "constraints": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "string"
      ]
    }
  ]
}

All matching coupon categories

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string (uuid)",
    "name": "string",
    "defaults": {
      "expires_after": "integer",
      "usage": {
        "is_unlimited": "boolean",
        "limit": "integer"
      }
    },
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-count

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Skus

Announce a set of skus

POST /odr/skus

Provide the service with a set of valid skus

Request Example
[
  {
    "sku": "string",
    "description": "string",
    "expires_at": "string (date-time)"
  }
]
200 OK

The list of skus

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "status": "string",
  "count": "integer"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Filters

Search filters

POST /odr/search/filters

Returns a list of filters

undefined

x-page: string 1
in header

the requested page id

x-page-size: string 25
in header

the requested page size

Request Example
{
  "constraints": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "string"
      ]
    }
  ]
}
200 OK

The list of groups

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "sku": "string",
    "filters": "object"
  }
]
Response Headers (200 OK)
x-count

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get a list of fiter sets

GET /odr/filters

Get a listing filters per sku

200 OK

List of filter sets

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "sku": "string",
    "filters": "object"
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Upsert filters for skus

PUT /odr/filters

Create or update filters for products

Request Example
[
  {
    "sku": "string",
    "filters": "object"
  }
]

The upsert results

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "success": "integer",
  "failed": "integer"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get a list of filter keys

GET /odr/filters/keys

Returns distinct filter keys

200 OK

List of filter sets

type
string[]
400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  "color"
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get a list of filter values for a given key

GET /odr/filters/keys/{key}

Returns distinct filter values

key: string
in path

(no description)

200 OK

List of filter sets

type
string[]
400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  "red",
  "yellow"
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Projection

Project pricing

POST /odr/projection

Returns a cost projection

undefined

rules: string 1, 0 1
in query

(no description)

Request Example
{
  "client_id": "string",
  "currency": "string",
  "items": [
    {
      "reference": "string",
      "sku": "string",
      "description": "string",
      "amount": "integer",
      "is_discounted": "boolean",
      "quantity": "integer",
      "adjustments": [
        {
          "reference": "string",
          "description": "string",
          "amount": "number",
          "is_percentage": "boolean",
          "is_discount": "boolean"
        }
      ],
      "vat_percentage": "integer"
    }
  ],
  "adjustments": [
    "#/definitions/OdrAdjustment"
  ],
  "contact_id": "string",
  "organisation_id": "string",
  "pricing_at": "string (date-time)",
  "coupons": [
    "string"
  ],
  "settings": {
    "billing": {
      "method_code": "string",
      "issuer_code": "string",
      "provider_code": "string",
      "vat": {
        "is_shift_disabled": "boolean",
        "is_shift_required": "boolean"
      }
    },
    "shipping": {
      "method_id": "string"
    }
  }
}
200 OK

The projection with applied valid discounts

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "items": [
    {
      "reference": "string",
      "sku": "string",
      "description": "string",
      "type": "string",
      "amount": "integer",
      "is_discounted": "boolean",
      "quantity": "integer",
      "subtotal": "integer",
      "adjustments": [
        {
          "reference": "string",
          "description": "string",
          "amount": "number",
          "is_percentage": "boolean",
          "is_discount": "boolean",
          "result": {
            "is_applied_rule": "boolean",
            "rule_id": "string",
            "output": "integer"
          }
        }
      ],
      "vat_percentage": "integer",
      "total": "integer",
      "total_revenue": "integer"
    }
  ],
  "subtotal": "integer",
  "adjustments": [
    "#/definitions/OdrCalculationAdjustment"
  ],
  "services": [
    {
      "description": "string",
      "type": "string",
      "amount": "number",
      "is_percentage": "boolean",
      "quantity": "integer",
      "subtotal": "integer",
      "adjustments": [
        {
          "reference": "string",
          "description": "string",
          "amount": "number",
          "is_percentage": "boolean",
          "is_discount": "boolean",
          "result": {
            "is_applied_rule": "boolean",
            "rule_id": "string (uuid)",
            "output": "integer"
          }
        }
      ],
      "vat_percentage": "integer",
      "total": "integer"
    }
  ],
  "total": "integer",
  "vat": [
    {
      "rate": "integer",
      "amount": "integer"
    }
  ],
  "customer": {
    "tags": [
      "string"
    ],
    "vat_country_code": "string",
    "contact": {
      "email": "string",
      "vat_number": "string",
      "coc_number": "string",
      "organisation_id": "string",
      "organisation_version": "string",
      "address_id": "string",
      "phone_number_id": "string",
      "id": "string",
      "version": "string"
    }
  },
  "vendor": "#/definitions/OdrContact",
  "currency": "string",
  "is_including_vat": "boolean",
  "is_vat_shifted": "boolean",
  "client_id": "string",
  "pricing_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Calculations

List calculations

GET /odr/calculations

Returns a list of calculations

x-page: string 1
in header

the cursor

x-page-size: string 25
in header

the requested page size

A list of calculations

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "number": "string",
    "reference": "string",
    "subtotal": "integer",
    "adjustments": [
      {
        "reference": "string",
        "description": "string",
        "amount": "number",
        "is_percentage": "boolean",
        "is_discount": "boolean",
        "result": {
          "is_applied_rule": "boolean",
          "rule_id": "string",
          "output": "integer"
        }
      }
    ],
    "total": "integer",
    "vat": [
      {
        "rate": "integer",
        "amount": "integer"
      }
    ],
    "currency": "string",
    "customer": {
      "tags": [
        "string"
      ],
      "vat_country_code": "string",
      "contact": {
        "email": "string",
        "vat_number": "string",
        "coc_number": "string",
        "organisation_id": "string",
        "organisation_version": "string",
        "address_id": "string",
        "phone_number_id": "string",
        "id": "string",
        "version": "string"
      }
    },
    "vendor": "#/definitions/OdrContact",
    "is_including_vat": "boolean",
    "is_vat_shifted": "boolean",
    "is_prepaid": "boolean",
    "client_id": "string",
    "channel_id": "string (uuid)",
    "file_id": "string",
    "metadata": "object",
    "pricing_at": "string (date-time)",
    "invoiced_at": "string (date-time)",
    "prepaid_at": "string (date-time)",
    "order_ids": [
      "string"
    ],
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-page

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get calculation

GET /odr/calculations/{id}

Returns a calculation

id: string
in path

(no description)

A single calculation

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "number": "string",
  "reference": "string",
  "items": [
    {
      "id": "string",
      "reference": "string",
      "sku": "string",
      "description": "string",
      "type": "string",
      "amount": "integer",
      "is_discounted": "boolean",
      "quantity": "integer",
      "subtotal": "integer",
      "adjustments": [
        {
          "reference": "string",
          "description": "string",
          "amount": "number",
          "is_percentage": "boolean",
          "is_discount": "boolean",
          "result": {
            "is_applied_rule": "boolean",
            "rule_id": "string",
            "output": "integer"
          }
        }
      ],
      "vat_percentage": "integer",
      "total": "integer",
      "total_revenue": "integer",
      "order_items": [
        {
          "id": "string",
          "is_invoiced": "boolean",
          "invoice_id": "string"
        }
      ]
    }
  ],
  "services": [
    {
      "description": "string",
      "type": "string",
      "amount": "number",
      "is_percentage": "boolean",
      "quantity": "integer",
      "subtotal": "integer",
      "adjustments": [
        {
          "reference": "string",
          "description": "string",
          "amount": "number",
          "is_percentage": "boolean",
          "is_discount": "boolean",
          "result": {
            "is_applied_rule": "boolean",
            "rule_id": "string (uuid)",
            "output": "integer"
          }
        }
      ],
      "vat_percentage": "integer",
      "total": "integer"
    }
  ],
  "subtotal": "integer",
  "adjustments": [
    "#/definitions/OdrCalculationAdjustment"
  ],
  "total": "integer",
  "vat": [
    {
      "rate": "integer",
      "amount": "integer"
    }
  ],
  "currency": "string",
  "customer": {
    "tags": [
      "string"
    ],
    "vat_country_code": "string",
    "contact": {
      "email": "string",
      "vat_number": "string",
      "coc_number": "string",
      "organisation_id": "string",
      "organisation_version": "string",
      "address_id": "string",
      "phone_number_id": "string",
      "id": "string",
      "version": "string"
    }
  },
  "vendor": "#/definitions/OdrContact",
  "is_including_vat": "boolean",
  "is_vat_shifted": "boolean",
  "is_prepaid": "boolean",
  "client_id": "string",
  "channel_id": "string (uuid)",
  "file_id": "string",
  "metadata": "object",
  "pricing_at": "string (date-time)",
  "invoiced_at": "string (date-time)",
  "prepaid_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Invoice calculation

POST /odr/calculations/{id}/invoices

Creates the invoice

id: string
in path

(no description)

Request Example
{
  "order_item_ids": [
    "string (uuid)"
  ]
}
200 OK

A single invoice

type
400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "number": "string",
    "reference": "string",
    "items": [
      {
        "id": "string (uuid)",
        "sku": "string",
        "description": "string",
        "type": "string",
        "amount": "integer",
        "is_discounted": "boolean",
        "quantity": "integer",
        "subtotal": "integer",
        "adjustments": [
          {
            "reference": "string",
            "description": "string",
            "amount": "number",
            "is_percentage": "boolean",
            "is_discount": "boolean",
            "result": {
              "output": "integer"
            }
          }
        ],
        "vat_percentage": "integer",
        "total": "integer",
        "total_revenue": "integer",
        "order_items": [
          {
            "id": "string",
            "is_invoiced": "boolean",
            "invoice_id": "string"
          }
        ]
      }
    ],
    "services": [
      {
        "description": "string",
        "type": "string",
        "amount": "number",
        "is_percentage": "boolean",
        "quantity": "integer",
        "subtotal": "integer",
        "adjustments": [
          {
            "reference": "string",
            "description": "string",
            "amount": "number",
            "is_percentage": "boolean",
            "is_discount": "boolean",
            "result": {
              "is_applied_rule": "boolean",
              "rule_id": "string (uuid)",
              "output": "integer"
            }
          }
        ],
        "vat_percentage": "integer",
        "total": "integer"
      }
    ],
    "settings": {
      "billing": {
        "method_code": "string",
        "issuer_code": "string",
        "provider_code": "string",
        "vat": {
          "is_shift_disabled": "boolean",
          "is_shift_required": "boolean"
        }
      },
      "shipping": {
        "method_id": "string"
      }
    },
    "subtotal": "integer",
    "adjustments": [
      "#/definitions/OdrInvoiceAdjustmentResponse"
    ],
    "total": "integer",
    "vat": [
      {
        "rate": "integer",
        "amount": "integer"
      }
    ],
    "currency": "string",
    "customer": {
      "tags": [
        "string"
      ],
      "vat_country_code": "string",
      "contact": {
        "email": "string",
        "vat_number": "string",
        "coc_number": "string",
        "organisation_id": "string",
        "organisation_version": "string",
        "address_id": "string",
        "phone_number_id": "string",
        "id": "string"
      }
    }
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Invoices

List invoices

GET /odr/invoices

Returns a list of invoices

order_id: string
in query

(no description)

x-page: string 1
in header

the requested page id

x-page-size: string 25
in header

the requested page size

List of invoices

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "number": "string",
    "reference": "string",
    "count": "integer",
    "subtotal": "integer",
    "adjustments": [
      {
        "reference": "string",
        "description": "string",
        "amount": "number",
        "is_percentage": "boolean",
        "is_discount": "boolean",
        "result": {
          "output": "integer"
        }
      }
    ],
    "total": "integer",
    "vat": [
      {
        "rate": "integer",
        "amount": "integer"
      }
    ],
    "currency": "string",
    "customer": {
      "tags": [
        "string"
      ],
      "vat_country_code": "string",
      "contact": {
        "email": "string",
        "vat_number": "string",
        "coc_number": "string",
        "organisation_id": "string",
        "organisation_version": "string",
        "address_id": "string",
        "phone_number_id": "string",
        "id": "string",
        "version": "string"
      }
    },
    "vendor": "#/definitions/OdrContact",
    "is_including_vat": "boolean",
    "is_vat_shifted": "boolean",
    "is_paid": "boolean",
    "client_id": "string",
    "channel_id": "string (uuid)",
    "file_id": "string",
    "metadata": "object",
    "pricing_at": "string (date-time)",
    "invoiced_at": "string (date-time)",
    "paid_at": "string (date-time)",
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-page

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Create invoice

POST /odr/invoices

Create a new invoice

undefined

Request Example
{
  "reference": "string",
  "client_id": "string",
  "channel_id": "string (uuid)",
  "contact_id": "string",
  "organisation_id": "string",
  "address_id": "string",
  "items": [
    {
      "reference": "string",
      "sku": "string",
      "description": "string",
      "amount": "integer",
      "is_discounted": "boolean",
      "quantity": "integer",
      "adjustments": [
        {
          "reference": "string",
          "description": "string",
          "amount": "number",
          "is_percentage": "boolean",
          "is_discount": "boolean"
        }
      ],
      "vat_percentage": "integer"
    }
  ],
  "adjustments": [
    "#/definitions/OdrAdjustment"
  ],
  "currency": "string",
  "pricing_at": "string (date-time)",
  "metadata": "object"
}
200 OK

The newly created invoice

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "number": "string",
  "reference": "string",
  "items": [
    {
      "id": "string (uuid)",
      "sku": "string",
      "description": "string",
      "type": "string",
      "amount": "integer",
      "is_discounted": "boolean",
      "quantity": "integer",
      "subtotal": "integer",
      "adjustments": [
        {
          "reference": "string",
          "description": "string",
          "amount": "number",
          "is_percentage": "boolean",
          "is_discount": "boolean",
          "result": {
            "output": "integer"
          }
        }
      ],
      "vat_percentage": "integer",
      "total": "integer",
      "total_revenue": "integer",
      "order_items": [
        {
          "id": "string",
          "is_invoiced": "boolean",
          "invoice_id": "string"
        }
      ]
    }
  ],
  "services": [
    {
      "description": "string",
      "type": "string",
      "amount": "number",
      "is_percentage": "boolean",
      "quantity": "integer",
      "subtotal": "integer",
      "adjustments": [
        {
          "reference": "string",
          "description": "string",
          "amount": "number",
          "is_percentage": "boolean",
          "is_discount": "boolean",
          "result": {
            "is_applied_rule": "boolean",
            "rule_id": "string (uuid)",
            "output": "integer"
          }
        }
      ],
      "vat_percentage": "integer",
      "total": "integer"
    }
  ],
  "settings": {
    "billing": {
      "method_code": "string",
      "issuer_code": "string",
      "provider_code": "string",
      "vat": {
        "is_shift_disabled": "boolean",
        "is_shift_required": "boolean"
      }
    },
    "shipping": {
      "method_id": "string"
    }
  },
  "subtotal": "integer",
  "adjustments": [
    "#/definitions/OdrInvoiceAdjustmentResponse"
  ],
  "total": "integer",
  "vat": [
    {
      "rate": "integer",
      "amount": "integer"
    }
  ],
  "currency": "string",
  "customer": {
    "tags": [
      "string"
    ],
    "vat_country_code": "string",
    "contact": {
      "email": "string",
      "vat_number": "string",
      "coc_number": "string",
      "organisation_id": "string",
      "organisation_version": "string",
      "address_id": "string",
      "phone_number_id": "string",
      "id": "string",
      "version": "string"
    }
  }
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

View invoice

GET /odr/invoices/{id}

Returns a single invoice by id

id: string
in path

(no description)

200 OK

View the invoice

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "number": "string",
  "reference": "string",
  "items": [
    {
      "id": "string (uuid)",
      "sku": "string",
      "description": "string",
      "type": "string",
      "amount": "integer",
      "is_discounted": "boolean",
      "quantity": "integer",
      "subtotal": "integer",
      "adjustments": [
        {
          "reference": "string",
          "description": "string",
          "amount": "number",
          "is_percentage": "boolean",
          "is_discount": "boolean",
          "result": {
            "output": "integer"
          }
        }
      ],
      "vat_percentage": "integer",
      "total": "integer",
      "total_revenue": "integer",
      "order_items": [
        {
          "id": "string",
          "is_invoiced": "boolean",
          "invoice_id": "string"
        }
      ]
    }
  ],
  "services": [
    {
      "description": "string",
      "type": "string",
      "amount": "number",
      "is_percentage": "boolean",
      "quantity": "integer",
      "subtotal": "integer",
      "adjustments": [
        {
          "reference": "string",
          "description": "string",
          "amount": "number",
          "is_percentage": "boolean",
          "is_discount": "boolean",
          "result": {
            "is_applied_rule": "boolean",
            "rule_id": "string (uuid)",
            "output": "integer"
          }
        }
      ],
      "vat_percentage": "integer",
      "total": "integer"
    }
  ],
  "settings": {
    "billing": {
      "method_code": "string",
      "issuer_code": "string",
      "provider_code": "string",
      "vat": {
        "is_shift_disabled": "boolean",
        "is_shift_required": "boolean"
      }
    },
    "shipping": {
      "method_id": "string"
    }
  },
  "subtotal": "integer",
  "adjustments": [
    "#/definitions/OdrInvoiceAdjustmentResponse"
  ],
  "total": "integer",
  "vat": [
    {
      "rate": "integer",
      "amount": "integer"
    }
  ],
  "currency": "string",
  "customer": {
    "tags": [
      "string"
    ],
    "vat_country_code": "string",
    "contact": {
      "email": "string",
      "vat_number": "string",
      "coc_number": "string",
      "organisation_id": "string",
      "organisation_version": "string",
      "address_id": "string",
      "phone_number_id": "string",
      "id": "string",
      "version": "string"
    }
  }
}
Response Headers (200 OK)
x-page

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Mark paid

PUT /odr/invoices/{id}/paid

Mark invoice as paid

undefined

id: string
in path

(no description)

Request Example
{
  "paid_at": "string (date)"
}

The newly created invoice

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "number": "string",
  "reference": "string",
  "count": "integer",
  "subtotal": "integer",
  "adjustments": [
    {
      "reference": "string",
      "description": "string",
      "amount": "number",
      "is_percentage": "boolean",
      "is_discount": "boolean",
      "result": {
        "output": "integer"
      }
    }
  ],
  "total": "integer",
  "vat": [
    {
      "rate": "integer",
      "amount": "integer"
    }
  ],
  "currency": "string",
  "customer": {
    "tags": [
      "string"
    ],
    "vat_country_code": "string",
    "contact": {
      "email": "string",
      "vat_number": "string",
      "coc_number": "string",
      "organisation_id": "string",
      "organisation_version": "string",
      "address_id": "string",
      "phone_number_id": "string",
      "id": "string",
      "version": "string"
    }
  },
  "vendor": "#/definitions/OdrContact",
  "is_including_vat": "boolean",
  "is_vat_shifted": "boolean",
  "is_paid": "boolean",
  "client_id": "string",
  "channel_id": "string (uuid)",
  "file_id": "string",
  "metadata": "object",
  "pricing_at": "string (date-time)",
  "invoiced_at": "string (date-time)",
  "paid_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Generate invoice

POST /odr/invoices/{id}/print

Generate PDF invoice

id: string
in path

(no description)

204 No Content

No content

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Headers (204 No Content)
x-task-id

Reference to the task

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Pricing

Get a list of pricing rules

GET /odr/rules

Get a listing of available pricing rules

x-page: integer
in header

(no description)

x-page-size: integer 25
in header

(no description)

List of pricing rules

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "name": "string",
    "constraints": [
      {
        "key": "string",
        "operator": "string",
        "values": [
          "object"
        ]
      }
    ],
    "filters": [
      {
        "key": "string",
        "operator": "string",
        "values": [
          "object"
        ]
      }
    ],
    "adjustments": [
      {
        "reference": "string",
        "description": "string",
        "amount": "number",
        "is_percentage": "boolean",
        "is_discount": "boolean"
      }
    ],
    "apply_to": "string",
    "grant_limit": "integer",
    "priority": "integer",
    "evaluate_at": "string",
    "is_last_rule": "boolean",
    "metadata": "object",
    "active_at": "string (date-time)",
    "expires_at": "string (date-time)",
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-count

undefined

integer
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Add a pricing rule

POST /odr/rules

Add a new pricing rule to the set

Request Example
{
  "name": "string",
  "constraints": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "object"
      ]
    }
  ],
  "filters": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "object"
      ]
    }
  ],
  "adjustments": [
    {
      "reference": "string",
      "description": "string",
      "amount": "number",
      "is_percentage": "boolean",
      "is_discount": "boolean"
    }
  ],
  "apply_to": "string",
  "grant_limit": "integer",
  "priority": "integer",
  "is_last_rule": "boolean",
  "evaluate_at": "string",
  "metadata": "object",
  "active_at": "string (date-time)",
  "expires_at": "string (date-time)"
}

The new princing rule

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "name": "string",
  "constraints": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "object"
      ]
    }
  ],
  "filters": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "object"
      ]
    }
  ],
  "adjustments": [
    {
      "reference": "string",
      "description": "string",
      "amount": "number",
      "is_percentage": "boolean",
      "is_discount": "boolean"
    }
  ],
  "apply_to": "string",
  "grant_limit": "integer",
  "priority": "integer",
  "evaluate_at": "string",
  "is_last_rule": "boolean",
  "metadata": "object",
  "active_at": "string (date-time)",
  "expires_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get a pricing rule

GET /odr/rules/{id}

Get a pricing rule

id: string
in path

(no description)

List of pricing rules

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "name": "string",
  "constraints": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "object"
      ]
    }
  ],
  "filters": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "object"
      ]
    }
  ],
  "adjustments": [
    {
      "reference": "string",
      "description": "string",
      "amount": "number",
      "is_percentage": "boolean",
      "is_discount": "boolean"
    }
  ],
  "apply_to": "string",
  "grant_limit": "integer",
  "priority": "integer",
  "evaluate_at": "string",
  "is_last_rule": "boolean",
  "metadata": "object",
  "active_at": "string (date-time)",
  "expires_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Update a pricing rule

PUT /odr/rules/{id}

Update an existing pricing rule

id: string
in path

(no description)

Request Example
{
  "name": "string",
  "constraints": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "object"
      ]
    }
  ],
  "filters": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "object"
      ]
    }
  ],
  "adjustments": [
    {
      "reference": "string",
      "description": "string",
      "amount": "number",
      "is_percentage": "boolean",
      "is_discount": "boolean"
    }
  ],
  "apply_to": "string",
  "grant_limit": "integer",
  "priority": "integer",
  "is_last_rule": "boolean",
  "evaluate_at": "string",
  "metadata": "object",
  "active_at": "string (date-time)",
  "expires_at": "string (date-time)"
}

The updated princing rule

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "name": "string",
  "constraints": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "object"
      ]
    }
  ],
  "filters": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "object"
      ]
    }
  ],
  "adjustments": [
    {
      "reference": "string",
      "description": "string",
      "amount": "number",
      "is_percentage": "boolean",
      "is_discount": "boolean"
    }
  ],
  "apply_to": "string",
  "grant_limit": "integer",
  "priority": "integer",
  "evaluate_at": "string",
  "is_last_rule": "boolean",
  "metadata": "object",
  "active_at": "string (date-time)",
  "expires_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Evaluate the existing set of pricing rules

POST /odr/rules/evaluate

Test to see if rules would be applied

Request Example
{
  "pricing_at": "string (date-time)",
  "quantity": "integer",
  "amount": "integer",
  "client": "string",
  "tags": [
    "string"
  ],
  "shipping_method": "string",
  "payment_method": "string",
  "coupons": [
    "string"
  ],
  "items": [
    {
      "reference": "string",
      "sku": "string",
      "filters": "object",
      "quantity": "integer",
      "is_discounted": "boolean"
    }
  ]
}

The new princing rule

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "name": "string",
    "constraints": [
      {
        "key": "string",
        "operator": "string",
        "values": [
          "object"
        ]
      }
    ],
    "filters": [
      {
        "key": "string",
        "operator": "string",
        "values": [
          "object"
        ]
      }
    ],
    "adjustments": [
      {
        "reference": "string",
        "description": "string",
        "amount": "number",
        "is_percentage": "boolean",
        "is_discount": "boolean"
      }
    ],
    "apply_to": "string",
    "grant_limit": "integer",
    "priority": "integer",
    "evaluate_at": "string",
    "is_last_rule": "boolean",
    "metadata": "object",
    "active_at": "string (date-time)",
    "expires_at": "string (date-time)",
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get a of options for constraints

GET /odr/options/rules/constraints

Get a listing of available constraint rules

List of pricing rules

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "amount": [
    "string"
  ]
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Services

Get services

GET /odr/services

Get a listing of available services

200 OK

List of pricing services

type
400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string (uuid)",
    "name": "string",
    "constraints": [
      {
        "key": "string",
        "operator": "string",
        "values": [
          "object"
        ]
      }
    ],
    "type": "string",
    "amount": "number",
    "is_percentage": "boolean",
    "vat_settings": [
      {
        "type": "string",
        "reference": "integer",
        "country_code": "string"
      }
    ],
    "priority": "integer",
    "metadata": "object",
    "active_at": "string (date-time)",
    "expires_at": "string (date-time)",
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Create services

POST /odr/services

Add a new service

undefined

Request Example
{
  "name": "string",
  "constraints": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "object"
      ]
    }
  ],
  "type": "string",
  "amount": "number",
  "is_percentage": "boolean",
  "vat_settings": [
    {
      "type": "string",
      "reference": "integer",
      "country_code": "string"
    }
  ],
  "priority": "integer",
  "metadata": "object",
  "active_at": "string (date-time)",
  "expires_at": "string (date-time)"
}
200 OK

The new service

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string (uuid)",
  "name": "string",
  "constraints": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "object"
      ]
    }
  ],
  "type": "string",
  "amount": "number",
  "is_percentage": "boolean",
  "vat_settings": [
    {
      "type": "string",
      "reference": "integer",
      "country_code": "string"
    }
  ],
  "priority": "integer",
  "metadata": "object",
  "active_at": "string (date-time)",
  "expires_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

View services

GET /odr/services/{id}

Get a single service by ID

id: string
in path

(no description)

200 OK

Single service

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string (uuid)",
  "name": "string",
  "constraints": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "object"
      ]
    }
  ],
  "type": "string",
  "amount": "number",
  "is_percentage": "boolean",
  "vat_settings": [
    {
      "type": "string",
      "reference": "integer",
      "country_code": "string"
    }
  ],
  "priority": "integer",
  "metadata": "object",
  "active_at": "string (date-time)",
  "expires_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Update service

PUT /odr/services/{id}

Get a single service by ID

undefined

id: string
in path

(no description)

Request Example
{
  "name": "string",
  "constraints": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "object"
      ]
    }
  ],
  "type": "string",
  "amount": "number",
  "is_percentage": "boolean",
  "vat_settings": [
    {
      "type": "string",
      "reference": "integer",
      "country_code": "string"
    }
  ],
  "priority": "integer",
  "metadata": "object",
  "active_at": "string (date-time)",
  "expires_at": "string (date-time)"
}
200 OK

The updated service

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string (uuid)",
  "name": "string",
  "constraints": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "object"
      ]
    }
  ],
  "type": "string",
  "amount": "number",
  "is_percentage": "boolean",
  "vat_settings": [
    {
      "type": "string",
      "reference": "integer",
      "country_code": "string"
    }
  ],
  "priority": "integer",
  "metadata": "object",
  "active_at": "string (date-time)",
  "expires_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Coupons

Get coupons

GET /odr/coupons/codes

Get a listing of available coupons

category_id: string
in query

(no description)

200 OK

List of coupons

type
400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "code": "string",
    "usage": {
      "is_unlimited": "boolean",
      "remaining": "integer"
    },
    "category_id": "string (uuid)",
    "claims": [
      {
        "order_id": "string (uuid)",
        "is_confirmed": "boolean"
      }
    ],
    "expires_at": "string (date-time)",
    "created_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-count

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Create coupons

POST /odr/coupons/codes

Add a new coupon

undefined

Request Example
{
  "code": "string",
  "usage": {
    "is_unlimited": "boolean",
    "remaining": "integer"
  },
  "category_id": "string (uuid)",
  "expires_at": "string (date-time)"
}
200 OK

The new coupon

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "code": "string",
  "usage": {
    "is_unlimited": "boolean",
    "remaining": "integer"
  },
  "category_id": "string (uuid)",
  "claims": [
    {
      "order_id": "string (uuid)",
      "is_confirmed": "boolean"
    }
  ],
  "expires_at": "string (date-time)",
  "created_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

View coupon

GET /odr/coupons/codes/{code}

Get a single coupon by ID

code: string
in path

(no description)

200 OK

Single coupon

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "code": "string",
  "usage": {
    "is_unlimited": "boolean",
    "remaining": "integer"
  },
  "category_id": "string (uuid)",
  "claims": [
    {
      "order_id": "string (uuid)",
      "is_confirmed": "boolean"
    }
  ],
  "expires_at": "string (date-time)",
  "created_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Disable coupon

DELETE /odr/coupons/codes/{code}

Disable a coupon: it is marked as expired

code: string
in path

(no description)

204 No Content

Coupon code(s) disabled

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get categories

GET /odr/coupons/categories

Get a listing of available coupon categories

List of coupon categories

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string (uuid)",
    "name": "string",
    "defaults": {
      "expires_after": "integer",
      "usage": {
        "is_unlimited": "boolean",
        "limit": "integer"
      }
    },
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-count

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Create categories

POST /odr/coupons/categories

Add a new category

Request Example
{
  "name": "string",
  "defaults": {
    "expires_after": "integer",
    "usage": {
      "is_unlimited": "boolean",
      "limit": "integer"
    }
  }
}

The new category

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string (uuid)",
  "name": "string",
  "defaults": {
    "expires_after": "integer",
    "usage": {
      "is_unlimited": "boolean",
      "limit": "integer"
    }
  },
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

View category

GET /odr/coupons/categories/{id}

Get a coupon category by ID

id: string
in path

(no description)

Single coupon category

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string (uuid)",
  "name": "string",
  "defaults": {
    "expires_after": "integer",
    "usage": {
      "is_unlimited": "boolean",
      "limit": "integer"
    }
  },
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Update category

PUT /odr/coupons/categories/{id}

Update coupon category

id: string
in path

(no description)

Request Example
{
  "name": "string",
  "defaults": {
    "expires_after": "integer",
    "usage": {
      "is_unlimited": "boolean",
      "limit": "integer"
    }
  }
}

The updated service

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string (uuid)",
  "name": "string",
  "defaults": {
    "expires_after": "integer",
    "usage": {
      "is_unlimited": "boolean",
      "limit": "integer"
    }
  },
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Credit

Apply balance

POST /odr/balance/apply

Apply balance to the credit reference

undefined

x-idempotency-key: string
in header

(no description)

Request Example
{
  "key": {
    "entity_id": "string (uuid)",
    "entity_type": "string"
  },
  "reference": "#/definitions/OdrKey",
  "description": "string",
  "currency": "string",
  "amount": "integer",
  "overdraft_allowance": "integer"
}
200 OK

The credit data

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Balance too low

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string (uuid)",
  "key": {
    "entity_id": "string (uuid)",
    "entity_type": "string"
  },
  "balance": "integer",
  "currency": "string",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Headers (200 OK)
x-page

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get balance

GET /odr/balance

Returns balance data

type: string 1
in query

(no description)

id: string 1
in query

(no description)

200 OK

The credit data

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string (uuid)",
  "key": {
    "entity_id": "string (uuid)",
    "entity_type": "string"
  },
  "balance": "integer",
  "currency": "string",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Headers (200 OK)
x-page

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

List records

GET /odr/balance/records

Returns a list of records

key_type: string 1
in query

(no description)

key_id: string 1
in query

(no description)

x-page: string 1
in header

the requested page id

x-page-size: string 25
in header

the requested page size

200 OK

The list of records

type
400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string (uuid)",
    "reference": {
      "entity_id": "string (uuid)",
      "entity_type": "string"
    },
    "description": "string",
    "amount": "integer",
    "created_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-page

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Providers

Get list of providers

GET /odr/providers

Returns a list of payment providers

200 OK

List of payment providers and their methods

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "name": "string",
    "code": "string",
    "is_active": "boolean",
    "is_configured": "boolean",
    "methods": [
      {
        "code": "string",
        "name": "string",
        "issuers": [
          {
            "code": "string",
            "name": "string",
            "metadata": "object"
          }
        ],
        "metadata": "object"
      }
    ]
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Transactions

List transactions

GET /odr/transactions

Returns list of transactions

entity_type: string
in query

(no description)

entity_id: string
in query

(no description)

x-page: string
in header

(no description)

The transactions

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "reference": {
      "entity_id": "string",
      "entity_type": "string"
    },
    "description": "string",
    "number": "string",
    "amount_due": "integer",
    "amount_paid": "integer",
    "currency": "string",
    "payments": [
      {
        "id": "string",
        "secret": "string",
        "amount": "integer",
        "provider_code": "string",
        "method_code": "string",
        "issuer_code": "string",
        "is_refund": "boolean",
        "is_pending": "boolean",
        "is_paid": "boolean",
        "is_authorized": "boolean",
        "is_captured": "boolean",
        "return_url": "string",
        "source_payment_id": "string",
        "metadata": "object",
        "paid_at": "string (date-time)",
        "created_at": "string (date-time)",
        "updated_at": "string (date-time)"
      }
    ],
    "metadata": "object",
    "purchase": {
      "contact_id": "string",
      "items": [
        {
          "sku": "string",
          "description": "string",
          "type": "string",
          "amount": "integer",
          "quantity": "integer",
          "vat_rate": "integer"
        }
      ]
    },
    "preset": {
      "method_code": "string",
      "issuer_code": "string",
      "provider_code": "string"
    },
    "secret": "string",
    "client_id": "string",
    "channel_id": "string (uuid)",
    "return_url": "string",
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Create a transaction

POST /odr/transactions

Creates a new transaction

Request Example
{
  "reference": {
    "entity_id": "string",
    "entity_type": "string"
  },
  "description": "string",
  "amount": "integer",
  "currency": "string",
  "metadata": "object",
  "purchase": {
    "contact_id": "string",
    "items": [
      {
        "sku": "string",
        "description": "string",
        "type": "string",
        "amount": "integer",
        "quantity": "integer",
        "vat_rate": "integer"
      }
    ]
  },
  "preset": {
    "method_code": "string",
    "issuer_code": "string",
    "provider_code": "string"
  },
  "return_url": "string",
  "client_id": "string",
  "channel_id": "string (uuid)"
}

The created transaction

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "reference": {
    "entity_id": "string",
    "entity_type": "string"
  },
  "description": "string",
  "number": "string",
  "amount_due": "integer",
  "amount_paid": "integer",
  "currency": "string",
  "payments": [
    {
      "id": "string",
      "secret": "string",
      "amount": "integer",
      "provider_code": "string",
      "method_code": "string",
      "issuer_code": "string",
      "is_refund": "boolean",
      "is_pending": "boolean",
      "is_paid": "boolean",
      "is_authorized": "boolean",
      "is_captured": "boolean",
      "return_url": "string",
      "source_payment_id": "string",
      "metadata": "object",
      "paid_at": "string (date-time)",
      "created_at": "string (date-time)",
      "updated_at": "string (date-time)"
    }
  ],
  "metadata": "object",
  "purchase": {
    "contact_id": "string",
    "items": [
      {
        "sku": "string",
        "description": "string",
        "type": "string",
        "amount": "integer",
        "quantity": "integer",
        "vat_rate": "integer"
      }
    ]
  },
  "preset": {
    "method_code": "string",
    "issuer_code": "string",
    "provider_code": "string"
  },
  "secret": "string",
  "client_id": "string",
  "channel_id": "string (uuid)",
  "return_url": "string",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get transaction information

GET /odr/transactions/{secret}

Returns the details of a transaction

secret: string
in path

(no description)

The transaction

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "reference": {
    "entity_id": "string",
    "entity_type": "string"
  },
  "description": "string",
  "number": "string",
  "amount_due": "integer",
  "amount_paid": "integer",
  "currency": "string",
  "payments": [
    {
      "id": "string",
      "secret": "string",
      "amount": "integer",
      "provider_code": "string",
      "method_code": "string",
      "issuer_code": "string",
      "is_refund": "boolean",
      "is_pending": "boolean",
      "is_paid": "boolean",
      "is_authorized": "boolean",
      "is_captured": "boolean",
      "return_url": "string",
      "source_payment_id": "string",
      "metadata": "object",
      "paid_at": "string (date-time)",
      "created_at": "string (date-time)",
      "updated_at": "string (date-time)"
    }
  ],
  "metadata": "object",
  "purchase": {
    "contact_id": "string",
    "items": [
      {
        "sku": "string",
        "description": "string",
        "type": "string",
        "amount": "integer",
        "quantity": "integer",
        "vat_rate": "integer"
      }
    ]
  },
  "preset": {
    "method_code": "string",
    "issuer_code": "string",
    "provider_code": "string"
  },
  "secret": "string",
  "client_id": "string",
  "channel_id": "string (uuid)",
  "return_url": "string",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Payments

Get list of available payment methods

GET /odr/methods

Returns a list of payment methods

200 OK

List of payment methods

type
400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "code": "string",
    "provider_code": "string",
    "name": "string",
    "label": "string",
    "is_prepaid": "boolean",
    "issuers": [
      {
        "code": "string",
        "name": "string",
        "metadata": "object"
      }
    ],
    "is_enabled": "boolean",
    "is_deferred": "boolean",
    "priority": "integer"
  }
]
Response Headers (200 OK)
x-page

The pagination cursor, use this token for the next page of results

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get method

GET /odr/methods/{provider_code}/{code}

Get single payment method

provider_code: string
in path

(no description)

code: string
in path

(no description)

200 OK

Payment method

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "code": "string",
  "provider_code": "string",
  "name": "string",
  "label": "string",
  "is_prepaid": "boolean",
  "issuers": [
    {
      "code": "string",
      "name": "string",
      "metadata": "object"
    }
  ],
  "is_enabled": "boolean",
  "is_deferred": "boolean",
  "priority": "integer"
}
Response Headers (200 OK)
x-page

The pagination cursor, use this token for the next page of results

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Mark paid

POST /odr/payments/{secret}/paid

Marks a payment as paid

secret: string
in path

(no description)

200 OK

The created transaction

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "secret": "string",
  "amount": "integer",
  "provider_code": "string",
  "method_code": "string",
  "issuer_code": "string",
  "is_refund": "boolean",
  "is_pending": "boolean",
  "is_paid": "boolean",
  "is_authorized": "boolean",
  "is_captured": "boolean",
  "return_url": "string",
  "source_payment_id": "string",
  "metadata": "object",
  "paid_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Add payment

POST /odr/transactions/{secret}/payments

Start a payment for a transaction

undefined

secret: string
in path

(no description)

Request Example
{
  "amount": "integer",
  "provider_code": "string",
  "method_code": "string",
  "issuer_code": "string",
  "metadata": "object",
  "return_url": "string"
}
200 OK

Payment information

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "secret": "string",
  "amount": "integer",
  "provider_code": "string",
  "method_code": "string",
  "issuer_code": "string",
  "is_refund": "boolean",
  "is_pending": "boolean",
  "is_paid": "boolean",
  "is_authorized": "boolean",
  "is_captured": "boolean",
  "return_url": "string",
  "source_payment_id": "string",
  "metadata": "object",
  "paid_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Create refund

POST /odr/transactions/{secret}/refunds

Create a refund for the given transaction

undefined

secret: string
in path

(no description)

Request Example
{
  "payment_id": "string",
  "amount": "integer"
}
200 OK

Payment information

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "secret": "string",
  "amount": "integer",
  "provider_code": "string",
  "method_code": "string",
  "issuer_code": "string",
  "is_refund": "boolean",
  "is_pending": "boolean",
  "is_paid": "boolean",
  "is_authorized": "boolean",
  "is_captured": "boolean",
  "return_url": "string",
  "source_payment_id": "string",
  "metadata": "object",
  "paid_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get list of available payment methods

GET /odr/transactions/{secret}/methods

Returns a list of payment methods available for the transaction

secret: string
in path

(no description)

200 OK

List of payment methods

type
400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "code": "string",
    "provider_code": "string",
    "name": "string",
    "label": "string",
    "is_prepaid": "boolean",
    "issuers": [
      {
        "code": "string",
        "name": "string",
        "metadata": "object"
      }
    ],
    "is_enabled": "boolean",
    "is_deferred": "boolean",
    "priority": "integer"
  }
]
Response Headers (200 OK)
x-page

The pagination cursor, use this token for the next page of results

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get live payment information

GET /odr/payments/{secret}

Returns the live details of a payment

secret: string
in path

(no description)

200 OK

The payment

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "is_paid": "boolean",
  "amount_paid": "integer",
  "action": "string",
  "url": "string",
  "attempts": [
    {
      "psp_reference": "string",
      "amount_paid": "integer",
      "started_at": "string (date-time)",
      "is_paid": "boolean",
      "is_expired": "boolean"
    }
  ]
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Start payment

GET /odr/payments/{secret}/start

Start a payment for a transaction at the provider

secret: string
in path

(no description)

204 No Content

Started transaction, use x-task-id to follow updates

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Headers (204 No Content)
x-task-id

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Execute payment

GET /odr/payments/{secret}/execute

Start a payment for a transaction at the provider

secret: string
in path

(no description)

204 No Content

Performed refund

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Session

Start a checkout session

POST /odr/sessions

start a checkout session

Request Example
{
  "expires_at": "string (datetime)",
  "audience": "string"
}

An id that is usable for the given session

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "expires_at": "string (datetime)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Returns the session expiry date

GET /odr/sessions/{id}

Returns the session expiry date

id: string
in path

(no description)

An id that is usable for the given session

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "expires_at": "string (datetime)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Authenticate a contact for the session

POST /odr/sessions/{id}/authenticate

Lets an user authenticate their contact through username and password

id: string
in path

(no description)

Request Example
{
  "email": "string",
  "password": "string"
}

successResponse

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string (uuid)",
  "email": "string",
  "given_name": "string",
  "additional_name": "string",
  "family_name": "string"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Authenticate a contact for the session

POST /odr/sessions/{id}/authenticated

set an authenticated user on a session

contact_id: string
id: string
in path

(no description)

Request Example
{
  "contact_id": "string"
}

successResponse

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string (uuid)",
  "email": "string",
  "given_name": "string",
  "additional_name": "string",
  "family_name": "string"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Attach an order to the session

PUT /odr/sessions/{id}/order

Lets an user authenticate their contact through username and password

id: string
in path

(no description)

Request Example
{
  "order_id": "string"
}

An id that is usable for the given session

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "order_id": "string"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get the order reference

GET /odr/sessions/{id}/reference

get the order reference

id: string
in path

(no description)

An id that is usable for the given session

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "reference": "string"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Set an reference on the order

PUT /odr/sessions/{id}/reference

set an reference on the order

id: string
in path

(no description)

Request Example
{
  "reference": "string"
}

An id that is usable for the given session

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "reference": "string"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Validate the existence of an identity

POST /odr/sessions/{id}/identity

Returns a 204 when the identity exists

id: string
in path

(no description)

Request Example
{
  "email": "string"
}
204 No Content

An id that is usable for the given session

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Add a contact phonenumber to the session

POST /odr/sessions/{id}/phonenumbers

Create a phonenumber

undefined

id: string
in path

(no description)

Request Example
{
  "country_code": "string",
  "number": "string"
}
202 Accepted

An id that is usable for the given session

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (202 Accepted)
{
  "id": "string (uuid)",
  "country_code": "string",
  "number": "string"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get the contact phonenumber

GET /odr/sessions/{id}/phonenumbers

Returns the primary phonenumber of the customer

id: string
in path

(no description)

200 OK

An id that is usable for the given session

type
object
400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "active": {
    "id": "string (uuid)",
    "country_code": "string",
    "number": "string"
  },
  "options": {
    "contact": {
      "primary": "#/definitions/OdrPhonenumber",
      "secondary": [
        "#/definitions/OdrPhonenumber"
      ]
    },
    "organisation": "#/definitions/OdrPhonenumberSet",
    "session": "#/definitions/OdrPhonenumberSet"
  }
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Select a phonenumber

PUT /odr/sessions/{id}/phonenumbers

select a phonenumber

id: string
in path

(no description)

Request Example
{
  "phone_number_id": "string",
  "contact": {
    "primary": "boolean",
    "secondary": "boolean"
  },
  "organisation": {
    "primary": "boolean"
  }
}
202 Accepted

An id that is usable for the given session

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (202 Accepted)
{
  "id": "string (uuid)",
  "country_code": "string",
  "number": "string"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Add a new contact to the session

POST /odr/sessions/{id}/contact

create a new contact and add it to the session

undefined

id: string
in path

(no description)

Request Example
{
  "email": "string",
  "given_name": "string",
  "additional_name": "string",
  "family_name": "string"
}
204 No Content

contact is created and added to the session

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get the current contact information

GET /odr/sessions/{id}/contact

Returns the contact information

id: string
in path

(no description)

An id that is usable for the given session

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string (uuid)",
  "version": "string (uuid)",
  "email": "string",
  "tags": [
    "string"
  ],
  "given_name": "string",
  "additional_name": "string",
  "family_name": "string",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get the price projection for the order

GET /odr/sessions/{id}/projection

Returns a projections for the session

id: string
in path

(no description)

An id that is usable for the given session

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "items": [
    {
      "reference": "string",
      "sku": "string",
      "description": "string",
      "type": "string",
      "amount": "integer",
      "is_discounted": "boolean",
      "quantity": "integer",
      "subtotal": "integer",
      "adjustments": [
        {
          "reference": "string",
          "description": "string",
          "amount": "number",
          "is_percentage": "boolean",
          "is_discount": "boolean",
          "result": {
            "is_applied_rule": "boolean",
            "rule_id": "string",
            "output": "integer"
          }
        }
      ],
      "vat_percentage": "integer",
      "total": "integer",
      "total_revenue": "integer",
      "order_items": [
        {
          "id": "string",
          "is_invoiced": "boolean",
          "invoice_id": "string (uuid)"
        }
      ]
    }
  ],
  "services": [
    {
      "description": "string",
      "type": "string",
      "amount": "number",
      "is_percentage": "boolean",
      "quantity": "integer",
      "subtotal": "integer",
      "adjustments": [
        {
          "reference": "string",
          "description": "string",
          "amount": "number",
          "is_percentage": "boolean",
          "is_discount": "boolean",
          "result": {
            "is_applied_rule": "boolean",
            "rule_id": "string (uuid)",
            "output": "integer"
          }
        }
      ],
      "vat_percentage": "integer",
      "total": "integer"
    }
  ],
  "subtotal": "integer",
  "adjustments": [
    "#/definitions/OdrSessionCalculationAdjustment"
  ],
  "total": "integer",
  "vat": [
    {
      "rate": "integer",
      "amount": "integer"
    }
  ],
  "currency": "string",
  "is_including_vat": "boolean",
  "is_vat_shifted": "boolean",
  "client_id": "string",
  "pricing_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get a calculation for the order

GET /odr/sessions/{id}/calculation

Returns a calculation for the session

id: string
in path

(no description)

An id that is usable for the given session

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string (uuid)",
  "number": "string",
  "reference": "string",
  "items": [
    {
      "reference": "string",
      "sku": "string",
      "description": "string",
      "type": "string",
      "amount": "integer",
      "is_discounted": "boolean",
      "quantity": "integer",
      "subtotal": "integer",
      "adjustments": [
        {
          "reference": "string",
          "description": "string",
          "amount": "number",
          "is_percentage": "boolean",
          "is_discount": "boolean",
          "result": {
            "is_applied_rule": "boolean",
            "rule_id": "string",
            "output": "integer"
          }
        }
      ],
      "vat_percentage": "integer",
      "total": "integer",
      "total_revenue": "integer",
      "order_items": [
        {
          "id": "string",
          "is_invoiced": "boolean",
          "invoice_id": "string (uuid)"
        }
      ]
    }
  ],
  "services": [
    {
      "description": "string",
      "type": "string",
      "amount": "number",
      "is_percentage": "boolean",
      "quantity": "integer",
      "subtotal": "integer",
      "adjustments": [
        {
          "reference": "string",
          "description": "string",
          "amount": "number",
          "is_percentage": "boolean",
          "is_discount": "boolean",
          "result": {
            "is_applied_rule": "boolean",
            "rule_id": "string (uuid)",
            "output": "integer"
          }
        }
      ],
      "vat_percentage": "integer",
      "total": "integer"
    }
  ],
  "subtotal": "integer",
  "adjustments": [
    "#/definitions/OdrSessionCalculationAdjustment"
  ],
  "total": "integer",
  "vat": [
    {
      "rate": "integer",
      "amount": "integer"
    }
  ],
  "settings": {
    "billing": {
      "method_code": "string",
      "issuer_code": "string",
      "provider_code": "string",
      "vat": {
        "is_shift_disabled": "boolean",
        "is_shift_required": "boolean"
      }
    },
    "shipping": {
      "method_id": "string (uuid)"
    }
  },
  "currency": "string",
  "customer": {
    "tags": [
      "string"
    ],
    "vat_country_code": "string",
    "contact": {
      "email": "string",
      "vat_number": "string",
      "coc_number": "string",
      "organisation_id": "string",
      "organisation_version": "string",
      "address_id": "string",
      "phone_number_id": "string"
    }
  }
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Authorize the session calculation

POST /odr/sessions/{id}/authorize

authorize session and continue to payment

id: string
in path

(no description)

Request Example
{
  "calculation_id": "string (uuid)"
}

the authorize response

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "accepted": "boolean",
  "forward_uri": "string (url)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Set billing address

PUT /odr/sessions/{id}/billing

set the shipping address used for the session

id: string
in path

(no description)

Request Example
{
  "address_id": "string",
  "contact": {
    "primary": "boolean",
    "secondary": "boolean"
  },
  "organisation": {
    "primary": "boolean"
  }
}
200 OK

An id that is usable for the given session

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "country_code": "string",
  "administrative_area": "string",
  "locality": "string",
  "dependent_locality": "string",
  "postal_code": "string",
  "sorting_code": "string",
  "address_line_1": "string",
  "address_line_2": "string",
  "thoroughfare": "string",
  "premise_number": "integer",
  "premise_number_suffix": "string",
  "organisation": "string",
  "given_name": "string",
  "additional_name": "string",
  "family_name": "string"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get billing address

GET /odr/sessions/{id}/billing

Returns a list of applicable shipping methods

id: string
in path

(no description)

200 OK

An id that is usable for the given session

type
object
400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "active": {
    "id": "string",
    "country_code": "string",
    "administrative_area": "string",
    "locality": "string",
    "dependent_locality": "string",
    "postal_code": "string",
    "sorting_code": "string",
    "address_line_1": "string",
    "address_line_2": "string",
    "thoroughfare": "string",
    "premise_number": "integer",
    "premise_number_suffix": "string",
    "organisation": "string",
    "given_name": "string",
    "additional_name": "string",
    "family_name": "string"
  },
  "options": {
    "contact": {
      "primary": "#/definitions/OdrAddress",
      "secondary": [
        "#/definitions/OdrAddress"
      ]
    },
    "organisation": "#/definitions/OdrAddressSet",
    "session": "#/definitions/OdrAddressSet"
  }
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Create address

POST /odr/sessions/{id}/address

Create a address

undefined

id: string
in path

(no description)

Request Example
{
  "country_code": "string",
  "administrative_area": "string",
  "locality": "string",
  "dependent_locality": "string",
  "postal_code": "string",
  "sorting_code": "string",
  "address_line_1": "string",
  "address_line_2": "string",
  "thoroughfare": "string",
  "premise_number": "integer",
  "premise_number_suffix": "string",
  "organisation": "string",
  "given_name": "string",
  "additional_name": "string",
  "family_name": "string"
}
202 Accepted

An id that is usable for the given session

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (202 Accepted)
{
  "id": "string",
  "country_code": "string",
  "administrative_area": "string",
  "locality": "string",
  "dependent_locality": "string",
  "postal_code": "string",
  "sorting_code": "string",
  "address_line_1": "string",
  "address_line_2": "string",
  "thoroughfare": "string",
  "premise_number": "integer",
  "premise_number_suffix": "string",
  "organisation": "string",
  "given_name": "string",
  "additional_name": "string",
  "family_name": "string"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Set shipping method

PUT /odr/sessions/{id}/shipping/methods

select the used shipping method

id: string
in path

(no description)

Request Example
{
  "is_split_allowed": "boolean",
  "method_id": "string (uuid)"
}

An id that is usable for the given session

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "is_split_allowed": "boolean",
  "method_id": "string (uuid)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get shipping method

GET /odr/sessions/{id}/shipping/methods

Returns a list of known shipping addresses

id: string
in path

(no description)

country_code: string
in query

(no description)

200 OK

An id that is usable for the given session

type
object
400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "active": {
    "is_split_allowed": "boolean",
    "method_id": "string (uuid)"
  },
  "options": [
    {
      "id": "string",
      "carrier": "string",
      "name": "string",
      "type": "string",
      "price": "number"
    }
  ]
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Set shipping window

PUT /odr/sessions/{id}/shipping/window

select the used shipping window

id: string
in path

(no description)

Request Example
{
  "from": "integer",
  "to": "integer",
  "at": "string (date)"
}

An id that is usable for the given session

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "from": "integer",
  "to": "integer",
  "at": "string (date)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get shipping window

GET /odr/sessions/{id}/shipping/window

Returns a list of known shipping addresses

id: string
in path

(no description)

200 OK

An id that is usable for the given session

type
object
400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "active": {
    "from": "integer",
    "to": "integer",
    "at": "string (date)"
  },
  "options": [
    "#/definitions/OdrSelectSessionShippingWindowResponse"
  ]
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Set shipping point

PUT /odr/sessions/{id}/shipping/point

select the used shipping method

id: string
in path

(no description)

Request Example
{
  "spid": "string",
  "country_code": "string"
}

An id that is usable for the given session

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "spid": "string",
  "country_code": "string"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get shipping point

GET /odr/sessions/{id}/shipping/point

Returns a list of known shipping addresses

id: string
in path

(no description)

country_code: string
in query

the country used to select shipping points

method_id: string
in query

method_id

postal_code: string
in query

prefiled with the postal_code of the primary address

200 OK

An id that is usable for the given session

type
object
400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "active": {
    "spid": "string",
    "country_code": "string"
  },
  "options": [
    {
      "distance": "number",
      "point": {
        "id": "string",
        "name": "string",
        "carrier": "string",
        "latitude": "number (float64)",
        "longtitude": "number (float64)",
        "address": {
          "id": "string",
          "country_code": "string",
          "administrative_area": "string",
          "locality": "string",
          "dependent_locality": "string",
          "postal_code": "string",
          "sorting_code": "string",
          "address_line_1": "string",
          "address_line_2": "string",
          "thoroughfare": "string",
          "premise_number": "integer",
          "premise_number_suffix": "string",
          "organisation": "string",
          "given_name": "string",
          "additional_name": "string",
          "family_name": "string"
        },
        "openings": [
          {
            "weekday": "number",
            "windows": [
              {
                "start": "string",
                "end": "string"
              }
            ]
          }
        ]
      }
    }
  ]
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Set shipping address

PUT /odr/sessions/{id}/shipping

Select a billing address

id: string
in path

(no description)

Request Example
{
  "address_id": "string",
  "contact": {
    "primary": "boolean",
    "secondary": "boolean"
  },
  "organisation": {
    "primary": "boolean"
  }
}
200 OK

An id that is usable for the given session

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "country_code": "string",
  "administrative_area": "string",
  "locality": "string",
  "dependent_locality": "string",
  "postal_code": "string",
  "sorting_code": "string",
  "address_line_1": "string",
  "address_line_2": "string",
  "thoroughfare": "string",
  "premise_number": "integer",
  "premise_number_suffix": "string",
  "organisation": "string",
  "given_name": "string",
  "additional_name": "string",
  "family_name": "string"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get shipping address

GET /odr/sessions/{id}/shipping

RReturns the shipping address and available options

id: string
in path

(no description)

200 OK

An id that is usable for the given session

type
object
400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "active": {
    "id": "string",
    "country_code": "string",
    "administrative_area": "string",
    "locality": "string",
    "dependent_locality": "string",
    "postal_code": "string",
    "sorting_code": "string",
    "address_line_1": "string",
    "address_line_2": "string",
    "thoroughfare": "string",
    "premise_number": "integer",
    "premise_number_suffix": "string",
    "organisation": "string",
    "given_name": "string",
    "additional_name": "string",
    "family_name": "string"
  },
  "options": {
    "contact": {
      "primary": "#/definitions/OdrAddress",
      "secondary": [
        "#/definitions/OdrAddress"
      ]
    },
    "organisation": "#/definitions/OdrAddressSet",
    "session": "#/definitions/OdrAddressSet"
  }
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Set billing method

PUT /odr/sessions/{id}/billing/methods

Select billing method

id: string
in path

(no description)

Request Example
{
  "method_id": "string",
  "issuer_id": "string"
}

An id that is usable for the given session

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "method_id": "string",
  "issuer_id": "string"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get billing method

GET /odr/sessions/{id}/billing/methods

Returns a list of known shipping addresses

id: string
in path

(no description)

200 OK

An id that is usable for the given session

type
object
400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "acitve": {
    "method_id": "string",
    "issuer_id": "string"
  },
  "options": [
    {
      "method_id": "string",
      "name": "string",
      "issuers": [
        {
          "method_id": "string",
          "name": "string",
          "metadata": "object"
        }
      ],
      "metadata": "object"
    }
  ]
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Set organisation

PUT /odr/sessions/{id}/organisations

Select an organisation

id: string
in path

(no description)

Request Example
{
  "organisation_id": "string (uuid)"
}

organisation selected

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string (uuid)",
  "name": "string",
  "coc_number": "string",
  "registrations": [
    {
      "country_code": "string",
      "number": "string",
      "is_valid": "boolean",
      "is_pending": "boolean"
    }
  ]
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Create organisation

POST /odr/sessions/{id}/organisations

create an organisation

undefined

id: string
in path

(no description)

Request Example
{
  "name": "string",
  "coc_number": "string",
  "registrations": [
    {
      "country_code": "string",
      "number": "string"
    }
  ]
}

organisation created

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string (uuid)",
  "name": "string",
  "coc_number": "string",
  "registrations": [
    {
      "country_code": "string",
      "number": "string",
      "is_valid": "boolean",
      "is_pending": "boolean"
    }
  ]
}
Response Headers (200 OK)
x-task-id

id to track the vat verification status

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get organisation

GET /odr/sessions/{id}/organisations

get the current organisation information

id: string
in path

(no description)

200 OK

An id that is usable for the given session

type
object
400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "active": {
    "id": "string (uuid)",
    "name": "string",
    "coc_number": "string",
    "registrations": [
      {
        "country_code": "string",
        "number": "string",
        "is_valid": "boolean",
        "is_pending": "boolean"
      }
    ]
  },
  "options": {
    "primary": "#/definitions/OdrOrganisation",
    "secondary": [
      "#/definitions/OdrOrganisation"
    ]
  }
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Remove active organisaton

DELETE /odr/sessions/{id}/organisations

removes the current selected organisation from the session

id: string
in path

(no description)

204 No Content

if the organisation successfully is removed from the session

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Profielen

Profile

Profiles create the ability to create and use shareable configurations to enhance user experience,
Defintions that match over multiple profiles are interchangeable and thus results in the user having to fill in less duplicate configurations. For example we have several services using 3rd party credentials the user is only required to insert these once. Profiles can also be used to store user preferences within the application itself.

Upsert new a profile definition

PUT /iam/profiles/{path}/announce

Announce an new profile

Announce a profile definition for a given path

path: string
in path

the key we want to register

Request Example
"object"
200 OK

success repsonse with the posted definition

type
object
400 Bad Request

invalid request

401 Unauthorized

invalid JWT

403 Forbidden

invalid namescape

404 Not Found

Not found

409 Conflict

conflicted schema detected

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Content-Types: application/json
Response Example (200 OK)
"object"
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (409 Conflict)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get the definition for a profile

GET /iam/profiles/{path}/definition

Announce new profiles

path: string
in path

the key we want to register

200 OK

success repsonse with information about the service

type
object
400 Bad Request

invalid request

401 Unauthorized

Unauthorized

403 Forbidden

insufficient scopes

404 Not Found

definition not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Content-Types: application/json
Response Example (200 OK)
"object"
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Update the profile's content

PUT /iam/profiles/{path}

Update the profile content

update a profile

path: string
in path

The correlationID of a configuration where we are updating the configuration off

channel_id: string (uuid)
in query

the channel_id to resolve the channel in the path for

Request Example
"object"
200 OK

success repsonse with information about the service

type
object
400 Bad Request

invalid request

type
401 Unauthorized

invalid JWT

type
403 Forbidden

invalid namescape

type
404 Not Found

Not found

409 Conflict

conflicted schema detected

type
500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Content-Types: application/json
Response Example (200 OK)
"object"
Response Example (400 Bad Request)
[
  {
    "code": "integer",
    "message": "string",
    "reference": "string",
    "errors": {
      "invalid value": [
        "property1"
      ],
      "required": [
        "property2"
      ]
    }
  }
]
Response Example (401 Unauthorized)
[
  {
    "code": "integer",
    "message": "string",
    "reference": "string",
    "errors": {
      "invalid value": [
        "property1"
      ],
      "required": [
        "property2"
      ]
    }
  }
]
Response Example (403 Forbidden)
[
  {
    "code": "integer",
    "message": "string",
    "reference": "string",
    "errors": {
      "invalid value": [
        "property1"
      ],
      "required": [
        "property2"
      ]
    }
  }
]
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (409 Conflict)
[
  {
    "code": "integer",
    "message": "string",
    "reference": "string",
    "errors": {
      "invalid value": [
        "property1"
      ],
      "required": [
        "property2"
      ]
    }
  }
]
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get all the profiles that match the path

GET /iam/profiles/{path}

Get the profiles by its key

path: string
in path

The correlationID of a configuration where we are updating the configuration off

channel_id: string (uuid)
in query

the channel_id to resolve the channel in the path for

200 OK

success repsonse with information about the service

type
object
204 No Content

a schema exists, yet there is no profile posted

type
object
206 Partial Content

there are several schema's available, yet not all have data

type
object
400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

you dont have the correct permissions to view this profile

type
404 Not Found

invalid namescape

type
500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Content-Types: application/json
Response Example (200 OK)
"object"
Response Example (204 No Content)
"object"
Response Example (206 Partial Content)
"object"
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
[
  {
    "code": "integer",
    "message": "string",
    "reference": "string",
    "errors": {
      "invalid value": [
        "property1"
      ],
      "required": [
        "property2"
      ]
    }
  }
]
Response Example (404 Not Found)
[
  {
    "code": "integer",
    "message": "string",
    "reference": "string",
    "errors": {
      "invalid value": [
        "property1"
      ],
      "required": [
        "property2"
      ]
    }
  }
]
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Quicq

Proxy

Get the proxy configuration

GET /qcq/proxies

Returns the proxy configuration

200 OK

Proxy configuration

type
400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "key": "string",
    "routes": [
      {
        "path": "string",
        "origin": {
          "is_bucket": "boolean",
          "uri": "string"
        },
        "settings": {
          "cache": {
            "is_as_origin": "boolean",
            "is_public": "boolean",
            "age": "integer"
          },
          "auth": {
            "is_required": "boolean",
            "scope": "string"
          }
        }
      }
    ],
    "auth": {
      "signature": {
        "secret": "string",
        "auth": "#/definitions/QcqAuthConfig",
        "cache": "#/definitions/QcqCacheConfig"
      }
    },
    "oauth": {
      "issuer": "string",
      "client_id": "string",
      "authorize_url": "string",
      "return_url_key": "string"
    },
    "tenant_id": "string",
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Create a new proxy

POST /qcq/proxies

Add a new proxy configuration

undefined

Request Content-Types: application/json
Request Example
{
  "key": "string",
  "routes": [
    {
      "path": "string",
      "origin": {
        "is_bucket": "boolean",
        "uri": "string"
      },
      "settings": {
        "cache": {
          "is_as_origin": "boolean",
          "is_public": "boolean",
          "age": "integer"
        },
        "auth": {
          "is_required": "boolean",
          "scope": "string"
        }
      }
    }
  ],
  "auth": {
    "signature": {
      "secret": "string",
      "auth": "#/definitions/QcqAuthConfig",
      "cache": "#/definitions/QcqCacheConfig"
    }
  },
  "oauth": {
    "issuer": "string",
    "client_id": "string",
    "authorize_url": "string",
    "return_url_key": "string"
  }
}
200 OK

The proxy data

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Content-Types: application/json
Response Example (200 OK)
{
  "key": "string",
  "routes": [
    {
      "path": "string",
      "origin": {
        "is_bucket": "boolean",
        "uri": "string"
      },
      "settings": {
        "cache": {
          "is_as_origin": "boolean",
          "is_public": "boolean",
          "age": "integer"
        },
        "auth": {
          "is_required": "boolean",
          "scope": "string"
        }
      }
    }
  ],
  "auth": {
    "signature": {
      "secret": "string",
      "auth": "#/definitions/QcqAuthConfig",
      "cache": "#/definitions/QcqCacheConfig"
    }
  },
  "oauth": {
    "issuer": "string",
    "client_id": "string",
    "authorize_url": "string",
    "return_url_key": "string"
  },
  "tenant_id": "string",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get the proxy configuration

GET /qcq/proxies/{key}

Returns the proxy configuration

key: string
in path

(no description)

200 OK

Proxy configuration

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "key": "string",
  "routes": [
    {
      "path": "string",
      "origin": {
        "is_bucket": "boolean",
        "uri": "string"
      },
      "settings": {
        "cache": {
          "is_as_origin": "boolean",
          "is_public": "boolean",
          "age": "integer"
        },
        "auth": {
          "is_required": "boolean",
          "scope": "string"
        }
      }
    }
  ],
  "auth": {
    "signature": {
      "secret": "string",
      "auth": "#/definitions/QcqAuthConfig",
      "cache": "#/definitions/QcqCacheConfig"
    }
  },
  "oauth": {
    "issuer": "string",
    "client_id": "string",
    "authorize_url": "string",
    "return_url_key": "string"
  },
  "tenant_id": "string",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Update the proxy configuration

PUT /qcq/proxies/{key}

Updates the proxy

key: string
in path

(no description)

Request Content-Types: application/json
Request Example
{
  "routes": [
    {
      "path": "string",
      "origin": {
        "is_bucket": "boolean",
        "uri": "string"
      },
      "settings": {
        "cache": {
          "is_as_origin": "boolean",
          "is_public": "boolean",
          "age": "integer"
        },
        "auth": {
          "is_required": "boolean",
          "scope": "string"
        }
      }
    }
  ],
  "auth": {
    "signature": {
      "secret": "string",
      "auth": "#/definitions/QcqAuthConfig",
      "cache": "#/definitions/QcqCacheConfig"
    }
  },
  "oauth": {
    "issuer": "string",
    "client_id": "string",
    "authorize_url": "string",
    "return_url_key": "string"
  }
}
200 OK

The signature data

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Content-Types: application/json
Response Example (200 OK)
{
  "key": "string",
  "routes": [
    {
      "path": "string",
      "origin": {
        "is_bucket": "boolean",
        "uri": "string"
      },
      "settings": {
        "cache": {
          "is_as_origin": "boolean",
          "is_public": "boolean",
          "age": "integer"
        },
        "auth": {
          "is_required": "boolean",
          "scope": "string"
        }
      }
    }
  ],
  "auth": {
    "signature": {
      "secret": "string",
      "auth": "#/definitions/QcqAuthConfig",
      "cache": "#/definitions/QcqCacheConfig"
    }
  },
  "oauth": {
    "issuer": "string",
    "client_id": "string",
    "authorize_url": "string",
    "return_url_key": "string"
  },
  "tenant_id": "string",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Spooler

Printers

List the hooked printers

GET /spl/printers

Returns a list of active printers

hub_id: string
in query

ID of hub to filter for

inbox_id: string
in query

ID of inbox to filter for

200 OK

Printer list

type
400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "name": "string",
    "hub_id": "string",
    "default_encoding": "string",
    "connection": {
      "interface": "string",
      "address": "string"
    },
    "settings": "object",
    "inbox_id": "string",
    "disabled_at": "string (date-time)",
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Add a printer

POST /spl/printers

Add a new printer

The new printer

Request Example
{
  "name": "string",
  "hub_id": "string",
  "default_encoding": "string",
  "timezone": "string",
  "connection": {
    "interface": "string",
    "address": "string"
  },
  "settings": "object"
}
200 OK

The created printer

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Hub not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "name": "string",
  "hub_id": "string",
  "default_encoding": "string",
  "connection": {
    "interface": "string",
    "address": "string"
  },
  "settings": "object",
  "inbox_id": "string",
  "disabled_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get the printer

GET /spl/printers/{id}

Returns a single printer

id: string
in path

ID of printer to return

200 OK

Printer information

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Printer not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "name": "string",
  "hub_id": "string",
  "default_encoding": "string",
  "connection": {
    "interface": "string",
    "address": "string"
  },
  "settings": "object",
  "inbox_id": "string",
  "disabled_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Update a printer

PUT /spl/printers/{id}

Update a printer to a new configuration

The new printer configuration

id: string
in path

ID of printer to update

Request Example
{
  "name": "string",
  "hub_id": "string",
  "default_encoding": "string",
  "timezone": "string",
  "connection": {
    "interface": "string",
    "address": "string"
  },
  "settings": "object"
}
200 OK

Printer updated

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Printer or hub not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "name": "string",
  "hub_id": "string",
  "default_encoding": "string",
  "connection": {
    "interface": "string",
    "address": "string"
  },
  "settings": "object",
  "inbox_id": "string",
  "disabled_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Deletes a printer

DELETE /spl/printers/{id}

Disables a printer

id: string
in path

ID of printer to delete

200 OK

Printer deleted

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Printer not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "name": "string",
  "hub_id": "string",
  "default_encoding": "string",
  "connection": {
    "interface": "string",
    "address": "string"
  },
  "settings": "object",
  "inbox_id": "string",
  "disabled_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Attach an inbox to the printer

PUT /spl/printers/{id}/inbox

Update a printer to a new configuration

The new printer configuration

id: string
in path

ID of printer to attach the inbox to

Request Example
{
  "inbox_id": "string"
}
200 OK

Printer updated

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Printer or hub not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "name": "string",
  "hub_id": "string",
  "default_encoding": "string",
  "connection": {
    "interface": "string",
    "address": "string"
  },
  "settings": "object",
  "inbox_id": "string",
  "disabled_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Settings

Get schema

GET /spl/settings/printers/{type}

Returns schema of settings

type: string escpos, zpl, pcl
in path

(no description)

Printer settings json schema

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "type": "string",
  "schema": "string"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Hubs

List the hubs

GET /spl/hubs

Returns the hub list

200 OK

The list of the currently active hubs

type
400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "uuid": "string",
    "name": "string",
    "description": "string",
    "properties": [
      {
        "key": "string",
        "value": "string"
      }
    ],
    "status": "string",
    "status_updated_at": "string (date-time)",
    "disabled_at": "string (date-time)",
    "pubnub": {
      "tokens": [
        {
          "key": "string",
          "expires_at": "string (date-time)"
        }
      ]
    },
    "integration": {
      "id": "string"
    },
    "os_file_id": "string",
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Create a new hub

POST /spl/hubs

Creates a new hub

The new hub

Request Example
{
  "name": "string",
  "description": "string"
}
200 OK

The newly created hub

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "uuid": "string",
  "name": "string",
  "description": "string",
  "properties": [
    {
      "key": "string",
      "value": "string"
    }
  ],
  "status": "string",
  "status_updated_at": "string (date-time)",
  "disabled_at": "string (date-time)",
  "pubnub": {
    "tokens": [
      {
        "key": "string",
        "expires_at": "string (date-time)"
      }
    ]
  },
  "integration": {
    "id": "string"
  },
  "os_file_id": "string",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get the hub

GET /spl/hubs/{id}

Returns the hub

id: string
in path

ID of hub to return

200 OK

The selected hub

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "uuid": "string",
  "name": "string",
  "description": "string",
  "properties": [
    {
      "key": "string",
      "value": "string"
    }
  ],
  "status": "string",
  "status_updated_at": "string (date-time)",
  "disabled_at": "string (date-time)",
  "pubnub": {
    "tokens": [
      {
        "key": "string",
        "expires_at": "string (date-time)"
      }
    ]
  },
  "integration": {
    "id": "string"
  },
  "os_file_id": "string",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Update a hub

PUT /spl/hubs/{id}

Update the hub to new hub settings

The updated hub data

id: string
in path

ID of hub to update

Request Example
{
  "name": "string",
  "description": "string"
}
200 OK

Hub updated

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "uuid": "string",
  "name": "string",
  "description": "string",
  "properties": [
    {
      "key": "string",
      "value": "string"
    }
  ],
  "status": "string",
  "status_updated_at": "string (date-time)",
  "disabled_at": "string (date-time)",
  "pubnub": {
    "tokens": [
      {
        "key": "string",
        "expires_at": "string (date-time)"
      }
    ]
  },
  "integration": {
    "id": "string"
  },
  "os_file_id": "string",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Deletes a hub

DELETE /spl/hubs/{id}
id: string
in path

ID of hub to delete

200 OK

Hub was disabled, old hub is returned

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "uuid": "string",
  "name": "string",
  "description": "string",
  "properties": [
    {
      "key": "string",
      "value": "string"
    }
  ],
  "status": "string",
  "status_updated_at": "string (date-time)",
  "disabled_at": "string (date-time)",
  "pubnub": {
    "tokens": [
      {
        "key": "string",
        "expires_at": "string (date-time)"
      }
    ]
  },
  "integration": {
    "id": "string"
  },
  "os_file_id": "string",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get the hub status

GET /spl/hubs/{id}/status

Returns the hub information

id: string
in path

ID of hub to look for

200 OK

Live hub status

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "is_online": "boolean",
  "is_idle": "boolean",
  "location": "string",
  "network": {
    "ip_address": "string",
    "remote_ip_address": "string",
    "last_connected_at": "string (date-time)"
  },
  "image": {
    "is_up_to_date": "boolean",
    "download_progress": "integer",
    "version": "string"
  }
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

List the network information

GET /spl/hubs/{id}/network

Returns the hub network list

id: integer
in path

ID of hub to add a token for

The list of network's devices for the given hub

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "description": "string",
    "mac_address": "string",
    "interface": {
      "interface": "string",
      "address": "string"
    },
    "created_at": "string (date-time)"
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Set the network information

PUT /spl/hubs/{id}/network

Updates the hub network

The new hub

SplCreateNetworkDevice
id: integer
in path

ID of hub to update network information for

Request Example
[
  {
    "description": "string",
    "mac_address": "string",
    "interface": {
      "interface": "string",
      "address": "string"
    }
  }
]

The new network information

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "description": "string",
    "mac_address": "string",
    "interface": {
      "interface": "string",
      "address": "string"
    },
    "created_at": "string (date-time)"
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

List the logs

GET /spl/hubs/{id}/logs

Returns the hub log list

id: integer
in path

ID of hub to add a token for

x-page: string
in header

(no description)

x-page-size: integer
in header

(no description)

200 OK

The list of the unresolved logs for the given hub

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "message": "string",
    "level": "string",
    "is_resolved": "boolean",
    "job_reference": "string",
    "hub_id": "string",
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-page

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Log a new hub error

POST /spl/hubs/{id}/logs

Adds a new logged error for the hub

The new hub

id: string
in path

Id of hub to add a log for

Request Example
{
  "message": "string",
  "level": "string",
  "job_reference": "string"
}
200 OK

The added log

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "message": "string",
  "level": "string",
  "is_resolved": "boolean",
  "job_reference": "string",
  "hub_id": "string",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get the hub by uuid

GET /spl/hubs/{id}/uuid

Returns the hub

id: string
in path

The UUID of the hub to return

200 OK

The selected hub

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "uuid": "string",
  "name": "string",
  "description": "string",
  "properties": [
    {
      "key": "string",
      "value": "string"
    }
  ],
  "status": "string",
  "status_updated_at": "string (date-time)",
  "disabled_at": "string (date-time)",
  "pubnub": {
    "tokens": [
      {
        "key": "string",
        "expires_at": "string (date-time)"
      }
    ]
  },
  "integration": {
    "id": "string"
  },
  "os_file_id": "string",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Queue

Get job history for account

GET /spl/queue

Filter with a single value (multiple is not supported)

status: string printed, scheduled, received, failed, cancelled scheduled
in query

Status values that need to be considered for filter

printer_id: string
in query

The printer id that we want to filter

tag: string
in query

The tag id that we want to filter for

x-page: string
in header

The page token

x-page-size: string
in header

The amount of results for the page

200 OK

Job list

type
400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "job": "string",
    "tag": "string",
    "description": "string",
    "artifact": "string",
    "reference": "string",
    "status": "string",
    "hub_id": "string",
    "schedule_at": "string (date-time)",
    "printed_at": "string (date-time)",
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-page

The pagination cursor, use this token for the next page of results

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Add a job for a printer

POST /spl/queue

The new print job

Request Example
{
  "job": "string",
  "tag": "string",
  "description": "string",
  "reference": "string",
  "hub_id": "string",
  "schedule_at": "string (date-time)"
}
200 OK

Job received

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Printer not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "job": "string",
  "tag": "string",
  "description": "string",
  "artifact": "string",
  "reference": "string",
  "status": "string",
  "hub_id": "string",
  "schedule_at": "string (date-time)",
  "printed_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get the status for a printjob

GET /spl/queue/{reference}

Retrieve printjob status

reference: string
in path

The id of the job that we look for, returned when job is pushed to queue

200 OK

Job data

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Job not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "job": "string",
  "tag": "string",
  "description": "string",
  "artifact": "string",
  "reference": "string",
  "status": "string",
  "hub_id": "string",
  "schedule_at": "string (date-time)",
  "printed_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Set a job to a new status

PUT /spl/queue/{reference}

The new print job

reference: string
in path

The id of the job that we look for, returned when job is pushed to queue

Request Example
{
  "status": "string",
  "changed_at": "string (date-time)"
}
201 Created

Status updated

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Job not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (201 Created)
{
  "reference": "string",
  "status": "string"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Theme service

Templates

List repositories

GET /tpl/templates/repositories

Returns a list of available repositories

secret: string
in query

(no description)

x-page: string
in header

(no description)

x-page-size: string
in header

(no description)

200 OK

List of repositories

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "integer",
    "name": "string",
    "is_private": "boolean",
    "installer": {
      "username": "string",
      "type": "string"
    },
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-page

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

View repository

GET /tpl/templates/repositories/{id}

View a single repository

id: string
in path

(no description)

secret: string
in query

(no description)

200 OK

A single repository

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "integer",
  "name": "string",
  "is_private": "boolean",
  "installer": {
    "username": "string",
    "type": "string"
  },
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

List builds

GET /tpl/templates/repositories/{id}/builds

List a single repository's builds

id: string
in path

(no description)

secret: string
in query

(no description)

x-page: string
in header

(no description)

x-page-size: string
in header

(no description)

200 OK

A single repository

type
400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "integer",
    "git_reference": {
      "type": "string",
      "tag": {
        "value": "string"
      },
      "branch": {
        "name": "string",
        "commit_sha": "string"
      }
    },
    "is_success": "boolean",
    "errors": [
      {
        "message": "string"
      }
    ],
    "started_at": "string (date-time)",
    "ended_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-page

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get build

GET /tpl/templates/builds/{id}

List a single build

id: string
in path

(no description)

200 OK

A single build

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "integer",
  "git_reference": {
    "type": "string",
    "tag": {
      "value": "string"
    },
    "branch": {
      "name": "string",
      "commit_sha": "string"
    }
  },
  "is_success": "boolean",
  "errors": [
    {
      "message": "string"
    }
  ],
  "started_at": "string (date-time)",
  "ended_at": "string (date-time)"
}
Response Headers (200 OK)
x-page

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Themes

List themes

GET /tpl/templates/themes

Returns a list of themes

x-page: string
in header

(no description)

x-page-size: string
in header

(no description)

200 OK

List of Pick lists

type
400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string (uuid)",
    "name": "string",
    "repository_id": "integer",
    "secret": "string",
    "git_reference": {
      "type": "string",
      "tag": {
        "value": "string"
      },
      "branch": {
        "name": "string",
        "commit_sha": "string"
      }
    },
    "active_build": {
      "id": "integer",
      "repository_id": "integer",
      "git_reference": "#/definitions/TplGitReference"
    },
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-count

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Add theme

POST /tpl/templates/themes

Add a theme

Request Example
{
  "name": "string",
  "repository_id": "integer",
  "secret": "string",
  "git_reference": {
    "type": "string",
    "tag": {
      "value": "string"
    },
    "branch": {
      "name": "string",
      "commit_sha": "string"
    }
  }
}
200 OK

The newly created shipment

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string (uuid)",
  "name": "string",
  "repository_id": "integer",
  "secret": "string",
  "git_reference": {
    "type": "string",
    "tag": {
      "value": "string"
    },
    "branch": {
      "name": "string",
      "commit_sha": "string"
    }
  },
  "active_build": {
    "id": "integer",
    "repository_id": "integer",
    "git_reference": "#/definitions/TplGitReference"
  },
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

View theme

GET /tpl/templates/themes/{id}

Returns a list of themes

id: string
in path

(no description)

200 OK

List of Pick lists

type
400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string (uuid)",
    "name": "string",
    "repository_id": "integer",
    "secret": "string",
    "git_reference": {
      "type": "string",
      "tag": {
        "value": "string"
      },
      "branch": {
        "name": "string",
        "commit_sha": "string"
      }
    },
    "active_build": {
      "id": "integer",
      "repository_id": "integer",
      "git_reference": "#/definitions/TplGitReference"
    },
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-count

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Update theme

PUT /tpl/templates/themes/{id}

Update a theme

id: string
in path

(no description)

Request Example
{
  "name": "string",
  "secret": "string",
  "git_reference": {
    "type": "string",
    "tag": {
      "value": "string"
    },
    "branch": {
      "name": "string",
      "commit_sha": "string"
    }
  }
}
200 OK

The newly created shipment

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string (uuid)",
  "name": "string",
  "repository_id": "integer",
  "secret": "string",
  "git_reference": {
    "type": "string",
    "tag": {
      "value": "string"
    },
    "branch": {
      "name": "string",
      "commit_sha": "string"
    }
  },
  "active_build": {
    "id": "integer",
    "repository_id": "integer",
    "git_reference": "#/definitions/TplGitReference"
  },
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Usage

Usage

Get a list of records

GET /iam/records

Returns a list of records

x-page: string
in header

(no description)

x-page-size: string
in header

(no description)

List configuration

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "reference": "string",
    "code": "string",
    "unit": "string",
    "quantity": "integer",
    "processable_as": "string",
    "tracked_at": "string (date-time)",
    "created_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-page

undefined

string
x-count

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get a usage report

POST /iam/report

Returns a set of usage records for given query

Report request object

page_size: integer
in query

(no description)

page: integer
in query

(no description)

Request Example
{
  "interval": "string",
  "code": "string",
  "unit": "string",
  "as": "string",
  "filter": "string",
  "keys": [
    "string"
  ],
  "start_at": "string (date-time)",
  "end_at": "string (date-time)"
}
200 OK

The reporting data

type
400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "interval": "string",
    "code": "string",
    "unit": "string",
    "as": "string",
    "filter": "string",
    "start_at": "string (date-time)",
    "end_at": "string (date-time)",
    "buckets": [
      {
        "date": "string (date-time)",
        "quantity": "integer",
        "filter_key": "string",
        "filter_value": "string"
      }
    ]
  }
]
Response Headers (200 OK)
x-count

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get a list of types

GET /iam/types

Returns a list of types

200 OK

List configuration

type
400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "code": "string",
    "unit": "string",
    "processable_as": "string",
    "filter": "string"
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

WMS

Routing

Get a list of routes

GET /wms/routes

List all routes

x-page: string
in header

the requested page id

x-page-size: string
in header

the requested page size

deleted_at: integer
in query

the timestamp to compare against

200 OK

List of routes

type
400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "name": "string",
    "from": "string",
    "to": "string",
    "hops": [
      "string"
    ],
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-page

undefined

string
x-count

undefined

integer
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Create a new route

POST /wms/routes

Add a new route

Request Example
{
  "name": "string",
  "from": "string",
  "to": "string",
  "hops": [
    "string"
  ]
}
200 OK

The created route

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "name": "string",
  "from": "string",
  "to": "string",
  "hops": [
    "string"
  ],
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Update the name of a route

PUT /wms/routes

Update a route

Request Example
{
  "id": "string",
  "name": "string"
}
200 OK

The created route

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "name": "string",
  "from": "string",
  "to": "string",
  "hops": [
    "string"
  ],
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get a route

GET /wms/routes/{id}

View a route

id: string
in path

(no description)

200 OK

List of routes

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "name": "string",
  "from": "string",
  "to": "string",
  "hops": [
    "string"
  ],
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Mark a route as deleted

DELETE /wms/routes/{id}

Marks a route as deleted

id: string
in path

(no description)

200 OK

The deleted route

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "name": "string",
  "from": "string",
  "to": "string",
  "hops": [
    "string"
  ],
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get a list of hops

GET /wms/hops

List all hops

x-page: integer
in header

the requested page id

x-page-size: integer
in header

the requested page size

200 OK

List of hops

type
400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "from": "string",
    "to": "string",
    "schedules": [
      "string"
    ],
    "created_at": "string (date-time)",
    "deleted_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-page

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Create a new hop

POST /wms/hops

Add an hop

Request Example
{
  "from": "string",
  "to": "string",
  "schedules": [
    "string"
  ]
}
200 OK

Created hop

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "from": "string",
  "to": "string",
  "schedules": [
    "string"
  ],
  "created_at": "string (date-time)",
  "deleted_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Update the applied schedules on a hop

PUT /wms/hops

update the applied schedules

Request Example
{
  "id": "string",
  "schedules": [
    "string"
  ]
}
200 OK

The hop

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "from": "string",
  "to": "string",
  "schedules": [
    "string"
  ],
  "created_at": "string (date-time)",
  "deleted_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get a hop

GET /wms/hops/{id}

Get a hop

id: string
in path

(no description)

200 OK

The hop

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "from": "string",
  "to": "string",
  "schedules": [
    "string"
  ],
  "created_at": "string (date-time)",
  "deleted_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Mark a hop as deleted

DELETE /wms/hops/{id}

Mark a hop as deleted

id: string
in path

(no description)

200 OK

The deleted hop

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "from": "string",
  "to": "string",
  "schedules": [
    "string"
  ],
  "created_at": "string (date-time)",
  "deleted_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Locations

Get a list of locations

GET /wms/locations

List existing locations

X-Page-Size: integer 25
in header

(no description)

X-Page: integer 1
in header

(no description)

deleted_at: integer
in query

the timestamp to compare against

200 OK

List of locations

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "name": "string",
    "country_iso": "string",
    "is_supplier": "boolean",
    "is_managed": "boolean",
    "is_customer": "boolean",
    "is_tracking_inventory": "boolean",
    "address_id": "string",
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-page

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Create a new location

POST /wms/locations

A location is a reference to a warehouse

Location model

Request Example
{
  "id": "string",
  "name": "string",
  "country_iso": "string",
  "is_supplier": "boolean",
  "is_managed": "boolean",
  "is_customer": "boolean",
  "is_tracking_inventory": "boolean",
  "address_id": "string"
}
200 OK

Created location

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "name": "string",
  "country_iso": "string",
  "is_supplier": "boolean",
  "is_managed": "boolean",
  "is_customer": "boolean",
  "is_tracking_inventory": "boolean",
  "address_id": "string",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Update the location

PUT /wms/locations

Update a location

Request Example
{
  "id": "string",
  "name": "string"
}
200 OK

The updated location

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "name": "string",
  "country_iso": "string",
  "is_supplier": "boolean",
  "is_managed": "boolean",
  "is_customer": "boolean",
  "is_tracking_inventory": "boolean",
  "address_id": "string",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get a location

POST /wms/search/locations

search a location for an address

address_id: string
Request Example
{
  "address_id": "string"
}
200 OK

The location

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "name": "string",
  "country_iso": "string",
  "is_supplier": "boolean",
  "is_managed": "boolean",
  "is_customer": "boolean",
  "is_tracking_inventory": "boolean",
  "address_id": "string",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get a location

GET /wms/locations/{id}

Get a location

id: string
in path

(no description)

200 OK

The location

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "name": "string",
  "country_iso": "string",
  "is_supplier": "boolean",
  "is_managed": "boolean",
  "is_customer": "boolean",
  "is_tracking_inventory": "boolean",
  "address_id": "string",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Headers (200 OK)
x-page

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Mark a location as deleted

DELETE /wms/locations/{id}

Mark a location as deleted

id: string
in path

(no description)

200 OK

The deleted location

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "name": "string",
  "country_iso": "string",
  "is_supplier": "boolean",
  "is_managed": "boolean",
  "is_customer": "boolean",
  "is_tracking_inventory": "boolean",
  "address_id": "string",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Inventory

Get positions

GET /wms/locations/{id}/positions

Get positions for a warehouse

id: string
in path

(no description)

x-page: string
in header

(no description)

200 OK

The list of positions

type
string[]
400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  "A34.254"
]
Response Headers (200 OK)
x-page

undefined

string
x-count

undefined

integer
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get logs

GET /wms/locations/{id}/positions/{position}/logs

Get logs for a position in a warehouse

id: string
in path

(no description)

position: string
in path

(no description)

x-page: string
in header

(no description)

The list of positions logs

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string (uuid)",
    "is_accurate": "boolean",
    "new_items": [
      "string (uuid)"
    ],
    "missing_items": [
      "string (uuid)"
    ],
    "user_id": "string",
    "verified_at": "string (date-time)",
    "created_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-page

undefined

string
x-count

undefined

integer
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Verify position

POST /wms/locations/{id}/positions/{position}/verify

Verify position count in a warehouse

id: string
in path

(no description)

position: string
in path

(no description)

Request Example
{
  "overage": [
    "string"
  ],
  "missing_ids": [
    "string (uuid)"
  ]
}
204 No Content

Updated and logged verification

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Add Skus too location

POST /wms/locations/{id}/skus

Add sku's that can be claimed on the location that is not tracking inventory

id: string
in path

(no description)

Request Example
[
  "string"
]

Updated and logged verification

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string (uuid)",
    "sku": "string",
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

List Skus for location

GET /wms/locations/{id}/skus

List sku's for location

id: string
in path

(no description)

sku: string
in query

(no description)

x-page: string
in header

(no description)

x-page-size: string
in header

(no description)

Updated and logged verification

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string (uuid)",
    "sku": "string",
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-page

undefined

string
x-count

undefined

integer
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Delete Skus from location

DELETE /wms/locations/{id}/skus

remove sku's that can be claimed on the location that is not tracking inventory

string (uuid)
id: string
in path

(no description)

Request Example
[
  "string (uuid)"
]
204 No Content

deleted skus for location

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Add overage to the location

POST /wms/locations/{id}/overage

Add overage that is available for location inventory

WmsStockUpItem
id: string
in path

(no description)

Request Example
[
  {
    "sku": "string",
    "quantity": "integer",
    "position": "string",
    "lot_number": "string",
    "expires_at": "string (date-time)"
  }
]

Updated and logged verification

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "sku": "string",
    "claim_id": "string",
    "location_id": "string",
    "metadata": "object",
    "state": "string",
    "position": "string",
    "lot_number": "string",
    "expires_at": "string (date-time)",
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get a list of warehouse items

GET /wms/inventory

Get a list of warehouse items

x-page: string
in header

the requested page id

x-page-size: string
in header

the requested page size

The transfer

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "sku": "string",
    "claim_id": "string",
    "location_id": "string",
    "metadata": "object",
    "state": "string",
    "position": "string",
    "lot_number": "string",
    "expires_at": "string (date-time)",
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-page

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Search a inventory summary

POST /wms/inventory

Get a list of inventory summaries

constraints: WmsInventorySummaryConstraint
WmsInventorySummaryConstraint
x-page: string
in header

the requested page id

x-page-size: string
in header

the requested page size

Request Example
{
  "constraints": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "string"
      ]
    }
  ]
}
200 OK

The transfer

type
400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "location_id": "string",
    "sku": "string",
    "position": "string",
    "lot_number": "string",
    "expires_at": "string (date-time)",
    "available": "integer",
    "reserved": "integer",
    "claimed": "integer",
    "transit": "integer",
    "missing": "integer",
    "backordered": "integer",
    "total": "integer"
  }
]
Response Headers (200 OK)
x-page

undefined

string
x-count

undefined

integer
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Set the absolute stock at a warehouse

PUT /wms/inventory

Get a list of inventory summaries

undefined

Request Example
{
  "location_id": "string (uuid)",
  "items": [
    {
      "sku": "string",
      "quantity": "integer",
      "position": "string",
      "lot_number": "string",
      "expires_at": "string (date-time)"
    }
  ]
}
200 OK

The transfer

type
400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "location_id": "string",
    "sku": "string",
    "position": "string",
    "lot_number": "string",
    "expires_at": "string (date-time)",
    "available": "integer",
    "reserved": "integer",
    "claimed": "integer",
    "transit": "integer",
    "missing": "integer",
    "backordered": "integer",
    "total": "integer"
  }
]
Response Headers (200 OK)
x-page

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Search items inventory

POST /wms/search/items

Get a list of inventory items

constraints: WmsInventoryConstraint
WmsInventoryConstraint
x-page: string
in header

the requested page id

x-page-size: string
in header

the requested page size

Request Example
{
  "constraints": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "string"
      ]
    }
  ]
}

The transfer

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "sku": "string",
    "claim_id": "string",
    "location_id": "string",
    "metadata": "object",
    "state": "string",
    "position": "string",
    "lot_number": "string",
    "expires_at": "string (date-time)",
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-page

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Update a warehouse item

PUT /wms/inventory/{id}

Update the warehouse item

id: string
in path

(no description)

Request Example
{
  "position": "string",
  "lot_number": "string",
  "expires_at": "string (date-time)",
  "metadata": "object"
}

The transfer

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "sku": "string",
  "claim_id": "string",
  "location_id": "string",
  "metadata": "object",
  "state": "string",
  "position": "string",
  "lot_number": "string",
  "expires_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get a warehouse item

GET /wms/inventory/{id}

Create an optimized set of claims

id: string
in path

(no description)

The transfer

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "sku": "string",
  "claim_id": "string",
  "location_id": "string",
  "metadata": "object",
  "state": "string",
  "position": "string",
  "lot_number": "string",
  "expires_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Timing

Get a list of schedules

GET /wms/schedules

List all schedules

X-Page-Size: integer 25
in header

(no description)

X-Page: integer 1
in header

(no description)

hop_id: string
in query

(no description)

deleted_at: integer
in query

the timestamp to compare against

200 OK

List of hops

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "last_call": "string",
    "arrival": "string",
    "duration": "integer",
    "timezone": "string",
    "available_weekdays": [
      "integer"
    ],
    "active_at": [
      "string (date)"
    ]
  }
]
Response Headers (200 OK)
x-page

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Create a new schedule

POST /wms/schedules

Add a schedule

Request Example
{
  "name": "string",
  "last_call": "string",
  "arrival": "string",
  "timezone": "string",
  "duration": "integer",
  "available_weekdays": [
    "integer"
  ],
  "active_at": [
    "string (date-time)"
  ]
}
200 OK

Created hop

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "last_call": "string",
  "arrival": "string",
  "duration": "integer",
  "timezone": "string",
  "available_weekdays": [
    "integer"
  ],
  "active_at": [
    "string (date)"
  ]
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Update a schedule

PUT /wms/schedules

update a schedule

Request Example
{
  "id": "string",
  "name": "string",
  "last_call": "string",
  "arrival": "string",
  "timezone": "string",
  "duration": "integer",
  "available_weekdays": [
    "integer"
  ],
  "active_at": [
    "string (date-time)"
  ]
}
200 OK

Created hop

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "from": "string",
  "to": "string",
  "schedules": [
    "string"
  ],
  "created_at": "string (date-time)",
  "deleted_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get a schedule

GET /wms/schedules/{id}

Get a schedule

id: string
in path

(no description)

200 OK

The hop

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "last_call": "string",
  "arrival": "string",
  "duration": "integer",
  "timezone": "string",
  "available_weekdays": [
    "integer"
  ],
  "active_at": [
    "string (date)"
  ]
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Mark a schedule as deleted

DELETE /wms/schedules/{id}

Mark a schedule as deleted

id: string
in path

(no description)

200 OK

The deleted hop

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "last_call": "string",
  "arrival": "string",
  "duration": "integer",
  "timezone": "string",
  "available_weekdays": [
    "integer"
  ],
  "active_at": [
    "string (date)"
  ]
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get the real time duration of a route

POST /wms/duration

returns a real time calculation for the route

Request Example
{
  "route_id": "string",
  "from_location_id": "string",
  "to_location_id": "string",
  "calculate_at": "string (date-time)",
  "arrival_at": "string (date-time)"
}

Created hop

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "arrival_at": "string (date-time)",
  "ship_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Allocation

Create a claim projection

POST /wms/projection/claims

Create a Projection to generate the available allocation options

Request Example
{
  "items": [
    {
      "sku": "string",
      "quantity": "integer"
    }
  ],
  "constraints": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "string"
      ]
    }
  ]
}
200 OK

List of claims

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "locations": [
    "string"
  ],
  "available": [
    {
      "location_id": "string (uuid)",
      "sku": "string",
      "amount": "integer"
    }
  ],
  "unavailable": [
    {
      "location_id": "string (uuid)",
      "sku": "string",
      "amount": "integer"
    }
  ]
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get a list of claims

GET /wms/claims

Get a claim and it's status

X-Page-Size: integer 25
in header

(no description)

X-Page: integer 1
in header

(no description)

200 OK

Warehouse list

type
400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string (uuid)",
    "location_id": "string",
    "target": "string",
    "expires_at": "string (date-time)",
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-page

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Create a claim

POST /wms/claims

Create an optimized set of claims

Request Example
{
  "location_id": "string (uuid)",
  "expires_at": "string (date-time)",
  "reference": "string"
}
200 OK

List of claims

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string (uuid)",
  "location_id": "string",
  "target": "string",
  "expires_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Search claims

POST /wms/search/claims

Returns a list for the search query

constraints: WmsInventoryConstraint
WmsInventoryConstraint
x-page: string
in header

the requested page id

x-page-size: string
in header

the requested page size

Request Example
{
  "constraints": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "string"
      ]
    }
  ]
}
200 OK

The transfer

type
400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string (uuid)",
    "location_id": "string",
    "target": "string",
    "expires_at": "string (date-time)",
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-page

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Attach items to a claim

PUT /wms/claims/{id}/attach

Create an optimized set of claims

WmsAttachItemClaimRequest
id: string
in path

(no description)

Request Example
[
  {
    "entity_type": "string",
    "entity_id": "string",
    "reference": "string",
    "state": "string"
  }
]
200 OK

List of claims

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string (uuid)",
    "inventory_item_id": "string (uuid)",
    "position": "string",
    "reference": "string",
    "updated_at": "string (date-time)"
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get a claim

GET /wms/claims/{id}

Get a claim and it's status

id: string
in path

(no description)

200 OK

List of claims

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string (uuid)",
  "location_id": "string",
  "target": "string",
  "expires_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Remove attached items

DELETE /wms/claims/{id}

Create an optimized set of claims

string (uuid)
id: string
in path

(no description)

Request Example
[
  "string (uuid)"
]
204 No Content

if the items are successfully removed

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get claim status

GET /wms/claims/{id}/status

returns the claim status

id: string
in path

(no description)

200 OK

List of claims

type
object
400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "is_cancelable": "boolean",
  "with_warning": "boolean"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Cancels the claim

POST /wms/claims/{id}/cancel

cancelClaim

id: string
in path

(no description)

204 No Content

List of claims

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get a claim

GET /wms/claims/{id}/items

Get a claim and it's status

id: string
in path

(no description)

x-page: string
in header

the requested page id

x-page-size: string
in header

the requested page size

200 OK

List of claims

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string (uuid)",
    "inventory_item_id": "string (uuid)",
    "position": "string",
    "reference": "string",
    "updated_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-page

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Extend the claim

PUT /wms/claims/{id}/extend

Extend the time the inventory is claimed

expires_at: string (date-time)
id: string
in path

(no description)

Request Example
{
  "expires_at": "string (date-time)"
}
200 OK

List of claims

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string (uuid)",
  "location_id": "string",
  "target": "string",
  "expires_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Confirm the claim

PUT /wms/claims/{id}/confirm

Confirm a reservation claim and make it an actual claim

id: string
in path

(no description)

Request Example
{
  "target_id": "string (uuid)"
}
200 OK

List of claims

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string (uuid)",
  "location_id": "string",
  "target": "string",
  "expires_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Logistics

Create a new transfer projection

POST /wms/transfers/projection

Create an optimized set of claims

Request Example
{
  "target": "string (uuid)",
  "arrival_at": "string (date-time)",
  "collect_at": "string (uuid)",
  "routing": [
    {
      "claim_id": "string (uuid)",
      "collect_route_id": "string (uuid)",
      "delivery_route_id": "string (uuid)"
    }
  ]
}
200 OK

The transfer

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string (uuid)",
  "target": "string (uuid)",
  "status": "string",
  "collect_at": "string (uuid)",
  "collections": [
    {
      "id": "string (uuid)",
      "from": "string (uuid)",
      "status": "string",
      "route_id": "string (uuid)",
      "ship_at": "string (date-time)",
      "expected_at": "string (date-time)",
      "created_at": "string (date-time)",
      "updated_at": "string (date-time)"
    }
  ],
  "deliveries": [
    "#/definitions/WmsSubTransferSummary"
  ],
  "is_collection_pending": "boolean",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get a list of transfers

GET /wms/transfers

Create an optimized set of claims

x-page: string
in header

the requested page id

x-page-size: string
in header

the requested page size

200 OK

The transfer

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string (uuid)",
    "target": "string (uuid)",
    "status": "string",
    "collect_at": "string (uuid)",
    "collections": [
      {
        "id": "string (uuid)",
        "from": "string (uuid)",
        "status": "string",
        "route_id": "string (uuid)",
        "ship_at": "string (date-time)",
        "expected_at": "string (date-time)",
        "created_at": "string (date-time)",
        "updated_at": "string (date-time)"
      }
    ],
    "deliveries": [
      "#/definitions/WmsSubTransferSummary"
    ],
    "is_collection_pending": "boolean",
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-page

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Create a new transfer

POST /wms/transfers

Create a new transfer

Request Example
{
  "target": "string (uuid)",
  "arrival_at": "string (date-time)",
  "collect_at": "string (uuid)",
  "routing": [
    {
      "claim_id": "string (uuid)",
      "collect_route_id": "string (uuid)",
      "delivery_route_id": "string (uuid)"
    }
  ]
}
200 OK

The transfer

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string (uuid)",
  "target": "string (uuid)",
  "status": "string",
  "collect_at": "string (uuid)",
  "collections": [
    {
      "id": "string (uuid)",
      "from": "string (uuid)",
      "status": "string",
      "route_id": "string (uuid)",
      "ship_at": "string (date-time)",
      "expected_at": "string (date-time)",
      "created_at": "string (date-time)",
      "updated_at": "string (date-time)"
    }
  ],
  "deliveries": [
    "#/definitions/WmsSubTransferSummary"
  ],
  "is_collection_pending": "boolean",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get a transfer

GET /wms/transfers/{id}

Create an optimized set of claims

id: string
in path

(no description)

200 OK

The transfer

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string (uuid)",
  "target": "string (uuid)",
  "status": "string",
  "collect_at": "string (uuid)",
  "collections": [
    {
      "id": "string (uuid)",
      "from": "string (uuid)",
      "status": "string",
      "route_id": "string (uuid)",
      "ship_at": "string (date-time)",
      "expected_at": "string (date-time)",
      "created_at": "string (date-time)",
      "updated_at": "string (date-time)"
    }
  ],
  "deliveries": [
    "#/definitions/WmsSubTransferSummary"
  ],
  "is_collection_pending": "boolean",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get a list of transported items

GET /wms/transfers/{id}/items

returns a describing lsit of transfer items with their route

id: string
in path

(no description)

x-page: string
in header

the requested page id

x-page-size: string
in header

the requested page size

The transfer

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "claim_item_id": "string (uuid)",
    "sku": "string",
    "claim_id": "string (uuid)",
    "route": [
      {
        "id": "string (uuid)",
        "label": "string"
      }
    ],
    "transports": [
      {
        "id": "string (uuid)",
        "previous": "string (uuid)",
        "next": "string (uuid)",
        "status": "string",
        "inbound_shipment_id": "string",
        "outbound_shipment_id": "string",
        "reference": "string",
        "from": "string (uuid)",
        "departure_at": "string (date-time)",
        "to": "string (uuid)",
        "arrival_at": "string (date-time)"
      }
    ]
  }
]
Response Headers (200 OK)
x-page

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get a list of transported items summary

GET /wms/transfers/{id}/summary

returns a describing lsit of transfer items with their route

id: string
in path

(no description)

x-page: string
in header

the requested page id

x-page-size: string
in header

the requested page size

claim_id: string
in query

filter for a specific claim_id

The transfer

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "claim_id": "string (uuid)",
    "route": [
      {
        "id": "string (uuid)",
        "label": "string"
      }
    ],
    "transports": [
      {
        "id": "string (uuid)",
        "previous": "string (uuid)",
        "next": "string (uuid)",
        "status": "string",
        "inbound_shipment_id": "string",
        "outbound_shipment_id": "string",
        "reference": "string",
        "from": "string (uuid)",
        "departure_at": "string (date-time)",
        "to": "string (uuid)",
        "arrival_at": "string (date-time)"
      }
    ]
  }
]
Response Headers (200 OK)
x-page

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get a list of transports belonging to the transfer

GET /wms/transfers/{id}/transports

a list of transports for the given transfer

id: string
in path

(no description)

x-page: string
in header

the requested page id

x-page-size: string
in header

the requested page size

200 OK

The transfer

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string (uuid)",
    "previous": "string (uuid)",
    "next": "string (uuid)",
    "status": "string",
    "inbound_shipment_id": "string",
    "outbound_shipment_id": "string",
    "reference": "string",
    "from": "string (uuid)",
    "departure_at": "string (date-time)",
    "to": "string (uuid)",
    "arrival_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-page

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Update transport state

PUT /wms/transfers/{transfer_id}/transports/{id}/state

Create an optimized set of claims

state: string pending, shipped, delivered
transfer_id: string
in path

(no description)

id: string
in path

(no description)

Request Example
{
  "state": "string"
}
200 OK

The transfer

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string (uuid)",
  "previous": "string (uuid)",
  "next": "string (uuid)",
  "status": "string",
  "inbound_shipment_id": "string",
  "outbound_shipment_id": "string",
  "reference": "string",
  "from": "string (uuid)",
  "departure_at": "string (date-time)",
  "to": "string (uuid)",
  "arrival_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Attach a shipment to the transport

PUT /wms/transfers/{transfer_id}/transports/{id}/shipment

Create an optimized set of claims

inbound_shipment_id: string
outbound_shipment_id: string
transfer_id: string
in path

(no description)

id: string
in path

(no description)

Request Example
{
  "inbound_shipment_id": "string",
  "outbound_shipment_id": "string"
}
200 OK

The transport

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string (uuid)",
  "previous": "string (uuid)",
  "next": "string (uuid)",
  "status": "string",
  "inbound_shipment_id": "string",
  "outbound_shipment_id": "string",
  "reference": "string",
  "from": "string (uuid)",
  "departure_at": "string (date-time)",
  "to": "string (uuid)",
  "arrival_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get a list of sub transfers

GET /wms/subtransfers

Create an optimized set of claims

x-page: string
in header

the requested page id

x-page-size: string
in header

the requested page size

The transfer

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string",
    "transfer_id": "string",
    "from": "string",
    "status": "string",
    "route_id": "string",
    "ship_at": "string (date-time)",
    "expected_at": "string (date-time)",
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-page

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get a sub transfer

GET /wms/subtransfers/{id}

Returns a sub transfer

id: string
in path

(no description)

The transfer

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string",
  "transfer_id": "string",
  "from": "string",
  "status": "string",
  "route_id": "string",
  "ship_at": "string (date-time)",
  "expected_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get a subtransfer items

GET /wms/subtransfers/{id}/items

Returns a sub transfer items

id: string
in path

(no description)

x-page: string
in header

the requested page id

x-page-size: string
in header

the requested page size

The transfer items

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "transfer_item_id": "string",
    "status": "string",
    "claim_item_id": "string",
    "inventory_item_id": "string",
    "reference": "string",
    "sku": "string",
    "location_id": "string",
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-page

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Report a set of items at a location

POST /wms/report

reports claim items at a certain location

Transfer request object

Request Example
{
  "target": "string (uuid)",
  "item_claims": [
    {
      "claim_item_id": "string (uuid)",
      "position": "string"
    }
  ]
}
204 No Content

The current claim as a result

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Webhooks

Relays

List relays

GET /mes/webhooks/relays

Lists all relays

type: string
in query

(no description)

200 OK

List of relays

type
400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string (uuid)",
    "name": "string",
    "type": "string",
    "config": "object",
    "endpoint": "string",
    "limit_requests_per_second": "integer",
    "is_system_object": "boolean",
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-page

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Create relay

POST /mes/webhooks/relays

Adds a new relay

undefined

Request Example
{
  "name": "string",
  "type": "string",
  "config": "object"
}
200 OK

The projection with applied valid discounts

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string (uuid)",
  "name": "string",
  "type": "string",
  "config": "object",
  "endpoint": "string",
  "limit_requests_per_second": "integer",
  "is_system_object": "boolean",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

View relay

GET /mes/webhooks/relays/{id}

Returns relay

id: string
in path

(no description)

200 OK

The projection with applied valid discounts

type
400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string (uuid)",
    "name": "string",
    "type": "string",
    "config": "object",
    "endpoint": "string",
    "limit_requests_per_second": "integer",
    "is_system_object": "boolean",
    "created_at": "string (date-time)",
    "updated_at": "string (date-time)"
  }
]
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Update relay

PUT /mes/webhooks/relays/{id}

Update relay configuration

undefined

id: string
in path

(no description)

Request Example
{
  "name": "string",
  "type": "string",
  "config": "object"
}
200 OK

Updated relay

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string (uuid)",
  "name": "string",
  "type": "string",
  "config": "object",
  "endpoint": "string",
  "limit_requests_per_second": "integer",
  "is_system_object": "boolean",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Delete relay

DELETE /mes/webhooks/relays/{id}

Deletes a relay

id: string
in path

(no description)

204 No Content

Ok

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

List messages

GET /mes/webhooks/relays/{id}/messages

List a relay's received messages

id: string
in path

(no description)

is_valid: string 1, 0
in query

(no description)

is_relayed: string 1, 0
in query

(no description)

is_duplicate: string 1, 0
in query

(no description)

The projection with applied valid discounts

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
[
  {
    "id": "string (uuid)",
    "hash": "string",
    "payload": "string",
    "is_valid": "boolean",
    "is_relayed": "boolean",
    "is_duplicate": "boolean",
    "source": {
      "ip": "string",
      "city": "string",
      "country_code": "string",
      "user_agent": "string"
    },
    "relayed_at": "string (date-time)",
    "created_at": "string (date-time)"
  }
]
Response Headers (200 OK)
x-count

undefined

string
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Get message

GET /mes/webhooks/relays/{id}/messages/{message_id}

Get a single relay message

id: string
in path

(no description)

message_id: string
in path

(no description)

is_valid: string 1, 0
in query

(no description)

is_relayed: string 1, 0
in query

(no description)

is_duplicate: string 1, 0
in query

(no description)

The projection with applied valid discounts

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "id": "string (uuid)",
  "hash": "string",
  "payload": "string",
  "is_valid": "boolean",
  "is_relayed": "boolean",
  "is_duplicate": "boolean",
  "source": {
    "ip": "string",
    "city": "string",
    "country_code": "string",
    "user_agent": "string"
  },
  "relayed_at": "string (date-time)",
  "created_at": "string (date-time)"
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Dpd-service

Dpd

Dpd

Get servicepoints

GET /lcs/dpd/points

Return DPD's servicepoints

country_code: string
in query

(no description)

postal_code: string
in query

(no description)

The list of types

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "parcelShop": [
    {
      "parcelShopId": "number",
      "pudoId": "string",
      "company": "string",
      "street": "string",
      "houseNo": "string",
      "country": "string",
      "countryNum": "number",
      "zipCode": "string",
      "city": "string",
      "town": "string",
      "phone": "string",
      "fax": "string",
      "email": "string",
      "homepage": "string",
      "latitude": "number",
      "longitude": "number",
      "coordinateX": "number",
      "coordinateY": "number",
      "coordinateZ": "number",
      "distance": "number",
      "expressPickupTime": "string",
      "extraInfo": "string",
      "openingHours": [
        {
          "weekday": "string",
          "openMorning": "string",
          "closeMorning": "string",
          "closeAfternoon": "string",
          "openAfternoon": "string"
        }
      ],
      "services": [
        "object"
      ]
    }
  ]
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Dpd

Get servicepoint

GET /lcs/dpd/points/{id}

Return a DPD servicepoint by ID

id: string
in path

(no description)

The list of types

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not found

500 Internal Server Error

Internal Server Error

503 Service Unavailable

Service Unavailable

Response Example (200 OK)
{
  "parcelShop": [
    {
      "parcelShopId": "number",
      "pudoId": "string",
      "company": "string",
      "street": "string",
      "houseNo": "string",
      "country": "string",
      "countryNum": "number",
      "zipCode": "string",
      "city": "string",
      "town": "string",
      "phone": "string",
      "fax": "string",
      "email": "string",
      "homepage": "string",
      "latitude": "number",
      "longitude": "number",
      "coordinateX": "number",
      "coordinateY": "number",
      "coordinateZ": "number",
      "distance": "number",
      "expressPickupTime": "string",
      "extraInfo": "string",
      "openingHours": [
        {
          "weekday": "string",
          "openMorning": "string",
          "closeMorning": "string",
          "closeAfternoon": "string",
          "openAfternoon": "string"
        }
      ],
      "services": [
        "object"
      ]
    }
  ]
}
Response Example (400 Bad Request)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (401 Unauthorized)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (403 Forbidden)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (404 Not Found)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (500 Internal Server Error)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}
Response Example (503 Service Unavailable)
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

Schema Definitions

GraphQLQuery: object

variables: object
query: string
operationName: string
Example
{
  "variables": "object",
  "query": "string",
  "operationName": "string"
}

Error: object

code: integer
message: string
reference: string
errors: object
Example
{
  "code": "integer",
  "message": "string",
  "reference": "string",
  "errors": {
    "invalid value": [
      "property1"
    ],
    "required": [
      "property2"
    ]
  }
}

MesParticipant: object

name: string
reference: string
is_machine: boolean
notifications: MesNotify
MesNotify
Example
{
  "name": "string",
  "reference": "string",
  "is_machine": "boolean",
  "notifications": [
    {
      "address": "string",
      "medium": "string"
    }
  ]
}

MesNotify: object

address: string
medium: string sms, email, fcm
Example
{
  "address": "string",
  "medium": "string"
}

MesConversation: object

id: string
event: string update, memo
entity_type: string order, invoice, stock
entity_id: string
messages: MesMessage
MesMessage
participants: MesParticipant
MesParticipant
metadata: MesMetadata
started_at: string (date-time)
expires_at: string (date-time)
created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "id": "string",
  "event": "string",
  "entity_type": "string",
  "entity_id": "string",
  "messages": [
    {
      "content": "string",
      "participant_reference": "string",
      "is_private": "boolean",
      "metadata": "object",
      "created_at": "string (date-time)"
    }
  ],
  "participants": [
    {
      "name": "string",
      "reference": "string",
      "is_machine": "boolean",
      "notifications": [
        {
          "address": "string",
          "medium": "string"
        }
      ]
    }
  ],
  "metadata": "#/definitions/MesMetadata",
  "started_at": "string (date-time)",
  "expires_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}

MesMessage: object

content: string
participant_reference: string
is_private: boolean
metadata: MesMetadata
created_at: string (date-time)
Example
{
  "content": "string",
  "participant_reference": "string",
  "is_private": "boolean",
  "metadata": "object",
  "created_at": "string (date-time)"
}

MesSearchConstraint: object

key: string ids, event, entity_type, entity_ids, medium, participant
operator: string in
value: string[]
string
Example
{
  "key": "string",
  "operator": "string",
  "value": [
    "string"
  ]
}

MesSearch: object

Example
{
  "constraints": [
    {
      "key": "string",
      "operator": "string",
      "value": [
        "string"
      ]
    }
  ]
}

MesConversationCreate: object

event: string update, memo
entity_type: string order, invoice, stock
name: string
entity_id: string
participant: MesParticipantCreate
metadata: MesMetadata
expires_at: string (date-time)
Example
{
  "event": "string",
  "entity_type": "string",
  "name": "string",
  "entity_id": "string",
  "participant": {
    "name": "string",
    "reference": "string",
    "is_machine": "boolean"
  },
  "metadata": "object",
  "expires_at": "string (date-time)"
}

MesMessageAdd: object

content: string
is_private: boolean
metadata: MesMetadata
reference: string
Example
{
  "content": "string",
  "is_private": "boolean",
  "metadata": "object",
  "reference": "string"
}

MesParticipantCreate: object

name: string
reference: string
is_machine: boolean
Example
{
  "name": "string",
  "reference": "string",
  "is_machine": "boolean"
}

MesSubscription: object

reference: string
medium: string
address: boolean
Example
{
  "reference": "string",
  "medium": "string",
  "address": "boolean"
}

MesCancel: object

reference: string
medium: string
Example
{
  "reference": "string",
  "medium": "string"
}

MesMetadata: object

additional metadata that applies to the item

string
Example
"object"

OdrAttachFiltersResponse: object

success: integer
failed: integer
Example
{
  "success": "integer",
  "failed": "integer"
}

OdrAttachWarehouseItemsRequest: object

order_item_id: string (uuid)
inventory_item_id: string (uuid)
Example
{
  "order_item_id": "string (uuid)",
  "inventory_item_id": "string (uuid)"
}

OdrCancelState: object

is_accepted: boolean
warnings: string[]
string
Example
{
  "is_accepted": "boolean",
  "warnings": [
    "string"
  ]
}

OdrCalculationAdjustment: object

reference: string
description: string
amount: number 0
is_percentage: boolean
is_discount: boolean
result: OdrCalculationAdjustmentResult
Example
{
  "reference": "string",
  "description": "string",
  "amount": "number",
  "is_percentage": "boolean",
  "is_discount": "boolean",
  "result": {
    "is_applied_rule": "boolean",
    "rule_id": "string",
    "output": "integer"
  }
}

OdrCalculationAdjustmentResult: object

is_applied_rule: boolean
rule_id: string
output: integer

The result of the rule. Will be negative in case of a discount.

Example
{
  "is_applied_rule": "boolean",
  "rule_id": "string",
  "output": "integer"
}

OdrContact: object

tags: string[]
string
vat_country_code: string NL
contact: OdrContactContact
Example
{
  "tags": [
    "string"
  ],
  "vat_country_code": "string",
  "contact": {
    "email": "string",
    "vat_number": "string",
    "coc_number": "string",
    "organisation_id": "string",
    "organisation_version": "string",
    "address_id": "string",
    "phone_number_id": "string",
    "id": "string",
    "version": "string"
  }
}

OdrContactContact: object

email: string
vat_number: string
coc_number: string
organisation_id: string
organisation_version: string
address_id: string
phone_number_id: string
id: string
version: string
Example
{
  "email": "string",
  "vat_number": "string",
  "coc_number": "string",
  "organisation_id": "string",
  "organisation_version": "string",
  "address_id": "string",
  "phone_number_id": "string",
  "id": "string",
  "version": "string"
}

OdrProjection: object

items: OdrProjectionItem
OdrProjectionItem
subtotal: integer
adjustments: OdrCalculationAdjustment
OdrCalculationAdjustment
services: OdrServiceItem
OdrServiceItem
total: integer
vat: OdrVatResult
OdrVatResult
customer: OdrContact
vendor: OdrContact
currency: string
is_including_vat: boolean
is_vat_shifted: boolean
client_id: string
pricing_at: string (date-time)
Example
{
  "items": [
    {
      "reference": "string",
      "sku": "string",
      "description": "string",
      "type": "string",
      "amount": "integer",
      "is_discounted": "boolean",
      "quantity": "integer",
      "subtotal": "integer",
      "adjustments": [
        {
          "reference": "string",
          "description": "string",
          "amount": "number",
          "is_percentage": "boolean",
          "is_discount": "boolean",
          "result": {
            "is_applied_rule": "boolean",
            "rule_id": "string",
            "output": "integer"
          }
        }
      ],
      "vat_percentage": "integer",
      "total": "integer",
      "total_revenue": "integer"
    }
  ],
  "subtotal": "integer",
  "adjustments": [
    "#/definitions/OdrCalculationAdjustment"
  ],
  "services": [
    {
      "description": "string",
      "type": "string",
      "amount": "number",
      "is_percentage": "boolean",
      "quantity": "integer",
      "subtotal": "integer",
      "adjustments": [
        {
          "reference": "string",
          "description": "string",
          "amount": "number",
          "is_percentage": "boolean",
          "is_discount": "boolean",
          "result": {
            "is_applied_rule": "boolean",
            "rule_id": "string (uuid)",
            "output": "integer"
          }
        }
      ],
      "vat_percentage": "integer",
      "total": "integer"
    }
  ],
  "total": "integer",
  "vat": [
    {
      "rate": "integer",
      "amount": "integer"
    }
  ],
  "customer": {
    "tags": [
      "string"
    ],
    "vat_country_code": "string",
    "contact": {
      "email": "string",
      "vat_number": "string",
      "coc_number": "string",
      "organisation_id": "string",
      "organisation_version": "string",
      "address_id": "string",
      "phone_number_id": "string",
      "id": "string",
      "version": "string"
    }
  },
  "vendor": "#/definitions/OdrContact",
  "currency": "string",
  "is_including_vat": "boolean",
  "is_vat_shifted": "boolean",
  "client_id": "string",
  "pricing_at": "string (date-time)"
}

OdrProjectionItem: object

reference: string
sku: string
description: string
type: string product, handling, shipping
amount: integer
is_discounted: boolean
quantity: integer
subtotal: integer
adjustments: OdrCalculationAdjustment
OdrCalculationAdjustment
vat_percentage: integer
total: integer
total_revenue: integer
Example
{
  "reference": "string",
  "sku": "string",
  "description": "string",
  "type": "string",
  "amount": "integer",
  "is_discounted": "boolean",
  "quantity": "integer",
  "subtotal": "integer",
  "adjustments": [
    {
      "reference": "string",
      "description": "string",
      "amount": "number",
      "is_percentage": "boolean",
      "is_discount": "boolean",
      "result": {
        "is_applied_rule": "boolean",
        "rule_id": "string",
        "output": "integer"
      }
    }
  ],
  "vat_percentage": "integer",
  "total": "integer",
  "total_revenue": "integer"
}

OdrServiceItem: object

description: string
type: string product, handling, shipping
amount: number
is_percentage: boolean
quantity: integer
subtotal: integer
adjustments: OdrServiceAdjustment
OdrServiceAdjustment
vat_percentage: integer
total: integer
Example
{
  "description": "string",
  "type": "string",
  "amount": "number",
  "is_percentage": "boolean",
  "quantity": "integer",
  "subtotal": "integer",
  "adjustments": [
    {
      "reference": "string",
      "description": "string",
      "amount": "number",
      "is_percentage": "boolean",
      "is_discount": "boolean",
      "result": {
        "is_applied_rule": "boolean",
        "rule_id": "string (uuid)",
        "output": "integer"
      }
    }
  ],
  "vat_percentage": "integer",
  "total": "integer"
}

OdrServiceAdjustment: object

reference: string
description: string
amount: number
is_percentage: boolean
is_discount: boolean
result: OdrServiceAdjustmentResult
Example
{
  "reference": "string",
  "description": "string",
  "amount": "number",
  "is_percentage": "boolean",
  "is_discount": "boolean",
  "result": {
    "is_applied_rule": "boolean",
    "rule_id": "string (uuid)",
    "output": "integer"
  }
}

OdrServiceAdjustmentResult: object

is_applied_rule: boolean
rule_id: string (uuid)
output: integer
Example
{
  "is_applied_rule": "boolean",
  "rule_id": "string (uuid)",
  "output": "integer"
}

OdrOrderCalculationRequest: object

expires_at: string (date-time)
reference: string
currency: string
items: OdrCalculationItemModel
OdrCalculationItemModel
adjustments: OdrAdjustment
OdrAdjustment
pricing_at: string (date-time)
metadata: object
Example
{
  "expires_at": "string (date-time)",
  "reference": "string",
  "currency": "string",
  "items": [
    {
      "item_ids": [
        "string (uuid)"
      ],
      "description": "string",
      "amount": "integer",
      "is_discounted": "boolean",
      "adjustments": [
        {
          "reference": "string",
          "description": "string",
          "amount": "number",
          "is_percentage": "boolean",
          "is_discount": "boolean"
        }
      ],
      "vat_percentage": "integer"
    }
  ],
  "adjustments": [
    "#/definitions/OdrAdjustment"
  ],
  "pricing_at": "string (date-time)",
  "metadata": "object"
}

OdrAdjustment: object

reference: string
description: string
amount: number 0
is_percentage: boolean
is_discount: boolean
Example
{
  "reference": "string",
  "description": "string",
  "amount": "number",
  "is_percentage": "boolean",
  "is_discount": "boolean"
}

OdrCalculationItemModel: object

item_ids: string[]
string (uuid)
description: string
amount: integer
is_discounted: boolean
adjustments: OdrAdjustment
OdrAdjustment
vat_percentage: integer
Example
{
  "item_ids": [
    "string (uuid)"
  ],
  "description": "string",
  "amount": "integer",
  "is_discounted": "boolean",
  "adjustments": [
    {
      "reference": "string",
      "description": "string",
      "amount": "number",
      "is_percentage": "boolean",
      "is_discount": "boolean"
    }
  ],
  "vat_percentage": "integer"
}

OdrCalculations: object

id: string
number: string
reference: string
items: OdrCalculationItems
OdrCalculationItems
services: OdrServiceItem
OdrServiceItem
subtotal: integer
adjustments: OdrCalculationAdjustment
OdrCalculationAdjustment
total: integer
vat: OdrVatResult
OdrVatResult
settings: OdrOrderCalculationSettings
currency: string
customer: OdrContact
vendor: OdrContact
is_including_vat: boolean
is_vat_shifted: boolean
is_prepaid: boolean
client_id: string
channel_id: string (uuid)
file_id: string
metadata: object
pricing_at: string (date-time)
invoiced_at: string (date-time)
prepaid_at: string (date-time)
order_ids: string[]
string
coupons: string[]
string
created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "id": "string",
  "number": "string",
  "reference": "string",
  "items": [
    {
      "reference": "string",
      "sku": "string",
      "description": "string",
      "type": "string",
      "amount": "integer",
      "is_discounted": "boolean",
      "quantity": "integer",
      "subtotal": "integer",
      "adjustments": [
        {
          "reference": "string",
          "description": "string",
          "amount": "number",
          "is_percentage": "boolean",
          "is_discount": "boolean",
          "result": {
            "is_applied_rule": "boolean",
            "rule_id": "string",
            "output": "integer"
          }
        }
      ],
      "vat_percentage": "integer",
      "total": "integer",
      "total_revenue": "integer",
      "order_items": [
        {
          "id": "string",
          "is_invoiced": "boolean",
          "invoice_id": "string (uuid)"
        }
      ]
    }
  ],
  "services": [
    {
      "description": "string",
      "type": "string",
      "amount": "number",
      "is_percentage": "boolean",
      "quantity": "integer",
      "subtotal": "integer",
      "adjustments": [
        {
          "reference": "string",
          "description": "string",
          "amount": "number",
          "is_percentage": "boolean",
          "is_discount": "boolean",
          "result": {
            "is_applied_rule": "boolean",
            "rule_id": "string (uuid)",
            "output": "integer"
          }
        }
      ],
      "vat_percentage": "integer",
      "total": "integer"
    }
  ],
  "subtotal": "integer",
  "adjustments": [
    "#/definitions/OdrCalculationAdjustment"
  ],
  "total": "integer",
  "vat": [
    {
      "rate": "integer",
      "amount": "integer"
    }
  ],
  "settings": {
    "billing": {
      "method_code": "string",
      "issuer_code": "string",
      "provider_code": "string",
      "vat": {
        "is_shift_disabled": "boolean",
        "is_shift_required": "boolean"
      }
    },
    "shipping": {
      "method_id": "string (uuid)"
    }
  },
  "currency": "string",
  "customer": {
    "tags": [
      "string"
    ],
    "vat_country_code": "string",
    "contact": {
      "email": "string",
      "vat_number": "string",
      "coc_number": "string",
      "organisation_id": "string",
      "organisation_version": "string",
      "address_id": "string",
      "phone_number_id": "string",
      "id": "string"
    }
  }
}

OdrOrderCalculationSettings: object

Example
{
  "billing": {
    "method_code": "string",
    "issuer_code": "string",
    "provider_code": "string",
    "vat": {
      "is_shift_disabled": "boolean",
      "is_shift_required": "boolean"
    }
  },
  "shipping": {
    "method_id": "string (uuid)"
  }
}

OdrOrderCalculationSettingsBilling: object

method_code: string
issuer_code: string
provider_code: string
vat: OdrOrderSettingsBillingVat
Example
{
  "method_code": "string",
  "issuer_code": "string",
  "provider_code": "string",
  "vat": {
    "is_shift_disabled": "boolean",
    "is_shift_required": "boolean"
  }
}

OdrOrderCalculationSettingsShipping: object

method_id: string (uuid)
Example
{
  "method_id": "string (uuid)"
}

OdrCalculationItems: object

reference: string
sku: string
description: string
type: string product, handling, shipping
amount: integer
is_discounted: boolean
quantity: integer
subtotal: integer
adjustments: OdrCalculationAdjustment
OdrCalculationAdjustment
vat_percentage: integer
total: integer
total_revenue: integer
order_items: OdrCalculationStackItem
OdrCalculationStackItem
Example
{
  "reference": "string",
  "sku": "string",
  "description": "string",
  "type": "string",
  "amount": "integer",
  "is_discounted": "boolean",
  "quantity": "integer",
  "subtotal": "integer",
  "adjustments": [
    {
      "reference": "string",
      "description": "string",
      "amount": "number",
      "is_percentage": "boolean",
      "is_discount": "boolean",
      "result": {
        "is_applied_rule": "boolean",
        "rule_id": "string",
        "output": "integer"
      }
    }
  ],
  "vat_percentage": "integer",
  "total": "integer",
  "total_revenue": "integer",
  "order_items": [
    {
      "id": "string",
      "is_invoiced": "boolean",
      "invoice_id": "string (uuid)"
    }
  ]
}

OdrCalculationStackItem: object

id: string
is_invoiced: boolean
invoice_id: string (uuid)
Example
{
  "id": "string",
  "is_invoiced": "boolean",
  "invoice_id": "string (uuid)"
}

OdrVatResult: object

rate: integer
amount: integer
Example
{
  "rate": "integer",
  "amount": "integer"
}

OdrFilterSet: object

sku: string
filters: object
Example
{
  "sku": "string",
  "filters": "object"
}

OdrSettings: object

contact: OdrSettingsContact
organisation: OdrSettingsContact
phone_number_id: string (uuid)
coupons: string[]
string
due_at: string (date)
reference: string (string)
return_url: string
billing: OdrOrderModelSettingsBilling
shipping: OdrOrderSettingsShipping
Example
{
  "contact": {
    "id": "string (uuid)"
  },
  "organisation": "#/definitions/OdrSettingsContact",
  "phone_number_id": "string (uuid)",
  "coupons": [
    "string"
  ],
  "due_at": "string (date)",
  "reference": "string (string)",
  "return_url": "string",
  "billing": {
    "address_id": "string (uuid)",
    "method_code": "string",
    "issuer_code": "string",
    "provider_code": "string",
    "vat": {
      "is_shift_disabled": "boolean",
      "is_shift_required": "boolean"
    }
  },
  "shipping": {
    "address_id": "string (uuid)",
    "source_address_id": "string (uuid)",
    "method_id": "string (uuid)",
    "spid": "string",
    "window": {
      "from": "integer",
      "to": "integer",
      "delivery_at": "string (date)",
      "code": "string"
    },
    "is_split_allowed": "boolean"
  }
}

OdrSettingsContact: object

id: string (uuid)
Example
{
  "id": "string (uuid)"
}

OdrOrderModelSettingsBilling: object

address_id: string (uuid)
method_code: string
issuer_code: string
provider_code: string
vat: OdrOrderSettingsBillingVat
Example
{
  "address_id": "string (uuid)",
  "method_code": "string",
  "issuer_code": "string",
  "provider_code": "string",
  "vat": {
    "is_shift_disabled": "boolean",
    "is_shift_required": "boolean"
  }
}

OdrOrderSettingsBillingVat: object

is_shift_disabled: boolean false
is_shift_required: boolean false
Example
{
  "is_shift_disabled": "boolean",
  "is_shift_required": "boolean"
}

OdrOrderSettings: object

contact: OdrOrderSettingsContact
organisation: OdrOrderSettingsContact
phone_number_id: string (uuid)
coupons: string[]
string
due_at: string (date)
return_url: string
billing: OdrOrderSettingsBilling
shipping: OdrOrderSettingsShipping
Example
{
  "contact": {
    "id": "string (uuid)",
    "version": "string (uuid)"
  },
  "organisation": "#/definitions/OdrOrderSettingsContact",
  "phone_number_id": "string (uuid)",
  "coupons": [
    "string"
  ],
  "due_at": "string (date)",
  "return_url": "string",
  "billing": {
    "address_id": "string (uuid)",
    "method_code": "string",
    "issuer_code": "string",
    "provider_code": "string"
  },
  "shipping": {
    "address_id": "string (uuid)",
    "source_address_id": "string (uuid)",
    "method_id": "string (uuid)",
    "spid": "string",
    "window": {
      "from": "integer",
      "to": "integer",
      "delivery_at": "string (date)",
      "code": "string"
    },
    "is_split_allowed": "boolean"
  }
}

OdrOrderSettingsContact: object

id: string (uuid)
version: string (uuid)
Example
{
  "id": "string (uuid)",
  "version": "string (uuid)"
}

OdrOrderSettingsBilling: object

address_id: string (uuid)
method_code: string
issuer_code: string
provider_code: string
Example
{
  "address_id": "string (uuid)",
  "method_code": "string",
  "issuer_code": "string",
  "provider_code": "string"
}

OdrOrderSettingsShipping: object

address_id: string (uuid)
source_address_id: string (uuid)
method_id: string (uuid)
spid: string
window: OdrOrderSettingsShippingWindow
is_split_allowed: boolean
Example
{
  "address_id": "string (uuid)",
  "source_address_id": "string (uuid)",
  "method_id": "string (uuid)",
  "spid": "string",
  "window": {
    "from": "integer",
    "to": "integer",
    "delivery_at": "string (date)",
    "code": "string"
  },
  "is_split_allowed": "boolean"
}

OdrOrderSettingsShippingWindow: object

from: integer
to: integer
delivery_at: string (date)
code: string
Example
{
  "from": "integer",
  "to": "integer",
  "delivery_at": "string (date)",
  "code": "string"
}

OdrOrderStep: object

code: string
order: integer
is_reversible: boolean false
trigger: string lock, accept, confirm confirm
actions: OdrStepAction
OdrStepAction
Example
{
  "code": "string",
  "order": "integer",
  "is_reversible": "boolean",
  "trigger": "string",
  "actions": [
    {
      "code": "string",
      "order": "integer",
      "label": "string",
      "is_handled": "boolean",
      "handled_at": "string (date-time)"
    }
  ]
}

OdrStepAction: object

code: string
order: integer
label: string
is_handled: boolean
handled_at: string (date-time)
Example
{
  "code": "string",
  "order": "integer",
  "label": "string",
  "is_handled": "boolean",
  "handled_at": "string (date-time)"
}

OdrOrder: object

id: string (uuid)
number: string
state: OdrOrderState
settings: OdrOrderSettings
processing: OdrProcessing
acceptances: OdrOrderAcceptances
OdrOrderAcceptances
calculations: OdrOrderCalculations
OdrOrderCalculations
client_id: string
channel_id: string (uuid)
tags: string[]
string
stack_id: string
type: string
last_accepted_at: string (date-time)
last_confirmed_at: string (date-time)
last_canceled_at: string (date-time)
created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "id": "string (uuid)",
  "number": "string",
  "state": {
    "is_locked": "boolean",
    "is_accepted": "boolean",
    "is_confirmed": "boolean",
    "is_finished": "boolean",
    "is_canceled": "boolean",
    "type": "string",
    "flow": [
      {
        "code": "string",
        "order": "integer",
        "is_reversible": "boolean",
        "trigger": "string",
        "actions": [
          {
            "code": "string",
            "order": "integer",
            "label": "string",
            "is_handled": "boolean",
            "handled_at": "string (date-time)"
          }
        ]
      }
    ],
    "progress": {
      "allocation": "string",
      "fulfilment": "string",
      "billing": "string"
    }
  },
  "settings": {
    "contact": {
      "id": "string (uuid)",
      "version": "string (uuid)"
    },
    "organisation": "#/definitions/OdrOrderSettingsContact",
    "phone_number_id": "string (uuid)",
    "coupons": [
      "string"
    ],
    "due_at": "string (date)",
    "return_url": "string",
    "billing": {
      "address_id": "string (uuid)",
      "method_code": "string",
      "issuer_code": "string",
      "provider_code": "string"
    },
    "shipping": {
      "address_id": "string (uuid)",
      "source_address_id": "string (uuid)",
      "method_id": "string (uuid)",
      "spid": "string",
      "window": {
        "from": "integer",
        "to": "integer",
        "delivery_at": "string (date)",
        "code": "string"
      },
      "is_split_allowed": "boolean"
    }
  },
  "processing": {
    "confirm": "string",
    "allocation": "string",
    "fulfilment": "string",
    "capture": "string"
  },
  "acceptances": [
    {
      "id": "string (uuid)",
      "amount": "integer",
      "is_prepaid": "boolean",
      "is_settlement": "boolean",
      "is_paid": "boolean",
      "calculation_id": "string (uuid)",
      "transaction_secret": "string",
      "created_at": "string (date-time)",
      "accepted_at": "string (date-time)"
    }
  ],
  "calculations": [
    {
      "id": "string (uuid)",
      "reference": "string",
      "currency": "string",
      "client_id": "string (uuid)",
      "channel_id": "string (uuid)",
      "amount": "integer",
      "is_valid": "boolean",
      "is_accepted": "boolean",
      "is_confirmed": "boolean",
      "expires_at": "string (date-time)"
    }
  ],
  "client_id": "string",
  "channel_id": "string (uuid)",
  "tags": [
    "string"
  ],
  "stack_id": "string",
  "type": "string",
  "last_accepted_at": "string (date-time)"
}

OdrOrderState: object

is_locked: boolean
is_accepted: boolean
is_confirmed: boolean
is_finished: boolean
is_canceled: boolean
type: string cart, order, backorder, wishlist
flow: OdrOrderStep
OdrOrderStep
progress: OdrOrderStateProgress
Example
{
  "is_locked": "boolean",
  "is_accepted": "boolean",
  "is_confirmed": "boolean",
  "is_finished": "boolean",
  "is_canceled": "boolean",
  "type": "string",
  "flow": [
    {
      "code": "string",
      "order": "integer",
      "is_reversible": "boolean",
      "trigger": "string",
      "actions": [
        {
          "code": "string",
          "order": "integer",
          "label": "string",
          "is_handled": "boolean",
          "handled_at": "string (date-time)"
        }
      ]
    }
  ],
  "progress": {
    "allocation": "string",
    "fulfilment": "string",
    "billing": "string"
  }
}

OdrOrderStateProgress: object

allocation: string
fulfilment: string
billing: string
Example
{
  "allocation": "string",
  "fulfilment": "string",
  "billing": "string"
}

OdrOrderAcceptances: object

id: string (uuid)
amount: integer
is_prepaid: boolean
is_settlement: boolean
is_paid: boolean
calculation_id: string (uuid)
transaction_secret: string
created_at: string (date-time)
accepted_at: string (date-time)
Example
{
  "id": "string (uuid)",
  "amount": "integer",
  "is_prepaid": "boolean",
  "is_settlement": "boolean",
  "is_paid": "boolean",
  "calculation_id": "string (uuid)",
  "transaction_secret": "string",
  "created_at": "string (date-time)",
  "accepted_at": "string (date-time)"
}

OdrOrderCalculations: object

id: string (uuid)
reference: string
currency: string
client_id: string (uuid)
channel_id: string (uuid)
amount: integer
is_valid: boolean
is_accepted: boolean
is_confirmed: boolean
expires_at: string (date-time)
Example
{
  "id": "string (uuid)",
  "reference": "string",
  "currency": "string",
  "client_id": "string (uuid)",
  "channel_id": "string (uuid)",
  "amount": "integer",
  "is_valid": "boolean",
  "is_accepted": "boolean",
  "is_confirmed": "boolean",
  "expires_at": "string (date-time)"
}

OdrProcessing: object

confirm: string auto, manual
allocation: string auto, manual, none
fulfilment: string auto, manual, none
capture: string auto, manual, none
Example
{
  "confirm": "string",
  "allocation": "string",
  "fulfilment": "string",
  "capture": "string"
}

OdrStack: object

id: string
entity_id: string
entity_type: string
state: OdrStackState
created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "id": "string",
  "entity_id": "string",
  "entity_type": "string",
  "state": {
    "is_accepted": "boolean",
    "is_confirmed": "boolean",
    "is_finished": "boolean"
  },
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}

OdrStackState: object

is_accepted: boolean
is_confirmed: boolean
is_finished: boolean
Example
{
  "is_accepted": "boolean",
  "is_confirmed": "boolean",
  "is_finished": "boolean"
}

OdrOrderModel: object

processing: OdrProcessing
settings: OdrSettings
client_id: string
channel_id: string (uuid)
tags: string[]
string
type: string
metadata: object
Example
{
  "processing": {
    "confirm": "string",
    "allocation": "string",
    "fulfilment": "string",
    "capture": "string"
  },
  "settings": {
    "contact": {
      "id": "string (uuid)"
    },
    "organisation": "#/definitions/OdrSettingsContact",
    "phone_number_id": "string (uuid)",
    "coupons": [
      "string"
    ],
    "due_at": "string (date)",
    "reference": "string (string)",
    "return_url": "string",
    "billing": {
      "address_id": "string (uuid)",
      "method_code": "string",
      "issuer_code": "string",
      "provider_code": "string",
      "vat": {
        "is_shift_disabled": "boolean",
        "is_shift_required": "boolean"
      }
    },
    "shipping": {
      "address_id": "string (uuid)",
      "source_address_id": "string (uuid)",
      "method_id": "string (uuid)",
      "spid": "string",
      "window": {
        "from": "integer",
        "to": "integer",
        "delivery_at": "string (date)",
        "code": "string"
      },
      "is_split_allowed": "boolean"
    }
  },
  "client_id": "string",
  "channel_id": "string (uuid)",
  "tags": [
    "string"
  ],
  "type": "string",
  "metadata": "object"
}

OdrOrderAuthorizationResponse: object

is_locked: boolean true
is_accepted: boolean false
is_confirmed: boolean false
transaction_secret: string
Example
{
  "is_locked": "boolean",
  "is_accepted": "boolean",
  "is_confirmed": "boolean",
  "transaction_secret": "string"
}

OdrReferenceModel: object

entity_id: string
entity_type: string
constraints: OdrSearchConstraint
OdrSearchConstraint
Example
{
  "entity_id": "string",
  "entity_type": "string",
  "constraints": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "string"
      ]
    }
  ]
}

OdrSimpleOrderItem: object

id: string
reference: string
sku: string
description: string
is_inbound: boolean false
Example
{
  "id": "string",
  "reference": "string",
  "sku": "string",
  "description": "string",
  "is_inbound": "boolean"
}

OdrOrderItem: object

id: string
reference: string
sku: string
description: string
order_id: string (uuid)
references: OdrOrderItemReferences
filters: OdrFilter
OdrFilter
Example
{
  "id": "string",
  "reference": "string",
  "sku": "string",
  "description": "string",
  "order_id": "string (uuid)",
  "references": {
    "orders": [
      {
        "id": "string (uuid)",
        "is_inbound": "boolean",
        "is_available": "boolean",
        "is_backorder": "boolean",
        "warehouse": {
          "claimed_at": "string (date-time)",
          "claim_id": "string (uuid)",
          "claim_item_id": "string (uuid)",
          "route_id": "string (uuid)",
          "is_reservation": "boolean",
          "transfer_id": "string (uuid)"
        },
        "shipments": [
          {
            "id": "string (uuid)",
            "is_inbound": "boolean",
            "is_missing": "boolean"
          }
        ],
        "backorders": [
          "string"
        ],
        "target": "string"
      }
    ],
    "stacks": [
      {
        "id": "string",
        "type": "string",
        "state": {
          "is_locked": "boolean",
          "is_accepted": "boolean",
          "is_confirmed": "boolean",
          "is_finished": "boolean"
        }
      }
    ]
  },
  "filters": [
    {
      "key": "string",
      "values": [
        "string"
      ]
    }
  ]
}

OdrOrderItemReferences: object

Example
{
  "orders": [
    {
      "id": "string (uuid)",
      "is_inbound": "boolean",
      "is_available": "boolean",
      "is_backorder": "boolean",
      "warehouse": {
        "claimed_at": "string (date-time)",
        "claim_id": "string (uuid)",
        "claim_item_id": "string (uuid)",
        "route_id": "string (uuid)",
        "is_reservation": "boolean",
        "transfer_id": "string (uuid)"
      },
      "shipments": [
        {
          "id": "string (uuid)",
          "is_inbound": "boolean",
          "is_missing": "boolean"
        }
      ],
      "backorders": [
        "string"
      ],
      "target": "string"
    }
  ],
  "stacks": [
    {
      "id": "string",
      "type": "string",
      "state": {
        "is_locked": "boolean",
        "is_accepted": "boolean",
        "is_confirmed": "boolean",
        "is_finished": "boolean"
      }
    }
  ]
}

OdrOrderItemReferencesOrder: object

id: string (uuid)
is_inbound: boolean false
is_available: boolean false
is_backorder: boolean false
warehouse: OdrOrderItemReferencesOrderWarehouse
shipments: OdrOrderItemReferencesOrderShipment
OdrOrderItemReferencesOrderShipment
backorders: string[]
string
target: string
Example
{
  "id": "string (uuid)",
  "is_inbound": "boolean",
  "is_available": "boolean",
  "is_backorder": "boolean",
  "warehouse": {
    "claimed_at": "string (date-time)",
    "claim_id": "string (uuid)",
    "claim_item_id": "string (uuid)",
    "route_id": "string (uuid)",
    "is_reservation": "boolean",
    "transfer_id": "string (uuid)"
  },
  "shipments": [
    {
      "id": "string (uuid)",
      "is_inbound": "boolean",
      "is_missing": "boolean"
    }
  ],
  "backorders": [
    "string"
  ],
  "target": "string"
}

OdrOrderItemReferencesOrderWarehouse: object

claimed_at: string (date-time)
claim_id: string (uuid)
claim_item_id: string (uuid)
route_id: string (uuid)
is_reservation: boolean false
transfer_id: string (uuid)
Example
{
  "claimed_at": "string (date-time)",
  "claim_id": "string (uuid)",
  "claim_item_id": "string (uuid)",
  "route_id": "string (uuid)",
  "is_reservation": "boolean",
  "transfer_id": "string (uuid)"
}

OdrOrderItemReferencesOrderShipment: object

id: string (uuid)
is_inbound: boolean
is_missing: boolean
Example
{
  "id": "string (uuid)",
  "is_inbound": "boolean",
  "is_missing": "boolean"
}

OdrFilter: object

key: string
values: string[]
string
Example
{
  "key": "string",
  "values": [
    "string"
  ]
}

OdrOrderItemModel: object

sku: string
reference: string (uuid)
description: string
quantity: integer
is_inbound: boolean false
is_backorder: boolean false
item_ids: string[]
string (uuid)
source_order_id: string (uuid)
Example
{
  "sku": "string",
  "reference": "string (uuid)",
  "description": "string",
  "quantity": "integer",
  "is_inbound": "boolean",
  "is_backorder": "boolean",
  "item_ids": [
    "string (uuid)"
  ],
  "source_order_id": "string (uuid)"
}

OdrGroup: object

sku: string
reference: string
description: string
quantity: integer
ids: string[]
string (uuid)
references: OdrGroupReferences
filters: OdrFilter
OdrFilter
Example
{
  "sku": "string",
  "reference": "string",
  "description": "string",
  "quantity": "integer",
  "ids": [
    "string (uuid)"
  ],
  "references": {
    "orders": [
      {
        "id": "string (uuid)",
        "is_inbound": "boolean",
        "is_backordered": "boolean",
        "is_unavailable": "boolean",
        "warehouse": {
          "claim_id": "string (uuid)",
          "delivery_route_id": "string (uuid)",
          "collect_route_id": "string (uuid)",
          "is_reservation": "boolean",
          "address_id": "string",
          "transfer_id": "string (uuid)"
        },
        "shipments": [
          {
            "id": "string (uuid)",
            "is_inbound": "boolean",
            "is_missing": "boolean"
          }
        ]
      }
    ],
    "backorders": [
      "string (uuid)"
    ],
    "target": "string"
  },
  "filters": [
    {
      "key": "string",
      "values": [
        "string"
      ]
    }
  ]
}

OdrGroupReferences: object

orders: OdrGroupReferencesOrder
OdrGroupReferencesOrder
backorders: string[]
string (uuid)
target: string
Example
{
  "orders": [
    {
      "id": "string (uuid)",
      "is_inbound": "boolean",
      "is_backordered": "boolean",
      "is_unavailable": "boolean",
      "warehouse": {
        "claim_id": "string (uuid)",
        "delivery_route_id": "string (uuid)",
        "collect_route_id": "string (uuid)",
        "is_reservation": "boolean",
        "address_id": "string",
        "transfer_id": "string (uuid)"
      },
      "shipments": [
        {
          "id": "string (uuid)",
          "is_inbound": "boolean",
          "is_missing": "boolean"
        }
      ]
    }
  ],
  "backorders": [
    "string (uuid)"
  ],
  "target": "string"
}

OdrGroupReferencesOrder: object

id: string (uuid)
is_inbound: boolean false
is_backordered: boolean false
is_unavailable: boolean
warehouse: OdrGroupReferencesOrderWarehouse
shipments: OdrGroupReferencesOrderShipment
OdrGroupReferencesOrderShipment
Example
{
  "id": "string (uuid)",
  "is_inbound": "boolean",
  "is_backordered": "boolean",
  "is_unavailable": "boolean",
  "warehouse": {
    "claim_id": "string (uuid)",
    "delivery_route_id": "string (uuid)",
    "collect_route_id": "string (uuid)",
    "is_reservation": "boolean",
    "address_id": "string",
    "transfer_id": "string (uuid)"
  },
  "shipments": [
    {
      "id": "string (uuid)",
      "is_inbound": "boolean",
      "is_missing": "boolean"
    }
  ]
}

OdrGroupReferencesOrderWarehouse: object

claim_id: string (uuid)
delivery_route_id: string (uuid)
collect_route_id: string (uuid)
is_reservation: boolean false
address_id: string
transfer_id: string (uuid)
Example
{
  "claim_id": "string (uuid)",
  "delivery_route_id": "string (uuid)",
  "collect_route_id": "string (uuid)",
  "is_reservation": "boolean",
  "address_id": "string",
  "transfer_id": "string (uuid)"
}

OdrGroupReferencesOrderShipment: object

id: string (uuid)
is_inbound: boolean
is_missing: boolean
Example
{
  "id": "string (uuid)",
  "is_inbound": "boolean",
  "is_missing": "boolean"
}

OdrGroupRoute: object

sku: string
reference: string
description: string
quantity: integer
order_id: string (uuid)
ids: string[]
string (uuid)
references: OdrGroupRouteReferences
filters: OdrFilter
OdrFilter
delivery_routes: OdrGroupRouteDeliveryRoute
OdrGroupRouteDeliveryRoute
collect_routes: OdrGroupRouteCollectRoute
OdrGroupRouteCollectRoute
Example
{
  "sku": "string",
  "reference": "string",
  "description": "string",
  "quantity": "integer",
  "order_id": "string (uuid)",
  "ids": [
    "string (uuid)"
  ],
  "references": {
    "orders": [
      {
        "id": "string (uuid)",
        "is_inbound": "boolean",
        "is_backordered": "boolean",
        "is_unavailable": "boolean",
        "warehouse": {
          "claim_id": "string (uuid)",
          "route_id": "string (uuid)",
          "is_reservation": "boolean",
          "transfer_id": "string (uuid)"
        },
        "shipments": [
          {
            "id": "string (uuid)",
            "is_inbound": "boolean",
            "is_missing": "boolean"
          }
        ]
      }
    ],
    "backorders": [
      "string (uuid)"
    ]
  },
  "filters": [
    {
      "key": "string",
      "values": [
        "string"
      ]
    }
  ],
  "delivery_routes": [
    {
      "id": "string (uuid)",
      "name": "string"
    }
  ],
  "collect_routes": [
    {
      "id": "string (uuid)",
      "name": "string",
      "delivery_routes": [
        "string"
      ]
    }
  ]
}

OdrGroupRouteReferences: object

orders: OdrGroupRouteReferencesOrder
OdrGroupRouteReferencesOrder
backorders: string[]
string (uuid)
Example
{
  "orders": [
    {
      "id": "string (uuid)",
      "is_inbound": "boolean",
      "is_backordered": "boolean",
      "is_unavailable": "boolean",
      "warehouse": {
        "claim_id": "string (uuid)",
        "route_id": "string (uuid)",
        "is_reservation": "boolean",
        "transfer_id": "string (uuid)"
      },
      "shipments": [
        {
          "id": "string (uuid)",
          "is_inbound": "boolean",
          "is_missing": "boolean"
        }
      ]
    }
  ],
  "backorders": [
    "string (uuid)"
  ]
}

OdrGroupRouteReferencesOrder: object

id: string (uuid)
is_inbound: boolean false
is_backordered: boolean false
is_unavailable: boolean
warehouse: OdrGroupRouteReferencesOrderWarehouse
shipments: OdrGroupRouteReferencesOrderShipment
OdrGroupRouteReferencesOrderShipment
Example
{
  "id": "string (uuid)",
  "is_inbound": "boolean",
  "is_backordered": "boolean",
  "is_unavailable": "boolean",
  "warehouse": {
    "claim_id": "string (uuid)",
    "route_id": "string (uuid)",
    "is_reservation": "boolean",
    "transfer_id": "string (uuid)"
  },
  "shipments": [
    {
      "id": "string (uuid)",
      "is_inbound": "boolean",
      "is_missing": "boolean"
    }
  ]
}

OdrGroupRouteReferencesOrderWarehouse: object

claim_id: string (uuid)
route_id: string (uuid)
is_reservation: boolean false
transfer_id: string (uuid)
Example
{
  "claim_id": "string (uuid)",
  "route_id": "string (uuid)",
  "is_reservation": "boolean",
  "transfer_id": "string (uuid)"
}

OdrGroupRouteReferencesOrderShipment: object

id: string (uuid)
is_inbound: boolean
is_missing: boolean
Example
{
  "id": "string (uuid)",
  "is_inbound": "boolean",
  "is_missing": "boolean"
}

OdrGroupRouteDeliveryRoute: object

id: string (uuid)
name: string
Example
{
  "id": "string (uuid)",
  "name": "string"
}

OdrGroupRouteCollectRoute: object

id: string (uuid)
name: string
delivery_routes: string[]

delivery routes that originate from the collect route

string
Example
{
  "id": "string (uuid)",
  "name": "string",
  "delivery_routes": [
    "string"
  ]
}

OdrGroupAttach: object

sku: string
reference: string
description: string
quantity: integer
order_id: string (uuid)
ids: string[]
string (uuid)
references: OdrGroupRouteReferences
filters: OdrFilter
OdrFilter
inventory_item_ids: string[]
string (uuid)
available: number
Example
{
  "sku": "string",
  "reference": "string",
  "description": "string",
  "quantity": "integer",
  "order_id": "string (uuid)",
  "ids": [
    "string (uuid)"
  ],
  "references": {
    "orders": [
      {
        "id": "string (uuid)",
        "is_inbound": "boolean",
        "is_backordered": "boolean",
        "is_unavailable": "boolean",
        "warehouse": {
          "claim_id": "string (uuid)",
          "route_id": "string (uuid)",
          "is_reservation": "boolean",
          "transfer_id": "string (uuid)"
        },
        "shipments": [
          {
            "id": "string (uuid)",
            "is_inbound": "boolean",
            "is_missing": "boolean"
          }
        ]
      }
    ],
    "backorders": [
      "string (uuid)"
    ]
  },
  "filters": [
    {
      "key": "string",
      "values": [
        "string"
      ]
    }
  ],
  "inventory_item_ids": [
    "string (uuid)"
  ],
  "available": "number"
}

OdrStackReference: object

id: string
type: string
state: OdrStackReferenceState
Example
{
  "id": "string",
  "type": "string",
  "state": {
    "is_locked": "boolean",
    "is_accepted": "boolean",
    "is_confirmed": "boolean",
    "is_finished": "boolean"
  }
}

OdrStackReferenceState: object

is_locked: boolean
is_accepted: boolean
is_confirmed: boolean
is_finished: boolean
Example
{
  "is_locked": "boolean",
  "is_accepted": "boolean",
  "is_confirmed": "boolean",
  "is_finished": "boolean"
}

OdrSearch: object

Example
{
  "constraints": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "string"
      ]
    }
  ],
  "filters": [
    {
      "key": "string",
      "values": [
        "string"
      ]
    }
  ]
}

OdrSearchConstraint: object

key: string item_ids, order_ids, stack_ids, skus, order_count, is_unavailable, is_backordered, is_inbound, backorder_count, backorder_ids, target, shipment_count
operator: string in, gte, lte
values: string[]
string
Example
{
  "key": "string",
  "operator": "string",
  "values": [
    "string"
  ]
}

OdrOrderSearch: object

Example
{
  "constraints": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "string"
      ]
    }
  ]
}

OdrOrderSearchConstraint: object

key: string ids
operator: string in
values: string[]
string
Example
{
  "key": "string",
  "operator": "string",
  "values": [
    "string"
  ]
}

OdrSearchFilter: object

key: string
values: string[]
string
Example
{
  "key": "string",
  "values": [
    "string"
  ]
}

OdrFilterSearch: object

Example
{
  "constraints": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "string"
      ]
    }
  ]
}

OdrFilterSearchConstraint: object

key: string skus
operator: string in, gte, lte
values: string[]
string
Example
{
  "key": "string",
  "operator": "string",
  "values": [
    "string"
  ]
}

OdrSetClaimRequest: object

item_id: string (uuid)
claim_id: string (uuid)
claim_item_id: string (uuid)
Example
{
  "item_id": "string (uuid)",
  "claim_id": "string (uuid)",
  "claim_item_id": "string (uuid)"
}

OdrSku: object

sku: string
description: string
expires_at: string (date-time)
Example
{
  "sku": "string",
  "description": "string",
  "expires_at": "string (date-time)"
}

OdrSetRouteRequest: object

item_ids: string[]
string (uuid)
delivery_route_id: string (uuid)
collect_route_id: string (uuid)
Example
{
  "item_ids": [
    "string (uuid)"
  ],
  "delivery_route_id": "string (uuid)",
  "collect_route_id": "string (uuid)"
}

OdrSkuResult: object

status: string
count: integer
Example
{
  "status": "string",
  "count": "integer"
}

IntApp: object

code: string
name: string
description: string
tags: string[]
string
author: IntAuthor
is_published: boolean
is_duplicate_allowed: boolean false
authentication: object
type: string redirect, post
schema: string
config_schema: string
Example
{
  "code": "string",
  "name": "string",
  "description": "string",
  "tags": [
    "string"
  ],
  "author": {
    "name": "string",
    "description": "string",
    "url": "string",
    "is_third_party": "boolean"
  },
  "is_published": "boolean",
  "is_duplicate_allowed": "boolean",
  "authentication": {
    "type": "string",
    "schema": "string"
  },
  "config_schema": "string"
}

IntAuthor: object

name: string
description: string
url: string
is_third_party: boolean
Example
{
  "name": "string",
  "description": "string",
  "url": "string",
  "is_third_party": "boolean"
}

IntIntegration: object

id: integer
name: string
configuration: object
app_code: string
is_installed: boolean
active_at: string (date-time)
deleted_at: string (date-time)
created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "id": "integer",
  "name": "string",
  "configuration": "object",
  "app_code": "string",
  "is_installed": "boolean",
  "active_at": "string (date-time)",
  "deleted_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}

IntIntegrationModel: object

name: string
credentials: object
configuration: object
Example
{
  "name": "string",
  "credentials": "object",
  "configuration": "object"
}

IntInstallResult: object

state: string pending_authentication, success, failed
redirect_url: string
Example
{
  "state": "string",
  "redirect_url": "string"
}

MesMailModel: object

from: MesContactModel
to: MesContactModel
MesContactModel
cc: MesContactModel
MesContactModel
bcc: MesContactModel
MesContactModel
reply_to: MesContactModel
subject: string
html_body: string
attachments: string[]
string
folder: string
is_unread: boolean
metadata: object
Example
{
  "from": {
    "name": "string",
    "email": "string"
  },
  "to": [
    "#/definitions/MesContactModel"
  ],
  "cc": [
    "#/definitions/MesContactModel"
  ],
  "bcc": [
    "#/definitions/MesContactModel"
  ],
  "reply_to": "#/definitions/MesContactModel",
  "subject": "string",
  "html_body": "string",
  "attachments": [
    "string"
  ],
  "folder": "string",
  "is_unread": "boolean",
  "metadata": "object"
}

MesFormMailModel: object

from: MesContactModel
to: MesContactModel
MesContactModel
cc: MesContactModel
MesContactModel
bcc: MesContactModel
MesContactModel
reply_to: MesContactModel
recaptcha_response: string
subject: string
html_body: string
attachments: string[]
string
folder: string sent
is_unread: boolean
metadata: object
Example
{
  "from": {
    "name": "string",
    "email": "string"
  },
  "to": [
    "#/definitions/MesContactModel"
  ],
  "cc": [
    "#/definitions/MesContactModel"
  ],
  "bcc": [
    "#/definitions/MesContactModel"
  ],
  "reply_to": "#/definitions/MesContactModel",
  "recaptcha_response": "string",
  "subject": "string",
  "html_body": "string",
  "attachments": [
    "string"
  ],
  "folder": "string",
  "is_unread": "boolean",
  "metadata": "object"
}

MesContactModel: object

name: string
email: string
Example
{
  "name": "string",
  "email": "string"
}

MesMail: object

id: string
from: MesContactModel
to: MesContactModel
MesContactModel
cc: MesContactModel
MesContactModel
bcc: MesContactModel
MesContactModel
reply_to: MesContactModel
subject: string
html_body: string
attachments: string[]
string
folder: string inbox, concept, sent, spam
is_unread: boolean
inbox_id: string
metadata: object
delivered_at: string (date-time)
created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "id": "string",
  "from": {
    "name": "string",
    "email": "string"
  },
  "to": [
    "#/definitions/MesContactModel"
  ],
  "cc": [
    "#/definitions/MesContactModel"
  ],
  "bcc": [
    "#/definitions/MesContactModel"
  ],
  "reply_to": "#/definitions/MesContactModel",
  "subject": "string",
  "html_body": "string",
  "attachments": [
    "string"
  ],
  "folder": "string",
  "is_unread": "boolean",
  "inbox_id": "string",
  "metadata": "object",
  "delivered_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}

MesInbox: object

id: string
label: string
fqdn: string
prefix: string
user_id: string
folders: string[]
string
settings: MesInboxSettings
created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "id": "string",
  "label": "string",
  "fqdn": "string",
  "prefix": "string",
  "user_id": "string",
  "folders": [
    "string"
  ],
  "settings": {
    "recaptcha_integration_id": "string (uuid)"
  },
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}

MesInboxModel: object

label: string
fqdn: string
prefix: string
user_id: string

ID of the user; only allowed for non to.afosto.io domains

settings: MesInboxSettings
Example
{
  "label": "string",
  "fqdn": "string",
  "prefix": "string",
  "user_id": "string",
  "settings": {
    "recaptcha_integration_id": "string (uuid)"
  }
}

MesInboxSettings: object

recaptcha_integration_id: string (uuid)
Example
{
  "recaptcha_integration_id": "string (uuid)"
}

MesInboxUpdateModel: object

label: string
user_id: string
settings: MesInboxSettings
Example
{
  "label": "string",
  "user_id": "string",
  "settings": {
    "recaptcha_integration_id": "string (uuid)"
  }
}

MesDnsRecord: object

type: string
name: string
value: string
is_verified: boolean false
Example
{
  "type": "string",
  "name": "string",
  "value": "string",
  "is_verified": "boolean"
}

MesDomain: object

id: string
is_verified: boolean
dns: MesDnsRecord
MesDnsRecord
tenant_id: string
created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "id": "string",
  "is_verified": "boolean",
  "dns": [
    {
      "type": "string",
      "name": "string",
      "value": "string",
      "is_verified": "boolean"
    }
  ],
  "tenant_id": "string",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}

MesDomainModel: object

fqdn: string
Example
{
  "fqdn": "string"
}

OdrCoupon: object

code: string
usage: OdrCouponUsage
category_id: string (uuid)
claims: OdrCouponClaim
OdrCouponClaim
expires_at: string (date-time)
created_at: string (date-time)
Example
{
  "code": "string",
  "usage": {
    "is_unlimited": "boolean",
    "remaining": "integer"
  },
  "category_id": "string (uuid)",
  "claims": [
    {
      "order_id": "string (uuid)",
      "is_confirmed": "boolean"
    }
  ],
  "expires_at": "string (date-time)",
  "created_at": "string (date-time)"
}

OdrCouponUsage: object

is_unlimited: boolean false
remaining: integer
Example
{
  "is_unlimited": "boolean",
  "remaining": "integer"
}

OdrCouponClaim: object

order_id: string (uuid)
is_confirmed: boolean
Example
{
  "order_id": "string (uuid)",
  "is_confirmed": "boolean"
}

OdrCouponModel: object

code: string
usage: OdrCouponUsage
category_id: string (uuid)
expires_at: string (date-time)
Example
{
  "code": "string",
  "usage": {
    "is_unlimited": "boolean",
    "remaining": "integer"
  },
  "category_id": "string (uuid)",
  "expires_at": "string (date-time)"
}

OdrCouponCategory: object

id: string (uuid)
name: string
defaults: OdrCouponCategoryDefaults
created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "id": "string (uuid)",
  "name": "string",
  "defaults": {
    "expires_after": "integer",
    "usage": {
      "is_unlimited": "boolean",
      "limit": "integer"
    }
  },
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}

OdrCouponCategoryDefaults: object

expires_after: integer

Time in seconds

usage: OdrCouponCategoryDefaultsUsage
Example
{
  "expires_after": "integer",
  "usage": {
    "is_unlimited": "boolean",
    "limit": "integer"
  }
}

OdrCouponCategoryDefaultsUsage: object

is_unlimited: boolean false
limit: integer
Example
{
  "is_unlimited": "boolean",
  "limit": "integer"
}

OdrCouponCategoryModel: object

name: string
defaults: OdrCouponCategoryDefaults
Example
{
  "name": "string",
  "defaults": {
    "expires_after": "integer",
    "usage": {
      "is_unlimited": "boolean",
      "limit": "integer"
    }
  }
}

OdrConstraintOptionsResponse: object

amount: string[]
string
Example
{
  "amount": [
    "string"
  ]
}

OdrService: object

id: string (uuid)
name: string
constraints: OdrPricingRuleConstraint
OdrPricingRuleConstraint
type: string handling, shipping
amount: number
is_percentage: boolean
vat_settings: OdrServiceVatConfiguration
OdrServiceVatConfiguration
priority: integer
metadata: object
active_at: string (date-time)
expires_at: string (date-time)
created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "id": "string (uuid)",
  "name": "string",
  "constraints": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "object"
      ]
    }
  ],
  "type": "string",
  "amount": "number",
  "is_percentage": "boolean",
  "vat_settings": [
    {
      "type": "string",
      "reference": "integer",
      "country_code": "string"
    }
  ],
  "priority": "integer",
  "metadata": "object",
  "active_at": "string (date-time)",
  "expires_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}

OdrServiceModel: object

name: string
constraints: OdrPricingRuleConstraint
OdrPricingRuleConstraint
type: string handling, shipping
amount: number
is_percentage: boolean
vat_settings: OdrServiceVatConfiguration
OdrServiceVatConfiguration
priority: integer
metadata: object
active_at: string (date-time)
expires_at: string (date-time)
Example
{
  "name": "string",
  "constraints": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "object"
      ]
    }
  ],
  "type": "string",
  "amount": "number",
  "is_percentage": "boolean",
  "vat_settings": [
    {
      "type": "string",
      "reference": "integer",
      "country_code": "string"
    }
  ],
  "priority": "integer",
  "metadata": "object",
  "active_at": "string (date-time)",
  "expires_at": "string (date-time)"
}

OdrServiceVatConfiguration: object

type: string fixed, max, weighed
reference: integer
country_code: string
Example
{
  "type": "string",
  "reference": "integer",
  "country_code": "string"
}

OdrCalculatedInvoiceRequest: object

order_item_ids: string[]
string (uuid)
Example
{
  "order_item_ids": [
    "string (uuid)"
  ]
}

OdrListedCalculation: object

id: string
number: string
reference: string
subtotal: integer
adjustments: OdrCalculationAdjustment
OdrCalculationAdjustment
total: integer
vat: OdrVatResult
OdrVatResult
currency: string
customer: OdrContact
vendor: OdrContact
is_including_vat: boolean
is_vat_shifted: boolean
is_prepaid: boolean
client_id: string
channel_id: string (uuid)
file_id: string
metadata: object
pricing_at: string (date-time)
invoiced_at: string (date-time)
prepaid_at: string (date-time)
order_ids: string[]
string
created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "id": "string",
  "number": "string",
  "reference": "string",
  "subtotal": "integer",
  "adjustments": [
    {
      "reference": "string",
      "description": "string",
      "amount": "number",
      "is_percentage": "boolean",
      "is_discount": "boolean",
      "result": {
        "is_applied_rule": "boolean",
        "rule_id": "string",
        "output": "integer"
      }
    }
  ],
  "total": "integer",
  "vat": [
    {
      "rate": "integer",
      "amount": "integer"
    }
  ],
  "currency": "string",
  "customer": {
    "tags": [
      "string"
    ],
    "vat_country_code": "string",
    "contact": {
      "email": "string",
      "vat_number": "string",
      "coc_number": "string",
      "organisation_id": "string",
      "organisation_version": "string",
      "address_id": "string",
      "phone_number_id": "string",
      "id": "string",
      "version": "string"
    }
  },
  "vendor": "#/definitions/OdrContact",
  "is_including_vat": "boolean",
  "is_vat_shifted": "boolean",
  "is_prepaid": "boolean",
  "client_id": "string",
  "channel_id": "string (uuid)",
  "file_id": "string",
  "metadata": "object",
  "pricing_at": "string (date-time)",
  "invoiced_at": "string (date-time)",
  "prepaid_at": "string (date-time)",
  "order_ids": [
    "string"
  ],
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}

OdrCalculation: object

id: string
number: string
reference: string
items: OdrCalculationItem
OdrCalculationItem
services: OdrServiceItem
OdrServiceItem
subtotal: integer
adjustments: OdrCalculationAdjustment
OdrCalculationAdjustment
total: integer
vat: OdrVatResult
OdrVatResult
currency: string
customer: OdrContact
vendor: OdrContact
is_including_vat: boolean
is_vat_shifted: boolean
is_prepaid: boolean
client_id: string
channel_id: string (uuid)
file_id: string
metadata: object
pricing_at: string (date-time)
invoiced_at: string (date-time)
prepaid_at: string (date-time)
order_ids: string[]
string
coupons: string[]
string
created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "id": "string",
  "number": "string",
  "reference": "string",
  "items": [
    {
      "id": "string",
      "reference": "string",
      "sku": "string",
      "description": "string",
      "type": "string",
      "amount": "integer",
      "is_discounted": "boolean",
      "quantity": "integer",
      "subtotal": "integer",
      "adjustments": [
        {
          "reference": "string",
          "description": "string",
          "amount": "number",
          "is_percentage": "boolean",
          "is_discount": "boolean",
          "result": {
            "is_applied_rule": "boolean",
            "rule_id": "string",
            "output": "integer"
          }
        }
      ],
      "vat_percentage": "integer",
      "total": "integer",
      "total_revenue": "integer",
      "order_items": [
        {
          "id": "string",
          "is_invoiced": "boolean",
          "invoice_id": "string"
        }
      ]
    }
  ],
  "services": [
    {
      "description": "string",
      "type": "string",
      "amount": "number",
      "is_percentage": "boolean",
      "quantity": "integer",
      "subtotal": "integer",
      "adjustments": [
        {
          "reference": "string",
          "description": "string",
          "amount": "number",
          "is_percentage": "boolean",
          "is_discount": "boolean",
          "result": {
            "is_applied_rule": "boolean",
            "rule_id": "string (uuid)",
            "output": "integer"
          }
        }
      ],
      "vat_percentage": "integer",
      "total": "integer"
    }
  ],
  "subtotal": "integer",
  "adjustments": [
    "#/definitions/OdrCalculationAdjustment"
  ],
  "total": "integer",
  "vat": [
    {
      "rate": "integer",
      "amount": "integer"
    }
  ],
  "currency": "string",
  "customer": {
    "tags": [
      "string"
    ],
    "vat_country_code": "string",
    "contact": {
      "email": "string",
      "vat_number": "string",
      "coc_number": "string",
      "organisation_id": "string",
      "organisation_version": "string",
      "address_id": "string",
      "phone_number_id": "string",
      "id": "string",
      "version": "string"
    }
  },
  "vendor": "#/definitions/OdrContact",
  "is_including_vat": "boolean",
  "is_vat_shifted": "boolean",
  "is_prepaid": "boolean",
  "client_id": "string",
  "channel_id": "string (uuid)",
  "file_id": "string",
  "metadata": "object",
  "pricing_at": "string (date-time)",
  "invoiced_at": "string (date-time)",
  "prepaid_at": "string (date-time)",
  "order_ids": [
    null
  ]
}

OdrCalculationItem: object

id: string
reference: string
sku: string
description: string
type: string product, handling, shipping
amount: integer
is_discounted: boolean
quantity: integer
subtotal: integer
adjustments: OdrCalculationAdjustment
OdrCalculationAdjustment
vat_percentage: integer
total: integer
total_revenue: integer
order_items: OdrCalculationOrderItem
OdrCalculationOrderItem
Example
{
  "id": "string",
  "reference": "string",
  "sku": "string",
  "description": "string",
  "type": "string",
  "amount": "integer",
  "is_discounted": "boolean",
  "quantity": "integer",
  "subtotal": "integer",
  "adjustments": [
    {
      "reference": "string",
      "description": "string",
      "amount": "number",
      "is_percentage": "boolean",
      "is_discount": "boolean",
      "result": {
        "is_applied_rule": "boolean",
        "rule_id": "string",
        "output": "integer"
      }
    }
  ],
  "vat_percentage": "integer",
  "total": "integer",
  "total_revenue": "integer",
  "order_items": [
    {
      "id": "string",
      "is_invoiced": "boolean",
      "invoice_id": "string"
    }
  ]
}

OdrInvoiceItem: object

id: string (uuid)

The ID of this invoice item

sku: string
description: string
type: string product, handling, shipping, purchasable
amount: integer
is_discounted: boolean
quantity: integer
subtotal: integer
adjustments: OdrInvoiceAdjustmentResponse
OdrInvoiceAdjustmentResponse
vat_percentage: integer
total: integer
total_revenue: integer
order_items: OdrCalculationOrderItem
OdrCalculationOrderItem
Example
{
  "id": "string (uuid)",
  "sku": "string",
  "description": "string",
  "type": "string",
  "amount": "integer",
  "is_discounted": "boolean",
  "quantity": "integer",
  "subtotal": "integer",
  "adjustments": [
    {
      "reference": "string",
      "description": "string",
      "amount": "number",
      "is_percentage": "boolean",
      "is_discount": "boolean",
      "result": {
        "output": "integer"
      }
    }
  ],
  "vat_percentage": "integer",
  "total": "integer",
  "total_revenue": "integer",
  "order_items": [
    {
      "id": "string",
      "is_invoiced": "boolean",
      "invoice_id": "string"
    }
  ]
}

OdrCalculationOrderItem: object

id: string
is_invoiced: boolean
invoice_id: string
Example
{
  "id": "string",
  "is_invoiced": "boolean",
  "invoice_id": "string"
}

OdrInvoiceState: object

paid_at: string (date)
Example
{
  "paid_at": "string (date)"
}

OdrInvoice: object

id: string
number: string
reference: string
items: OdrInvoiceItem
OdrInvoiceItem
services: OdrServiceItem
OdrServiceItem
settings: OdrInvoiceSettings
subtotal: integer
adjustments: OdrInvoiceAdjustmentResponse
OdrInvoiceAdjustmentResponse
total: integer
vat: OdrVatResult
OdrVatResult
currency: string
customer: OdrContact
vendor: OdrContact
is_including_vat: boolean
is_vat_shifted: boolean
is_paid: boolean
client_id: string
channel_id: string (uuid)
file_id: string
metadata: object
pricing_at: string (date-time)
paid_at: string (date-time)
order_ids: string[]
string (uuid)
coupons: string[]
string (uuid)
calculation_id: string (uuid)
shipment_id: string (uuid)
created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "id": "string",
  "number": "string",
  "reference": "string",
  "items": [
    {
      "id": "string (uuid)",
      "sku": "string",
      "description": "string",
      "type": "string",
      "amount": "integer",
      "is_discounted": "boolean",
      "quantity": "integer",
      "subtotal": "integer",
      "adjustments": [
        {
          "reference": "string",
          "description": "string",
          "amount": "number",
          "is_percentage": "boolean",
          "is_discount": "boolean",
          "result": {
            "output": "integer"
          }
        }
      ],
      "vat_percentage": "integer",
      "total": "integer",
      "total_revenue": "integer",
      "order_items": [
        {
          "id": "string",
          "is_invoiced": "boolean",
          "invoice_id": "string"
        }
      ]
    }
  ],
  "services": [
    {
      "description": "string",
      "type": "string",
      "amount": "number",
      "is_percentage": "boolean",
      "quantity": "integer",
      "subtotal": "integer",
      "adjustments": [
        {
          "reference": "string",
          "description": "string",
          "amount": "number",
          "is_percentage": "boolean",
          "is_discount": "boolean",
          "result": {
            "is_applied_rule": "boolean",
            "rule_id": "string (uuid)",
            "output": "integer"
          }
        }
      ],
      "vat_percentage": "integer",
      "total": "integer"
    }
  ],
  "settings": {
    "billing": {
      "method_code": "string",
      "issuer_code": "string",
      "provider_code": "string",
      "vat": {
        "is_shift_disabled": "boolean",
        "is_shift_required": "boolean"
      }
    },
    "shipping": {
      "method_id": "string"
    }
  },
  "subtotal": "integer",
  "adjustments": [
    "#/definitions/OdrInvoiceAdjustmentResponse"
  ],
  "total": "integer",
  "vat": [
    {
      "rate": "integer",
      "amount": "integer"
    }
  ],
  "currency": "string",
  "customer": {
    "tags": [
      "string"
    ],
    "vat_country_code": "string",
    "contact": {
      "email": "string",
      "vat_number": "string",
      "coc_number": "string",
      "organisation_id": "string",
      "organisation_version": "string",
      "address_id": "string",
      "phone_number_id": "string",
      "id": "string",
      "version": "string"
    }
  },
  "vendor": "#/definitions/OdrContact"
}

OdrInvoiceSettings: object

Example
{
  "billing": {
    "method_code": "string",
    "issuer_code": "string",
    "provider_code": "string",
    "vat": {
      "is_shift_disabled": "boolean",
      "is_shift_required": "boolean"
    }
  },
  "shipping": {
    "method_id": "string"
  }
}

OdrInvoiceSettingsBilling: object

method_code: string
issuer_code: string
provider_code: string
vat: OdrInvoiceSettingsBillingVat
Example
{
  "method_code": "string",
  "issuer_code": "string",
  "provider_code": "string",
  "vat": {
    "is_shift_disabled": "boolean",
    "is_shift_required": "boolean"
  }
}

OdrInvoiceSettingsBillingVat: object

is_shift_disabled: boolean
is_shift_required: boolean
Example
{
  "is_shift_disabled": "boolean",
  "is_shift_required": "boolean"
}

OdrInvoiceSettingsShipping: object

method_id: string
Example
{
  "method_id": "string"
}

OdrInvoiceListItem: object

id: string
number: string
reference: string
count: integer
subtotal: integer
adjustments: OdrInvoiceAdjustmentResponse
OdrInvoiceAdjustmentResponse
total: integer
vat: OdrVatResult
OdrVatResult
currency: string
customer: OdrContact
vendor: OdrContact
is_including_vat: boolean
is_vat_shifted: boolean
is_paid: boolean
client_id: string
channel_id: string (uuid)
file_id: string
metadata: object
pricing_at: string (date-time)
invoiced_at: string (date-time)
paid_at: string (date-time)
created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "id": "string",
  "number": "string",
  "reference": "string",
  "count": "integer",
  "subtotal": "integer",
  "adjustments": [
    {
      "reference": "string",
      "description": "string",
      "amount": "number",
      "is_percentage": "boolean",
      "is_discount": "boolean",
      "result": {
        "output": "integer"
      }
    }
  ],
  "total": "integer",
  "vat": [
    {
      "rate": "integer",
      "amount": "integer"
    }
  ],
  "currency": "string",
  "customer": {
    "tags": [
      "string"
    ],
    "vat_country_code": "string",
    "contact": {
      "email": "string",
      "vat_number": "string",
      "coc_number": "string",
      "organisation_id": "string",
      "organisation_version": "string",
      "address_id": "string",
      "phone_number_id": "string",
      "id": "string",
      "version": "string"
    }
  },
  "vendor": "#/definitions/OdrContact",
  "is_including_vat": "boolean",
  "is_vat_shifted": "boolean",
  "is_paid": "boolean",
  "client_id": "string",
  "channel_id": "string (uuid)",
  "file_id": "string",
  "metadata": "object",
  "pricing_at": "string (date-time)",
  "invoiced_at": "string (date-time)",
  "paid_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}

OdrInvoiceRequest: object

reference: string
client_id: string
channel_id: string (uuid)
contact_id: string
organisation_id: string
address_id: string
items: OdrInvoiceItemModel
OdrInvoiceItemModel
adjustments: OdrAdjustment
OdrAdjustment
currency: string
pricing_at: string (date-time)
metadata: object
Example
{
  "reference": "string",
  "client_id": "string",
  "channel_id": "string (uuid)",
  "contact_id": "string",
  "organisation_id": "string",
  "address_id": "string",
  "items": [
    {
      "reference": "string",
      "sku": "string",
      "description": "string",
      "amount": "integer",
      "is_discounted": "boolean",
      "quantity": "integer",
      "adjustments": [
        {
          "reference": "string",
          "description": "string",
          "amount": "number",
          "is_percentage": "boolean",
          "is_discount": "boolean"
        }
      ],
      "vat_percentage": "integer"
    }
  ],
  "adjustments": [
    "#/definitions/OdrAdjustment"
  ],
  "currency": "string",
  "pricing_at": "string (date-time)",
  "metadata": "object"
}

OdrInvoiceItemModel: object

reference: string
sku: string
description: string
amount: integer
is_discounted: boolean
quantity: integer
adjustments: OdrAdjustment
OdrAdjustment
vat_percentage: integer
Example
{
  "reference": "string",
  "sku": "string",
  "description": "string",
  "amount": "integer",
  "is_discounted": "boolean",
  "quantity": "integer",
  "adjustments": [
    {
      "reference": "string",
      "description": "string",
      "amount": "number",
      "is_percentage": "boolean",
      "is_discount": "boolean"
    }
  ],
  "vat_percentage": "integer"
}

OdrItemModel: object

reference: string
sku: string
description: string
amount: integer
is_discounted: boolean
quantity: integer
adjustments: OdrAdjustment
OdrAdjustment
vat_percentage: integer
Example
{
  "reference": "string",
  "sku": "string",
  "description": "string",
  "amount": "integer",
  "is_discounted": "boolean",
  "quantity": "integer",
  "adjustments": [
    {
      "reference": "string",
      "description": "string",
      "amount": "number",
      "is_percentage": "boolean",
      "is_discount": "boolean"
    }
  ],
  "vat_percentage": "integer"
}

OdrProjectionModel: object

client_id: string
currency: string
items: OdrItemModel
OdrItemModel
adjustments: OdrAdjustment
OdrAdjustment
contact_id: string
organisation_id: string
pricing_at: string (date-time)
coupons: string[]
string
settings: OdrProjectionModelSettings
Example
{
  "client_id": "string",
  "currency": "string",
  "items": [
    {
      "reference": "string",
      "sku": "string",
      "description": "string",
      "amount": "integer",
      "is_discounted": "boolean",
      "quantity": "integer",
      "adjustments": [
        {
          "reference": "string",
          "description": "string",
          "amount": "number",
          "is_percentage": "boolean",
          "is_discount": "boolean"
        }
      ],
      "vat_percentage": "integer"
    }
  ],
  "adjustments": [
    "#/definitions/OdrAdjustment"
  ],
  "contact_id": "string",
  "organisation_id": "string",
  "pricing_at": "string (date-time)",
  "coupons": [
    "string"
  ],
  "settings": {
    "billing": {
      "method_code": "string",
      "issuer_code": "string",
      "provider_code": "string",
      "vat": {
        "is_shift_disabled": "boolean",
        "is_shift_required": "boolean"
      }
    },
    "shipping": {
      "method_id": "string"
    }
  }
}

OdrProjectionModelSettings: object

Example
{
  "billing": {
    "method_code": "string",
    "issuer_code": "string",
    "provider_code": "string",
    "vat": {
      "is_shift_disabled": "boolean",
      "is_shift_required": "boolean"
    }
  },
  "shipping": {
    "method_id": "string"
  }
}

OdrProjectionModelSettingsBilling: object

method_code: string
issuer_code: string
provider_code: string
vat: OdrProjectionModelSettingsBillingVat
Example
{
  "method_code": "string",
  "issuer_code": "string",
  "provider_code": "string",
  "vat": {
    "is_shift_disabled": "boolean",
    "is_shift_required": "boolean"
  }
}

OdrProjectionModelSettingsBillingVat: object

is_shift_disabled: boolean false
is_shift_required: boolean false
Example
{
  "is_shift_disabled": "boolean",
  "is_shift_required": "boolean"
}

OdrProjectionModelSettingsShipping: object

method_id: string
Example
{
  "method_id": "string"
}

OdrInvoiceAdjustmentResponse: object

reference: string
description: string
amount: number 0
is_percentage: boolean
is_discount: boolean
result: OdrInvoiceAdjustmentResponseResult
Example
{
  "reference": "string",
  "description": "string",
  "amount": "number",
  "is_percentage": "boolean",
  "is_discount": "boolean",
  "result": {
    "output": "integer"
  }
}

OdrInvoiceAdjustmentResponseResult: object

output: integer

The result of the rule. Will be negative in case of a discount.

Example
{
  "output": "integer"
}

OdrPricingRuleModel: object

name: string
constraints: OdrPricingRuleConstraint
OdrPricingRuleConstraint
filters: OdrPricingRuleFilter
OdrPricingRuleFilter
adjustments: OdrAdjustment
OdrAdjustment
apply_to: string lines_handling, lines_shipping, lines_cheapest, lines_all, filter_result, filter_cheapest
grant_limit: integer 0
priority: integer
is_last_rule: boolean
evaluate_at: string rule, order, line
metadata: object
active_at: string (date-time)
expires_at: string (date-time)
Example
{
  "name": "string",
  "constraints": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "object"
      ]
    }
  ],
  "filters": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "object"
      ]
    }
  ],
  "adjustments": [
    {
      "reference": "string",
      "description": "string",
      "amount": "number",
      "is_percentage": "boolean",
      "is_discount": "boolean"
    }
  ],
  "apply_to": "string",
  "grant_limit": "integer",
  "priority": "integer",
  "is_last_rule": "boolean",
  "evaluate_at": "string",
  "metadata": "object",
  "active_at": "string (date-time)",
  "expires_at": "string (date-time)"
}

OdrPricingRule: object

id: string
name: string
constraints: OdrPricingRuleConstraint
OdrPricingRuleConstraint
filters: OdrPricingRuleFilter
OdrPricingRuleFilter
adjustments: OdrAdjustment
OdrAdjustment
apply_to: string lines_handling, lines_shipping, lines_cheapest, lines_all, filter_result, filter_cheapest
grant_limit: integer 0
priority: integer
evaluate_at: string rule, order, line
is_last_rule: boolean
metadata: object
active_at: string (date-time)
expires_at: string (date-time)
created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "id": "string",
  "name": "string",
  "constraints": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "object"
      ]
    }
  ],
  "filters": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "object"
      ]
    }
  ],
  "adjustments": [
    {
      "reference": "string",
      "description": "string",
      "amount": "number",
      "is_percentage": "boolean",
      "is_discount": "boolean"
    }
  ],
  "apply_to": "string",
  "grant_limit": "integer",
  "priority": "integer",
  "evaluate_at": "string",
  "is_last_rule": "boolean",
  "metadata": "object",
  "active_at": "string (date-time)",
  "expires_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}

OdrPricingRuleFilter: object

key: string sku, filter, is_discounted, per
operator: string in
values: object[]
object
Example
{
  "key": "string",
  "operator": "string",
  "values": [
    "object"
  ]
}

OdrPricingRuleConstraint: object

key: string quantity, amount, client, tags, shipping_method, payment_method, coupon
operator: string in, gte, gt, lte, lt
values: object[]
object
Example
{
  "key": "string",
  "operator": "string",
  "values": [
    "object"
  ]
}

OdrPriceRuleEvaluation: object

pricing_at: string (date-time)
quantity: integer

Count of items on invoice

amount: integer

Invoice total

client: string

Id of the client that should be used

tags: string[]

Tags of customer groups

string
shipping_method: string

Id of shipping method that should be used

payment_method: string

Id of payment method that should be used

coupons: string[]

Ids of coupons that should be tested

string
items: OdrEvaluationItem
OdrEvaluationItem
Example
{
  "pricing_at": "string (date-time)",
  "quantity": "integer",
  "amount": "integer",
  "client": "string",
  "tags": [
    "string"
  ],
  "shipping_method": "string",
  "payment_method": "string",
  "coupons": [
    "string"
  ],
  "items": [
    {
      "reference": "string",
      "sku": "string",
      "filters": "object",
      "quantity": "integer",
      "is_discounted": "boolean"
    }
  ]
}

OdrEvaluationItem: object

reference: string
sku: string
filters: object
quantity: integer
is_discounted: boolean
Example
{
  "reference": "string",
  "sku": "string",
  "filters": "object",
  "quantity": "integer",
  "is_discounted": "boolean"
}

OdrInvoiceSearch: object

Example
{
  "constraints": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "string"
      ]
    }
  ]
}

OdrInvoiceSearchConstraint: object

key: string ids
operator: string in
values: string[]
string
Example
{
  "key": "string",
  "operator": "string",
  "values": [
    "string"
  ]
}

OdrCalculationSearch: object

Example
{
  "constraints": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "string"
      ]
    }
  ]
}

OdrCalculationSearchConstraint: object

key: string ids
operator: string in
values: string[]
string
Example
{
  "key": "string",
  "operator": "string",
  "values": [
    "string"
  ]
}

OdrCouponCategorySearch: object

Example
{
  "constraints": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "string"
      ]
    }
  ]
}

OdrCouponCategorySearchConstraint: object

key: string ids
operator: string in
values: string[]
string
Example
{
  "key": "string",
  "operator": "string",
  "values": [
    "string"
  ]
}

OdrCouponSearch: object

Example
{
  "constraints": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "string"
      ]
    }
  ]
}

OdrCouponSearchConstraint: object

key: string codes, is_available
operator: string in
values: string[]
string
Example
{
  "key": "string",
  "operator": "string",
  "values": [
    "string"
  ]
}

CntAction: object

id: string
code: string
description: string
config_schema: string
columns: CntColumnConfig
CntColumnConfig
Example
{
  "id": "string",
  "code": "string",
  "description": "string",
  "config_schema": "string",
  "columns": [
    {
      "key": "string",
      "description": "string",
      "is_required": "boolean",
      "regex": "string"
    }
  ]
}

CntColumnConfig: object

key: string
description: string
is_required: boolean
regex: string
Example
{
  "key": "string",
  "description": "string",
  "is_required": "boolean",
  "regex": "string"
}

CntDataset: object

id: string (uuid)
reference: string
line_count: integer
file_id: string
is_locked: boolean false
expires_at: string (date-time)
created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "id": "string (uuid)",
  "reference": "string",
  "line_count": "integer",
  "file_id": "string",
  "is_locked": "boolean",
  "expires_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}

CntDatasetRequest: object

reference: string
expires_at: string (date-time)
Example
{
  "reference": "string",
  "expires_at": "string (date-time)"
}

CntBatchRequest: object

action_id: string
reference: string
dataset_id: string (uuid)
config: object
import: object
mapping: object[]
object
export: object
view: string
Example
{
  "action_id": "string",
  "reference": "string",
  "dataset_id": "string (uuid)",
  "config": "object",
  "import": {
    "mapping": [
      "object"
    ]
  },
  "export": {
    "view": "string"
  }
}

CntBatch: object

id: string (uuid)
action_id: string
reference: string
is_import: boolean
is_locked: boolean
is_accepted: boolean
is_confirmed: boolean
is_ready: boolean false
is_failing: boolean false
config: object
import: object
mapping: object
export: object
view: string
task_id: string (uuid)
dataset_id: string (uuid)
created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "id": "string (uuid)",
  "action_id": "string",
  "reference": "string",
  "is_import": "boolean",
  "is_locked": "boolean",
  "is_accepted": "boolean",
  "is_confirmed": "boolean",
  "is_ready": "boolean",
  "is_failing": "boolean",
  "config": "object",
  "import": {
    "mapping": "object"
  },
  "export": {
    "view": "string"
  },
  "task_id": "string (uuid)",
  "dataset_id": "string (uuid)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}

CntLine: object

reference: string (uuid)
data: object
Example
{
  "reference": "string (uuid)",
  "data": "object"
}

CntBatchFile: object

file_id: string
Example
{
  "file_id": "string"
}

CntLineError: object

reference: string (uuid)
errors: CntColumnError
CntColumnError
Example
{
  "reference": "string (uuid)",
  "errors": [
    {
      "column": "string",
      "level": "string",
      "message": "string"
    }
  ]
}

CntColumnError: object

column: string
level: string error, warning, notice
message: string
Example
{
  "column": "string",
  "level": "string",
  "message": "string"
}

IamLog: object

id: string (uuid)
category: string AUDIT, ERROR, REQUEST
code: string order.confirmed, E45245.24625, 500

order.confirmed for AUDIT, E44532543 for ERROR, http statuscode for REQUEST

resource: object
trace: string
stream: string integrations/342524545243455, transactions/provider/paynl, orders, POST
entity_type: string
entity_id: string (uuid)
actor: object
entity_type: string user, system, machine

User when action was triggered by a human. System in case the action was caused by the system. Machine in case the action was performaned by a machine.

entity_id: string

User ID, service (APP_NAME) or client ID

metadata: object
processed_at: string (date-time)
created_at: string (date-time)
Example
{
  "id": "string (uuid)",
  "category": "string",
  "code": "string",
  "resource": {
    "trace": "string",
    "stream": "string",
    "entity_type": "string",
    "entity_id": "string (uuid)"
  },
  "actor": {
    "entity_type": "string",
    "entity_id": "string"
  },
  "metadata": "object",
  "processed_at": "string (date-time)",
  "created_at": "string (date-time)"
}

IamQuery: object

filter: IamQueryConstraint
IamQueryConstraint
limit: integer
offset: integer
Example
{
  "filter": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "string"
      ]
    }
  ],
  "limit": "integer",
  "offset": "integer"
}

IamQueryConstraint: object

key: string
operator: string in
values: string[]
string
Example
{
  "key": "string",
  "operator": "string",
  "values": [
    "string"
  ]
}

CatMapCollection: object

id: string
last_upsert_at: string (date-time)
last_miss_at: string (date-time)
Example
{
  "id": "string",
  "last_upsert_at": "string (date-time)",
  "last_miss_at": "string (date-time)"
}

CatMapCollectionMiss: object

key: string
count: integer
last_miss_at: string (date-time)
Example
{
  "key": "string",
  "count": "integer",
  "last_miss_at": "string (date-time)"
}

CatMap: object

key: string
value: string
upserted_at: string (date-time)
Example
{
  "key": "string",
  "value": "string",
  "upserted_at": "string (date-time)"
}

LcsDPDServicePointResponse: object

Example
{
  "parcelShop": [
    {
      "parcelShopId": "number",
      "pudoId": "string",
      "company": "string",
      "street": "string",
      "houseNo": "string",
      "country": "string",
      "countryNum": "number",
      "zipCode": "string",
      "city": "string",
      "town": "string",
      "phone": "string",
      "fax": "string",
      "email": "string",
      "homepage": "string",
      "latitude": "number",
      "longitude": "number",
      "coordinateX": "number",
      "coordinateY": "number",
      "coordinateZ": "number",
      "distance": "number",
      "expressPickupTime": "string",
      "extraInfo": "string",
      "openingHours": [
        {
          "weekday": "string",
          "openMorning": "string",
          "closeMorning": "string",
          "closeAfternoon": "string",
          "openAfternoon": "string"
        }
      ],
      "services": [
        "object"
      ]
    }
  ]
}

LcsDPDServicePoint: object

parcelShopId: number
pudoId: string
company: string
street: string
houseNo: string
country: string
countryNum: number
zipCode: string
city: string
town: string
phone: string
fax: string
email: string
homepage: string
latitude: number
longitude: number
coordinateX: number
coordinateY: number
coordinateZ: number
distance: number
expressPickupTime: string
extraInfo: string
openingHours: object[]
object
weekday: string
openMorning: string
closeMorning: string
closeAfternoon: string
openAfternoon: string
services: object[]
object
Example
{
  "parcelShopId": "number",
  "pudoId": "string",
  "company": "string",
  "street": "string",
  "houseNo": "string",
  "country": "string",
  "countryNum": "number",
  "zipCode": "string",
  "city": "string",
  "town": "string",
  "phone": "string",
  "fax": "string",
  "email": "string",
  "homepage": "string",
  "latitude": "number",
  "longitude": "number",
  "coordinateX": "number",
  "coordinateY": "number",
  "coordinateZ": "number",
  "distance": "number",
  "expressPickupTime": "string",
  "extraInfo": "string",
  "openingHours": [
    {
      "weekday": "string",
      "openMorning": "string",
      "closeMorning": "string",
      "closeAfternoon": "string",
      "openAfternoon": "string"
    }
  ],
  "services": [
    "object"
  ]
}

IamSecretRequest: object

name: string
backups: IamBackup
IamBackup
Example
{
  "name": "string",
  "backups": [
    {
      "channel": "string",
      "address": "string"
    }
  ]
}

IamSecretUpdate: object

backups: IamBackup
IamBackup
Example
{
  "backups": [
    {
      "channel": "string",
      "address": "string"
    }
  ]
}

IamBackup: object

channel: string sms, email
address: string
Example
{
  "channel": "string",
  "address": "string"
}

IamBackupResponse: object

address: string
created_at: string (date-time)
Example
{
  "address": "string",
  "created_at": "string (date-time)"
}

IamValidationRequest:

otp: string
Example
{
  "otp": "string"
}

IamValidationResponse:

is_verified: boolean
Example
{
  "is_verified": "boolean"
}

IamSecretRead: object

id: string
type: string
sub: string
name: string
secret_last_4: string
is_confirmed: boolean
backups: IamBackup
IamBackup
deleted_at: string (date-time)
created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "id": "string",
  "type": "string",
  "sub": "string",
  "name": "string",
  "secret_last_4": "string",
  "is_confirmed": "boolean",
  "backups": [
    {
      "channel": "string",
      "address": "string"
    }
  ],
  "deleted_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}

IamSecret: object

id: string
type: string
sub: string
name: string
secret: string
is_confirmed: boolean
qr_url: string
created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "id": "string",
  "type": "string",
  "sub": "string",
  "name": "string",
  "secret": "string",
  "is_confirmed": "boolean",
  "qr_url": "string",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}

OdrKey: object

entity_id: string (uuid)
entity_type: string
Example
{
  "entity_id": "string (uuid)",
  "entity_type": "string"
}

OdrBalanceRequest: object

key: OdrKey
reference: OdrKey
description: string
currency: string EUR
amount: integer
overdraft_allowance: integer
Example
{
  "key": {
    "entity_id": "string (uuid)",
    "entity_type": "string"
  },
  "reference": "#/definitions/OdrKey",
  "description": "string",
  "currency": "string",
  "amount": "integer",
  "overdraft_allowance": "integer"
}

OdrBalance: object

id: string (uuid)
key: OdrKey
balance: integer
currency: string
created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "id": "string (uuid)",
  "key": {
    "entity_id": "string (uuid)",
    "entity_type": "string"
  },
  "balance": "integer",
  "currency": "string",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}

OdrRecord: object

id: string (uuid)
reference: OdrKey
description: string
amount: integer
created_at: string (date-time)
Example
{
  "id": "string (uuid)",
  "reference": {
    "entity_id": "string (uuid)",
    "entity_type": "string"
  },
  "description": "string",
  "amount": "integer",
  "created_at": "string (date-time)"
}

SplPrinter: object

id: string
name: string
hub_id: string
default_encoding: string escpos
connection: SplConnection
settings: SplSettings
inbox_id: string
disabled_at: string (date-time)
created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "id": "string",
  "name": "string",
  "hub_id": "string",
  "default_encoding": "string",
  "connection": {
    "interface": "string",
    "address": "string"
  },
  "settings": "object",
  "inbox_id": "string",
  "disabled_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}

SplPrinterModel: object

name: string
hub_id: string
default_encoding: string
timezone: string Europe/Amsterdam
connection: SplConnection
settings: SplSettings
Example
{
  "name": "string",
  "hub_id": "string",
  "default_encoding": "string",
  "timezone": "string",
  "connection": {
    "interface": "string",
    "address": "string"
  },
  "settings": "object"
}

SplConnection: object

interface: string usb, ethernet
address: string
Example
{
  "interface": "string",
  "address": "string"
}

SplInbox: object

inbox_id: string
Example
{
  "inbox_id": "string"
}

SplSettingsSchema: object

type: string
schema: string
Example
{
  "type": "string",
  "schema": "string"
}

SplSettings: object

Example
"object"

CntProxy: object

key: string
origin: string
config: CntConfig
secret: string
tenant_id: string
created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "key": "string",
  "origin": "string",
  "config": {
    "is_origin_cache_ignored": "boolean",
    "is_canonical_added": "boolean",
    "watermark_url": "string"
  },
  "secret": "string",
  "tenant_id": "string",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}

CntProxyModel: object

key: string
origin: string
config: CntConfig
Example
{
  "key": "string",
  "origin": "string",
  "config": {
    "is_origin_cache_ignored": "boolean",
    "is_canonical_added": "boolean",
    "watermark_url": "string"
  }
}

CntProxyUpdateModel: object

origin: string
config: CntConfig
Example
{
  "origin": "string",
  "config": {
    "is_origin_cache_ignored": "boolean",
    "is_canonical_added": "boolean",
    "watermark_url": "string"
  }
}

CntConfig: object

is_origin_cache_ignored: boolean true
is_canonical_added: boolean true
watermark_url: string
Example
{
  "is_origin_cache_ignored": "boolean",
  "is_canonical_added": "boolean",
  "watermark_url": "string"
}

IamUpcomingInvoice: object

id: string
total: integer
is_paid: boolean
is_cancelled: boolean
invoiced_at: string (date-time)
reference: string
products: IamInvoiceProduct
IamInvoiceProduct
start_at: string (date-time)
end_at: string (date-time)
Example
{
  "id": "string",
  "total": "integer",
  "is_paid": "boolean",
  "is_cancelled": "boolean",
  "invoiced_at": "string (date-time)",
  "reference": "string",
  "products": [
    {
      "id": "string",
      "code": "string",
      "name": "string",
      "description": "string",
      "unit": "string",
      "quantity": "integer",
      "amount": "integer",
      "is_trial": "boolean",
      "plan": {
        "id": "string",
        "interval": "string",
        "type": "string",
        "amount": "integer",
        "tiers": [
          {
            "up_to": "integer",
            "flat_amount": "integer",
            "unit_amount": "integer"
          }
        ]
      }
    }
  ],
  "start_at": "string (date-time)",
  "end_at": "string (date-time)"
}

IamInvoice: object

id: string
total: integer
is_paid: boolean
is_pending: boolean
is_cancelled: boolean
invoiced_at: string (date-time)
reference: string
products: IamProduct
IamProduct
pdf: string
payment_url: string
start_at: string (date-time)
end_at: string (date-time)
Example
{
  "id": "string",
  "total": "integer",
  "is_paid": "boolean",
  "is_pending": "boolean",
  "is_cancelled": "boolean",
  "invoiced_at": "string (date-time)",
  "reference": "string",
  "products": [
    {
      "id": "string",
      "code": "string",
      "name": "string",
      "description": "string",
      "unit": "string",
      "plan": {
        "id": "string",
        "interval": "string",
        "type": "string",
        "amount": "integer",
        "tiers": [
          {
            "up_to": "integer",
            "flat_amount": "integer",
            "unit_amount": "integer"
          }
        ]
      },
      "is_add_on": "boolean"
    }
  ],
  "pdf": "string",
  "payment_url": "string",
  "start_at": "string (date-time)",
  "end_at": "string (date-time)"
}

IamBillingCompany: object

name: string
vat_number: string
billing_email: string
phone_number: string
address: IamAddress
Example
{
  "name": "string",
  "vat_number": "string",
  "billing_email": "string",
  "phone_number": "string",
  "address": {
    "address_line_1": "string",
    "address_line_2": "string",
    "postal_code": "string",
    "city": "string",
    "country_code": "string"
  }
}

IamAddress: object

address_line_1: string
address_line_2: string
postal_code: string
city: string
country_code: string
Example
{
  "address_line_1": "string",
  "address_line_2": "string",
  "postal_code": "string",
  "city": "string",
  "country_code": "string"
}

IamPaymentSource: object

id: string
last_4: string
name: string
is_default: boolean
brand: string
expires_at: string (date-time)
mandate: string
Example
{
  "id": "string",
  "last_4": "string",
  "name": "string",
  "is_default": "boolean",
  "brand": "string",
  "expires_at": "string (date-time)",
  "mandate": "string"
}

IamSubscription: object

id: string
code: string
is_renewing: boolean
start_at: string (date-time)
end_at: string (date-time)
items: IamSubscriptionItem
IamSubscriptionItem
Example
{
  "id": "string",
  "code": "string",
  "is_renewing": "boolean",
  "start_at": "string (date-time)",
  "end_at": "string (date-time)",
  "items": [
    {
      "id": "string",
      "product": {
        "id": "string",
        "code": "string",
        "name": "string",
        "description": "string",
        "unit": "string",
        "plan": {
          "id": "string",
          "interval": "string",
          "type": "string",
          "amount": "integer",
          "tiers": [
            {
              "up_to": "integer",
              "flat_amount": "integer",
              "unit_amount": "integer"
            }
          ]
        },
        "is_add_on": "boolean"
      },
      "type": "string"
    }
  ]
}

IamSubscriptionItem: object

id: string
product: IamProduct
type: string license, usage
Example
{
  "id": "string",
  "product": {
    "id": "string",
    "code": "string",
    "name": "string",
    "description": "string",
    "unit": "string",
    "plan": {
      "id": "string",
      "interval": "string",
      "type": "string",
      "amount": "integer",
      "tiers": [
        {
          "up_to": "integer",
          "flat_amount": "integer",
          "unit_amount": "integer"
        }
      ]
    },
    "is_add_on": "boolean"
  },
  "type": "string"
}

IamUsageRequest: object

code: string
unit: string
Example
{
  "code": "string",
  "unit": "string"
}

IamTrial: object

is_on_trial: boolean
trial_balance: integer
trial_ends_at: string (date-time)
Example
{
  "is_on_trial": "boolean",
  "trial_balance": "integer",
  "trial_ends_at": "string (date-time)"
}

IamSubscribe: object

code: string
Example
{
  "code": "string"
}

IamAddOn: object

id: string
Example
{
  "id": "string"
}

IamInvoiceProduct: object

id: string

The stripe id

code: string

Three letter string that is also used to prefix scopes

name: string
description: string
unit: string
quantity: integer
amount: integer
is_trial: boolean
plan: IamPlan
Example
{
  "id": "string",
  "code": "string",
  "name": "string",
  "description": "string",
  "unit": "string",
  "quantity": "integer",
  "amount": "integer",
  "is_trial": "boolean",
  "plan": {
    "id": "string",
    "interval": "string",
    "type": "string",
    "amount": "integer",
    "tiers": [
      {
        "up_to": "integer",
        "flat_amount": "integer",
        "unit_amount": "integer"
      }
    ]
  }
}

IamProduct: object

id: string

The stripe id

code: string

Three letter string that is also used to prefix scopes

name: string
description: string
unit: string
plan: IamPlan
is_add_on: boolean
Example
{
  "id": "string",
  "code": "string",
  "name": "string",
  "description": "string",
  "unit": "string",
  "plan": {
    "id": "string",
    "interval": "string",
    "type": "string",
    "amount": "integer",
    "tiers": [
      {
        "up_to": "integer",
        "flat_amount": "integer",
        "unit_amount": "integer"
      }
    ]
  },
  "is_add_on": "boolean"
}

IamPlan: object

id: string
interval: string month
type: string license, usage
amount: integer
tiers: IamTier
IamTier
Example
{
  "id": "string",
  "interval": "string",
  "type": "string",
  "amount": "integer",
  "tiers": [
    {
      "up_to": "integer",
      "flat_amount": "integer",
      "unit_amount": "integer"
    }
  ]
}

IamTier: object

up_to: integer
flat_amount: integer
unit_amount: integer
Example
{
  "up_to": "integer",
  "flat_amount": "integer",
  "unit_amount": "integer"
}

IamUsageRecord: object

code: string
unit: string
quantity: integer
Example
{
  "code": "string",
  "unit": "string",
  "quantity": "integer"
}

CntObjectCloneRequest: object

path: string
file_id: string
Example
{
  "path": "string",
  "file_id": "string"
}

CntFilesystemLog: object

id: string (uuid)
file_id: string
storage_id: integer
is_success: boolean
message: string
created_at: string (date-time)
Example
{
  "id": "string (uuid)",
  "file_id": "string",
  "storage_id": "integer",
  "is_success": "boolean",
  "message": "string",
  "created_at": "string (date-time)"
}

CntWatcher: object

id: integer
description: string
storage_id: integer
source: CntWatcherSource
created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "id": "integer",
  "description": "string",
  "storage_id": "integer",
  "source": {
    "type": "string",
    "config": "object"
  },
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}

CntWatcherSource: object

type: string directory
config: object
Example
{
  "type": "string",
  "config": "object"
}

CntWatcherModel: object

description: string
storage_id: integer
source: CntWatcherSource
Example
{
  "description": "string",
  "storage_id": "integer",
  "source": {
    "type": "string",
    "config": "object"
  }
}

CntStorage: object

id: integer
name: string
type: string ftp, sftp
configuration: object
created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "id": "integer",
  "name": "string",
  "type": "string",
  "configuration": "object",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}

CntStorageModel: object

name: string
type: string ftp, sftp
configuration: object
secret: string
Example
{
  "name": "string",
  "type": "string",
  "configuration": "object",
  "secret": "string"
}

CntStorageTest: object

type: string ftp, sftp
configuration: object
secret: string
Example
{
  "type": "string",
  "configuration": "object",
  "secret": "string"
}

CntStorageObject: object

path: string

The file / directory path at the external storage

basename: string
type: string file, dir
size: integer
Example
{
  "path": "string",
  "basename": "string",
  "type": "string",
  "size": "integer"
}

CntStorageSyncCommand: object

path: string

The file / directory path at the external storage, required for download

file_id: string
Example
{
  "path": "string",
  "file_id": "string"
}

CntFile: object

id: string
filename: string
label: string
dir: string
type: string image, file, video
mime: string
url: string
is_public: boolean
is_listed: boolean
metadata: object
created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "id": "string",
  "filename": "string",
  "label": "string",
  "dir": "string",
  "type": "string",
  "mime": "string",
  "url": "string",
  "is_public": "boolean",
  "is_listed": "boolean",
  "metadata": "object",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}

IamTrackedRecord: object

id: string
reference: string
code: string
unit: string
quantity: integer
processable_as: string sum, avg
tracked_at: string (date-time)
created_at: string (date-time)
Example
{
  "id": "string",
  "reference": "string",
  "code": "string",
  "unit": "string",
  "quantity": "integer",
  "processable_as": "string",
  "tracked_at": "string (date-time)",
  "created_at": "string (date-time)"
}

IamReportRequest: object

interval: string 1h, 1d, 1m
code: string
unit: string
as: string avg, sum
filter: string
keys: string[]
string
start_at: string (date-time)
end_at: string (date-time)
Example
{
  "interval": "string",
  "code": "string",
  "unit": "string",
  "as": "string",
  "filter": "string",
  "keys": [
    "string"
  ],
  "start_at": "string (date-time)",
  "end_at": "string (date-time)"
}

IamReport: object

interval: string 1h, 1d, 1m
code: string
unit: string
as: string avg, sum
filter: string
start_at: string (date-time)
end_at: string (date-time)
buckets: IamBucket
IamBucket
Example
{
  "interval": "string",
  "code": "string",
  "unit": "string",
  "as": "string",
  "filter": "string",
  "start_at": "string (date-time)",
  "end_at": "string (date-time)",
  "buckets": [
    {
      "date": "string (date-time)",
      "quantity": "integer",
      "filter_key": "string",
      "filter_value": "string"
    }
  ]
}

IamBucket: object

date: string (date-time)
quantity: integer
filter_key: string
filter_value: string
Example
{
  "date": "string (date-time)",
  "quantity": "integer",
  "filter_key": "string",
  "filter_value": "string"
}

IamType: object

code: string
unit: string
processable_as: string sum, avg
filter: string
Example
{
  "code": "string",
  "unit": "string",
  "processable_as": "string",
  "filter": "string"
}

SplHub: object

id: string
uuid: string
name: string
description: string
properties: SplProperty
SplProperty
status: string online, offline
status_updated_at: string (date-time)
disabled_at: string (date-time) null
pubnub: SplPubnub
integration: SplIntegration
os_file_id: string
created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "id": "string",
  "uuid": "string",
  "name": "string",
  "description": "string",
  "properties": [
    {
      "key": "string",
      "value": "string"
    }
  ],
  "status": "string",
  "status_updated_at": "string (date-time)",
  "disabled_at": "string (date-time)",
  "pubnub": {
    "tokens": [
      {
        "key": "string",
        "expires_at": "string (date-time)"
      }
    ]
  },
  "integration": {
    "id": "string"
  },
  "os_file_id": "string",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}

SplHubModel: object

name: string
description: string
Example
{
  "name": "string",
  "description": "string"
}

SplProperty: object

key: string
value: string
Example
{
  "key": "string",
  "value": "string"
}

SplPubnub: object

tokens: SplToken
SplToken
Example
{
  "tokens": [
    {
      "key": "string",
      "expires_at": "string (date-time)"
    }
  ]
}

SplToken: object

key: string
expires_at: string (date-time)
Example
{
  "key": "string",
  "expires_at": "string (date-time)"
}

SplIntegration: object

id: string
Example
{
  "id": "string"
}

SplHubError: object

id: string
message: string
level: string public, private
is_resolved: boolean false
job_reference: string
hub_id: string
created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "id": "string",
  "message": "string",
  "level": "string",
  "is_resolved": "boolean",
  "job_reference": "string",
  "hub_id": "string",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}

SplHubErrorModel: object

message: string
level: string public, private
job_reference: string
Example
{
  "message": "string",
  "level": "string",
  "job_reference": "string"
}

SplHubStatus: object

is_online: boolean
is_idle: boolean
location: string
network: SplHubNetwork
image: SplHubImage
Example
{
  "is_online": "boolean",
  "is_idle": "boolean",
  "location": "string",
  "network": {
    "ip_address": "string",
    "remote_ip_address": "string",
    "last_connected_at": "string (date-time)"
  },
  "image": {
    "is_up_to_date": "boolean",
    "download_progress": "integer",
    "version": "string"
  }
}

SplHubNetwork: object

ip_address: string
remote_ip_address: string
last_connected_at: string (date-time)
Example
{
  "ip_address": "string",
  "remote_ip_address": "string",
  "last_connected_at": "string (date-time)"
}

SplHubImage: object

is_up_to_date: boolean
download_progress: integer
version: string
Example
{
  "is_up_to_date": "boolean",
  "download_progress": "integer",
  "version": "string"
}

SplNetworkDevice: object

description: string
mac_address: string
interface: SplConnection
created_at: string (date-time)
Example
{
  "description": "string",
  "mac_address": "string",
  "interface": {
    "interface": "string",
    "address": "string"
  },
  "created_at": "string (date-time)"
}

SplCreateNetworkDevice: object

description: string
mac_address: string
interface: SplConnection
Example
{
  "description": "string",
  "mac_address": "string",
  "interface": {
    "interface": "string",
    "address": "string"
  }
}

IamAuditLog: object

id: string
method: string
resource: string
user: string
metadata: object
logged_at: string (date-time)
created_at: string (date-time)
Example
{
  "id": "string",
  "method": "string",
  "resource": "string",
  "user": "string",
  "metadata": "object",
  "logged_at": "string (date-time)",
  "created_at": "string (date-time)"
}

CntDataflowType: object

type: string
code: string
source: string
trigger: string realtime, scheduled
name: string
is_proprietary: boolean
events: string[]
string
schema: string
Example
{
  "type": "string",
  "code": "string",
  "source": "string",
  "trigger": "string",
  "name": "string",
  "is_proprietary": "boolean",
  "events": [
    "string"
  ],
  "schema": "string"
}

CntDataflow: object

id: string (uuid)
name: string
source: string order, calculation
type: string bigquery, email
trigger: object
type: string scheduled, realtime
events: string[]
string
crontab: string
config: object
filter: CntDataflowFilter
CntDataflowFilter
created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "id": "string (uuid)",
  "name": "string",
  "source": "string",
  "type": "string",
  "trigger": {
    "type": "string",
    "events": [
      "string"
    ],
    "crontab": "string"
  },
  "config": "object",
  "filter": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "string"
      ]
    }
  ],
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}

CntDataflowFilter: object

key: string
operator: string in, gte, gt, lte, lt
values: string[]
string
Example
{
  "key": "string",
  "operator": "string",
  "values": [
    "string"
  ]
}

CntDataflowModel: object

name: string
source: string calculation, order
type: string bigquery, email
trigger: object
type: string scheduled, realtime
events: string[]
string
crontab: object
schedule: string
timezone: string
config: object
secret: string
filter: CntDataflowFilter
CntDataflowFilter
Example
{
  "name": "string",
  "source": "string",
  "type": "string",
  "trigger": {
    "type": "string",
    "events": [
      "string"
    ],
    "crontab": {
      "schedule": "string",
      "timezone": "string"
    }
  },
  "config": "object",
  "secret": "string",
  "filter": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "string"
      ]
    }
  ]
}

CntGifInfo: object

is_animated: boolean
height: integer
width: integer
loop_count: integer
size: integer
Example
{
  "is_animated": "boolean",
  "height": "integer",
  "width": "integer",
  "loop_count": "integer",
  "size": "integer"
}

IamPhoneNumber: object

id: string
name: string
number: string
preferred_agent: string Niels, Sander, Peter, Sjoerd, Tjeuke
created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "id": "string",
  "name": "string",
  "number": "string",
  "preferred_agent": "string",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}

IamPhoneNumberModel: object

name: string
country_code: string
number: string
preferred_agent: string Niels, Sander, Peter, Sjoerd, Tjeuke
Example
{
  "name": "string",
  "country_code": "string",
  "number": "string",
  "preferred_agent": "string"
}

IamSubtenant: object

id: string
company: string
state: string pending, approved, revoked, expired
tenant_id: string
signee: string
type: string invite, request
roles: string[]
string
created_at: string (date-time)
Example
{
  "id": "string",
  "company": "string",
  "state": "string",
  "tenant_id": "string",
  "signee": "string",
  "type": "string",
  "roles": [
    "string"
  ],
  "created_at": "string (date-time)"
}

IamPendingRequest: object

id: string
state: string pending, approved, revoked, expired
signee: string
roles: string[]
string
created_at: string (date-time)
Example
{
  "id": "string",
  "state": "string",
  "signee": "string",
  "roles": [
    "string"
  ],
  "created_at": "string (date-time)"
}

IamPurgeToken: object

id: integer
domains: string[]
string
expires_at: string (date-time)
token: string
requester: string
signer: string
created_at: string (date-time)
Example
{
  "id": "integer",
  "domains": [
    "string"
  ],
  "expires_at": "string (date-time)",
  "token": "string",
  "requester": "string",
  "signer": "string",
  "created_at": "string (date-time)"
}

IamPendingAuthorization: object

id: string
email: string
roles: string[]
string
state: string pending, approved, revoked, expired
created_at: string (date-time)
Example
{
  "id": "string",
  "email": "string",
  "roles": [
    "string"
  ],
  "state": "string",
  "created_at": "string (date-time)"
}

IamAuthorization: object

id: string
user: IamSubtenantUser
roles: string[]
string
type: string invite, request
state: string pending, approved, revoked
created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "id": "string",
  "user": {
    "first_name": "string",
    "last_name": "string",
    "email": "string",
    "company": "string"
  },
  "roles": [
    "string"
  ],
  "type": "string",
  "state": "string",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}

IamSubtenantUser: object

first_name: string
last_name: string
email: string
company: string
Example
{
  "first_name": "string",
  "last_name": "string",
  "email": "string",
  "company": "string"
}

IamRole: object

id: string
name: string
scopes: string[]
string
is_managed: boolean
created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "id": "string",
  "name": "string",
  "scopes": [
    "string"
  ],
  "is_managed": "boolean",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}

IamSystemRole: object

id: string
name: string
scopes: string[]
string
client_id: string
is_managed: boolean
created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "id": "string",
  "name": "string",
  "scopes": [
    "string"
  ],
  "client_id": "string",
  "is_managed": "boolean",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}

IamRoleModel: object

name: string
scopes: string[]
string
Example
{
  "name": "string",
  "scopes": [
    "string"
  ]
}

IamScope: object

id: string
description: string
Example
{
  "id": "string",
  "description": "string"
}

IamVerifyRequest: object

token: string
Example
{
  "token": "string"
}

IamAccessToken: object

token_type: string Bearer
expires_in: integer 3600
access_token: string
refresh_token: string
Example
{
  "token_type": "string",
  "expires_in": "integer",
  "access_token": "string",
  "refresh_token": "string"
}

IamTokenRequest: object

client_id: string
client_secret: string
grant_type: string
scope: string
Example
{
  "client_id": "string",
  "client_secret": "string",
  "grant_type": "string",
  "scope": "string"
}

IamAuthorizationResponse: object

forward_uri: string
client_name: string
client_redirect_uri: string
scope: IamScope
IamScope
is_authorization_approved: boolean false
is_id_token_issued: boolean false
expires_in: integer
Example
{
  "forward_uri": "string",
  "client_name": "string",
  "client_redirect_uri": "string",
  "scope": [
    {
      "id": "string",
      "description": "string"
    }
  ],
  "is_authorization_approved": "boolean",
  "is_id_token_issued": "boolean",
  "expires_in": "integer"
}

IamClientModel: object

name: string
redirect_uri: string
grant_types: string[]
string
scope: string[]
string
Example
{
  "name": "string",
  "redirect_uri": "string",
  "grant_types": [
    "string"
  ],
  "scope": [
    "string"
  ]
}

IamClientUpdateModel: object

name: string
scope: string[]
string
Example
{
  "name": "string",
  "scope": [
    "string"
  ]
}

IamClient: object

id: string
client_id: string
client_secret: string
name: string
redirect_uri: string
grant_types: string[]
string
scope: string[]
string
tenant_id: string
is_approved: boolean
is_deleted: boolean
author: string
deleted_at: string (date-time)
created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "id": "string",
  "client_id": "string",
  "client_secret": "string",
  "name": "string",
  "redirect_uri": "string",
  "grant_types": [
    "string"
  ],
  "scope": [
    "string"
  ],
  "tenant_id": "string",
  "is_approved": "boolean",
  "is_deleted": "boolean",
  "author": "string",
  "deleted_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}

IamUserModel: object

email: string
password: string
first_name: string
last_name: string
Example
{
  "email": "string",
  "password": "string",
  "first_name": "string",
  "last_name": "string"
}

IamUserUpdateModel: object

first_name: string
last_name: string
Example
{
  "first_name": "string",
  "last_name": "string"
}

IamPasswordReset: object

token: string
password: string
Example
{
  "token": "string",
  "password": "string"
}

IamUser: object

id: string
email: string
first_name: string
last_name: string
is_verified: boolean
is_pending_invite: boolean
is_primary: boolean
is_deleted: boolean
tenant_id: string
roles: string[]
string
deleted_at: string (date-time)
created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "id": "string",
  "email": "string",
  "first_name": "string",
  "last_name": "string",
  "is_verified": "boolean",
  "is_pending_invite": "boolean",
  "is_primary": "boolean",
  "is_deleted": "boolean",
  "tenant_id": "string",
  "roles": [
    "string"
  ],
  "deleted_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}

IamTenant: object

id: string
name: string
is_active: boolean true
stripe_id: string
created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "id": "string",
  "name": "string",
  "is_active": "boolean",
  "stripe_id": "string",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}

IamCompany: object

name: string
vat_number: string
phone_number: string
address: IamAddress
Example
{
  "name": "string",
  "vat_number": "string",
  "phone_number": "string",
  "address": {
    "address_line_1": "string",
    "address_line_2": "string",
    "postal_code": "string",
    "city": "string",
    "country_code": "string"
  }
}

IamUserTokenRequest: object

email: string
type: string verify, reset
Example
{
  "email": "string",
  "type": "string"
}

IamUserTokenResponse: object

id: string
expires_at: string (date-time)
Example
{
  "id": "string",
  "expires_at": "string (date-time)"
}

IamSignup: object

company: IamCompany
user: IamUserModel
Example
{
  "company": {
    "name": "string",
    "vat_number": "string",
    "phone_number": "string",
    "address": {
      "address_line_1": "string",
      "address_line_2": "string",
      "postal_code": "string",
      "city": "string",
      "country_code": "string"
    }
  },
  "user": {
    "email": "string",
    "password": "string",
    "first_name": "string",
    "last_name": "string"
  }
}

TplRepository: object

id: integer
name: string
is_private: boolean
installer: object
username: string
type: string
created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "id": "integer",
  "name": "string",
  "is_private": "boolean",
  "installer": {
    "username": "string",
    "type": "string"
  },
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}

TplBuild: object

id: integer
git_reference: TplGitReference
is_success: boolean
errors: TplBuildError
TplBuildError
started_at: string (date-time)
ended_at: string (date-time)
Example
{
  "id": "integer",
  "git_reference": {
    "type": "string",
    "tag": {
      "value": "string"
    },
    "branch": {
      "name": "string",
      "commit_sha": "string"
    }
  },
  "is_success": "boolean",
  "errors": [
    {
      "message": "string"
    }
  ],
  "started_at": "string (date-time)",
  "ended_at": "string (date-time)"
}

TplBuildError: object

message: string
Example
{
  "message": "string"
}

TplThemeUpdateModel: object

name: string
secret: string
git_reference: TplGitReference
Example
{
  "name": "string",
  "secret": "string",
  "git_reference": {
    "type": "string",
    "tag": {
      "value": "string"
    },
    "branch": {
      "name": "string",
      "commit_sha": "string"
    }
  }
}

TplGitReference: object

type: string tag, branch
tag: object
value: string
branch: object
name: string
commit_sha: string latest
Example
{
  "type": "string",
  "tag": {
    "value": "string"
  },
  "branch": {
    "name": "string",
    "commit_sha": "string"
  }
}

TplThemeCreateModel: object

name: string
repository_id: integer
secret: string
git_reference: TplGitReference
Example
{
  "name": "string",
  "repository_id": "integer",
  "secret": "string",
  "git_reference": {
    "type": "string",
    "tag": {
      "value": "string"
    },
    "branch": {
      "name": "string",
      "commit_sha": "string"
    }
  }
}

TplTheme: object

id: string (uuid)
name: string
repository_id: integer
secret: string
git_reference: TplGitReference
active_build: object
id: integer
repository_id: integer
git_reference: TplGitReference
created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "id": "string (uuid)",
  "name": "string",
  "repository_id": "integer",
  "secret": "string",
  "git_reference": {
    "type": "string",
    "tag": {
      "value": "string"
    },
    "branch": {
      "name": "string",
      "commit_sha": "string"
    }
  },
  "active_build": {
    "id": "integer",
    "repository_id": "integer",
    "git_reference": "#/definitions/TplGitReference"
  },
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}

OdrProvider: object

name: string
code: string
is_active: boolean
is_configured: boolean
methods: OdrProviderMethod
OdrProviderMethod
Example
{
  "name": "string",
  "code": "string",
  "is_active": "boolean",
  "is_configured": "boolean",
  "methods": [
    {
      "code": "string",
      "name": "string",
      "issuers": [
        {
          "code": "string",
          "name": "string",
          "metadata": "object"
        }
      ],
      "metadata": "object"
    }
  ]
}

OdrProviderMethod: object

code: string
name: string
issuers: OdrIssuer
OdrIssuer
metadata: object
Example
{
  "code": "string",
  "name": "string",
  "issuers": [
    {
      "code": "string",
      "name": "string",
      "metadata": "object"
    }
  ],
  "metadata": "object"
}

OdrMethod: object

code: string
provider_code: string
name: string
label: string
is_prepaid: boolean
issuers: OdrIssuer
OdrIssuer
is_enabled: boolean true
is_deferred: boolean false
priority: integer 100
Example
{
  "code": "string",
  "provider_code": "string",
  "name": "string",
  "label": "string",
  "is_prepaid": "boolean",
  "issuers": [
    {
      "code": "string",
      "name": "string",
      "metadata": "object"
    }
  ],
  "is_enabled": "boolean",
  "is_deferred": "boolean",
  "priority": "integer"
}

OdrReference: object

entity_id: string
entity_type: string
Example
{
  "entity_id": "string",
  "entity_type": "string"
}

OdrIssuer: object

code: string
name: string
metadata: object
Example
{
  "code": "string",
  "name": "string",
  "metadata": "object"
}

OdrPaymentIntent: object

amount: integer
provider_code: string
method_code: string
issuer_code: string
metadata: object
return_url: string
Example
{
  "amount": "integer",
  "provider_code": "string",
  "method_code": "string",
  "issuer_code": "string",
  "metadata": "object",
  "return_url": "string"
}

OdrRefundIntent: object

payment_id: string
amount: integer
Example
{
  "payment_id": "string",
  "amount": "integer"
}

OdrPayment: object

id: string
secret: string
amount: integer
provider_code: string
method_code: string
issuer_code: string
is_refund: boolean false
is_pending: boolean true
is_paid: boolean false
is_authorized: boolean true
is_captured: boolean false
return_url: string
source_payment_id: string
metadata: object
paid_at: string (date-time)
created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "id": "string",
  "secret": "string",
  "amount": "integer",
  "provider_code": "string",
  "method_code": "string",
  "issuer_code": "string",
  "is_refund": "boolean",
  "is_pending": "boolean",
  "is_paid": "boolean",
  "is_authorized": "boolean",
  "is_captured": "boolean",
  "return_url": "string",
  "source_payment_id": "string",
  "metadata": "object",
  "paid_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}

OdrProcess: object

is_paid: boolean
amount_paid: integer
action: string start, follow, execute, void, return

Start will trigger the transaction, the client can follow the progress via x-task. Follow will send the client to the bank. Execute acutally performs the payment (refund-only). Void means no further actions are possible. Return is the same as [follow] indicating that the payment is complete.

url: string
attempts: OdrAttempt
OdrAttempt
Example
{
  "is_paid": "boolean",
  "amount_paid": "integer",
  "action": "string",
  "url": "string",
  "attempts": [
    {
      "psp_reference": "string",
      "amount_paid": "integer",
      "started_at": "string (date-time)",
      "is_paid": "boolean",
      "is_expired": "boolean"
    }
  ]
}

OdrAttempt: object

psp_reference: string
amount_paid: integer
started_at: string (date-time)
is_paid: boolean
is_expired: boolean
Example
{
  "psp_reference": "string",
  "amount_paid": "integer",
  "started_at": "string (date-time)",
  "is_paid": "boolean",
  "is_expired": "boolean"
}

OdrTransaction: object

id: string
reference: OdrReference
description: string
number: string
amount_due: integer
amount_paid: integer
currency: string
payments: OdrPayment
OdrPayment
metadata: object
purchase: OdrPurchase
preset: OdrPreset
secret: string
client_id: string
channel_id: string (uuid)
return_url: string
created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "id": "string",
  "reference": {
    "entity_id": "string",
    "entity_type": "string"
  },
  "description": "string",
  "number": "string",
  "amount_due": "integer",
  "amount_paid": "integer",
  "currency": "string",
  "payments": [
    {
      "id": "string",
      "secret": "string",
      "amount": "integer",
      "provider_code": "string",
      "method_code": "string",
      "issuer_code": "string",
      "is_refund": "boolean",
      "is_pending": "boolean",
      "is_paid": "boolean",
      "is_authorized": "boolean",
      "is_captured": "boolean",
      "return_url": "string",
      "source_payment_id": "string",
      "metadata": "object",
      "paid_at": "string (date-time)",
      "created_at": "string (date-time)",
      "updated_at": "string (date-time)"
    }
  ],
  "metadata": "object",
  "purchase": {
    "contact_id": "string",
    "items": [
      {
        "sku": "string",
        "description": "string",
        "type": "string",
        "amount": "integer",
        "quantity": "integer",
        "vat_rate": "integer"
      }
    ]
  },
  "preset": {
    "method_code": "string",
    "issuer_code": "string",
    "provider_code": "string"
  },
  "secret": "string",
  "client_id": "string",
  "channel_id": "string (uuid)",
  "return_url": "string",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}

OdrPurchase: object

contact_id: string
items: OdrPurchaseItem
OdrPurchaseItem
Example
{
  "contact_id": "string",
  "items": [
    {
      "sku": "string",
      "description": "string",
      "type": "string",
      "amount": "integer",
      "quantity": "integer",
      "vat_rate": "integer"
    }
  ]
}

OdrTransactionModel: object

reference: OdrReference
description: string
amount: integer
currency: string EUR
metadata: object
purchase: OdrPurchase
preset: OdrPreset
return_url: string
client_id: string
channel_id: string (uuid)
Example
{
  "reference": {
    "entity_id": "string",
    "entity_type": "string"
  },
  "description": "string",
  "amount": "integer",
  "currency": "string",
  "metadata": "object",
  "purchase": {
    "contact_id": "string",
    "items": [
      {
        "sku": "string",
        "description": "string",
        "type": "string",
        "amount": "integer",
        "quantity": "integer",
        "vat_rate": "integer"
      }
    ]
  },
  "preset": {
    "method_code": "string",
    "issuer_code": "string",
    "provider_code": "string"
  },
  "return_url": "string",
  "client_id": "string",
  "channel_id": "string (uuid)"
}

OdrPreset: object

method_code: string
issuer_code: string
provider_code: string
Example
{
  "method_code": "string",
  "issuer_code": "string",
  "provider_code": "string"
}

OdrPurchaseItem:

sku: string
description: string
type: string product, handling, shipping
amount: integer
quantity: integer
vat_rate: integer
Example
{
  "sku": "string",
  "description": "string",
  "type": "string",
  "amount": "integer",
  "quantity": "integer",
  "vat_rate": "integer"
}

QcqProxy: object

key: string
routes: QcqRoute
QcqRoute
auth: object
signature: object
secret: string
auth: QcqAuthConfig
cache: QcqCacheConfig
oauth: object
issuer: string
client_id: string
authorize_url: string
return_url_key: string
tenant_id: string
created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "key": "string",
  "routes": [
    {
      "path": "string",
      "origin": {
        "is_bucket": "boolean",
        "uri": "string"
      },
      "settings": {
        "cache": {
          "is_as_origin": "boolean",
          "is_public": "boolean",
          "age": "integer"
        },
        "auth": {
          "is_required": "boolean",
          "scope": "string"
        }
      }
    }
  ],
  "auth": {
    "signature": {
      "secret": "string",
      "auth": "#/definitions/QcqAuthConfig",
      "cache": "#/definitions/QcqCacheConfig"
    }
  },
  "oauth": {
    "issuer": "string",
    "client_id": "string",
    "authorize_url": "string",
    "return_url_key": "string"
  },
  "tenant_id": "string",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}

QcqRoute: object

path: string
origin: object
is_bucket: boolean false
uri: string
settings: object
cache: QcqCacheConfig
auth: QcqAuthConfig
Example
{
  "path": "string",
  "origin": {
    "is_bucket": "boolean",
    "uri": "string"
  },
  "settings": {
    "cache": {
      "is_as_origin": "boolean",
      "is_public": "boolean",
      "age": "integer"
    },
    "auth": {
      "is_required": "boolean",
      "scope": "string"
    }
  }
}

QcqAuthConfig: object

is_required: boolean false
scope: string
Example
{
  "is_required": "boolean",
  "scope": "string"
}

QcqCacheConfig: object

is_as_origin: boolean
is_public: boolean
age: integer
Example
{
  "is_as_origin": "boolean",
  "is_public": "boolean",
  "age": "integer"
}

QcqProxyModel: object

key: string
routes: QcqRoute
QcqRoute
auth: object
signature: object
secret: string
auth: QcqAuthConfig
cache: QcqCacheConfig
oauth: object
issuer: string
client_id: string
authorize_url: string
return_url_key: string
Example
{
  "key": "string",
  "routes": [
    {
      "path": "string",
      "origin": {
        "is_bucket": "boolean",
        "uri": "string"
      },
      "settings": {
        "cache": {
          "is_as_origin": "boolean",
          "is_public": "boolean",
          "age": "integer"
        },
        "auth": {
          "is_required": "boolean",
          "scope": "string"
        }
      }
    }
  ],
  "auth": {
    "signature": {
      "secret": "string",
      "auth": "#/definitions/QcqAuthConfig",
      "cache": "#/definitions/QcqCacheConfig"
    }
  },
  "oauth": {
    "issuer": "string",
    "client_id": "string",
    "authorize_url": "string",
    "return_url_key": "string"
  }
}

QcqProxyUpdateModel: object

routes: QcqRoute
QcqRoute
auth: object
signature: object
secret: string
auth: QcqAuthConfig
cache: QcqCacheConfig
oauth: object
issuer: string
client_id: string
authorize_url: string
return_url_key: string
Example
{
  "routes": [
    {
      "path": "string",
      "origin": {
        "is_bucket": "boolean",
        "uri": "string"
      },
      "settings": {
        "cache": {
          "is_as_origin": "boolean",
          "is_public": "boolean",
          "age": "integer"
        },
        "auth": {
          "is_required": "boolean",
          "scope": "string"
        }
      }
    }
  ],
  "auth": {
    "signature": {
      "secret": "string",
      "auth": "#/definitions/QcqAuthConfig",
      "cache": "#/definitions/QcqCacheConfig"
    }
  },
  "oauth": {
    "issuer": "string",
    "client_id": "string",
    "authorize_url": "string",
    "return_url_key": "string"
  }
}

MesWebhookDelay: object

attempt: integer
delay: integer
total_delay: integer
Example
{
  "attempt": "integer",
  "delay": "integer",
  "total_delay": "integer"
}

MesWebhookAttempt: object

id: integer
number: integer
is_success: boolean
response_time: integer
response_code: integer
response_body: string
attempted_at: string (date-time)
Example
{
  "id": "integer",
  "number": "integer",
  "is_success": "boolean",
  "response_time": "integer",
  "response_code": "integer",
  "response_body": "string",
  "attempted_at": "string (date-time)"
}

MesWebhookTestMessage: object

id: integer
event: string
entity_id: string
payload: string
is_pending: boolean
is_delivered: boolean
signature: string
endpoint: string
subscription: integer
attempt: MesWebhookAttempt
created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "id": "integer",
  "event": "string",
  "entity_id": "string",
  "payload": "string",
  "is_pending": "boolean",
  "is_delivered": "boolean",
  "signature": "string",
  "endpoint": "string",
  "subscription": "integer",
  "attempt": {
    "id": "integer",
    "number": "integer",
    "is_success": "boolean",
    "response_time": "integer",
    "response_code": "integer",
    "response_body": "string",
    "attempted_at": "string (date-time)"
  },
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}

MesWebhookMessage: object

id: integer
event: string
entity_id: string
payload: string
is_pending: boolean
is_delivered: boolean
signature: string
attempts: integer
endpoint: string
subscription: integer
created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "id": "integer",
  "event": "string",
  "entity_id": "string",
  "payload": "string",
  "is_pending": "boolean",
  "is_delivered": "boolean",
  "signature": "string",
  "attempts": "integer",
  "endpoint": "string",
  "subscription": "integer",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}

MesWebhookEvent: object

event: string
description: string
Example
{
  "event": "string",
  "description": "string"
}

MesTrigger: object

event: string
entity_id: string
Example
{
  "event": "string",
  "entity_id": "string"
}

MesSubscriptionModel: object

events: string[]
string
endpoint: string
delivery_rate: integer

Delivery attempts per second

Example
{
  "events": [
    "string"
  ],
  "endpoint": "string",
  "delivery_rate": "integer"
}

MesWebhookSubscription: object

id: integer
events: string[]
string
endpoint: string
secret: string
delivery_rate: integer

Delivery attempts per second

created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "id": "integer",
  "events": [
    "string"
  ],
  "endpoint": "string",
  "secret": "string",
  "delivery_rate": "integer",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}

WmsStock: object

location_id: string
sku: string
position: string
lot_number: string
expires_at: string (date-time)
available: integer
reserved: integer
claimed: integer
transit: integer
missing: integer
backordered: integer
total: integer
Example
{
  "location_id": "string",
  "sku": "string",
  "position": "string",
  "lot_number": "string",
  "expires_at": "string (date-time)",
  "available": "integer",
  "reserved": "integer",
  "claimed": "integer",
  "transit": "integer",
  "missing": "integer",
  "backordered": "integer",
  "total": "integer"
}

WmsStockUpRequest: object

location_id: string (uuid)
items: WmsStockUpItem
WmsStockUpItem
Example
{
  "location_id": "string (uuid)",
  "items": [
    {
      "sku": "string",
      "quantity": "integer",
      "position": "string",
      "lot_number": "string",
      "expires_at": "string (date-time)"
    }
  ]
}

WmsStockUpItem: object

sku: string
quantity: integer
position: string
lot_number: string
expires_at: string (date-time)
Example
{
  "sku": "string",
  "quantity": "integer",
  "position": "string",
  "lot_number": "string",
  "expires_at": "string (date-time)"
}

WmsInventorySummaryConstraint: object

key: string sku, position, location_id, claim_id, is_managed, state, is_tracking_inventory
operator: string in
values: string[]
string
Example
{
  "key": "string",
  "operator": "string",
  "values": [
    "string"
  ]
}

WmsInventoryConstraint: object

key: string sku, location_id, state, claim_id, position, inventory_item_id
operator: string in
values: string[]
string
Example
{
  "key": "string",
  "operator": "string",
  "values": [
    "string"
  ]
}

WmsUpdateInventoryItemRequest: object

position: string

refers to the position within the warehouse

lot_number: string
expires_at: string (date-time)
metadata: WmsMetadata
Example
{
  "position": "string",
  "lot_number": "string",
  "expires_at": "string (date-time)",
  "metadata": "object"
}

WmsCreateRouteRequest: object

name: string
from: string

Location id

to: string

Location id

hops: string[]
string
Example
{
  "name": "string",
  "from": "string",
  "to": "string",
  "hops": [
    "string"
  ]
}

WmsUpdateRouteRequest: object

id: string
name: string
Example
{
  "id": "string",
  "name": "string"
}

WmsAttachItemClaimRequest: object

entity_type: string sku, inventory_item
entity_id: string
reference: string
state: string available, backordered
Example
{
  "entity_type": "string",
  "entity_id": "string",
  "reference": "string",
  "state": "string"
}

WmsCreateHopRequest: object

from: string

Location id

to: string

Location id

schedules: string[]
string

the schedule id

Example
{
  "from": "string",
  "to": "string",
  "schedules": [
    "string"
  ]
}

WmsCreateHopScheduleRequest: object

id: string
schedules: string[]
string

the schedule id

Example
{
  "id": "string",
  "schedules": [
    "string"
  ]
}

WmsCreateLocationRequest: object

id: string
name: string
country_iso: string
is_supplier: boolean
is_managed: boolean
is_customer: boolean
is_tracking_inventory: boolean
address_id: string
Example
{
  "id": "string",
  "name": "string",
  "country_iso": "string",
  "is_supplier": "boolean",
  "is_managed": "boolean",
  "is_customer": "boolean",
  "is_tracking_inventory": "boolean",
  "address_id": "string"
}

WmsUpdateLocationRequest: object

id: string
name: string
Example
{
  "id": "string",
  "name": "string"
}

WmsCreateScheduleRequest: object

name: string
last_call: string

timestamp for the given timezone

arrival: string

timestamp for the given timezone

timezone: string
duration: integer
available_weekdays: integer[]

As noted in ISO 8601 weekdays start at monday

integer
active_at: string[]
string (date-time)
Example
{
  "name": "string",
  "last_call": "string",
  "arrival": "string",
  "timezone": "string",
  "duration": "integer",
  "available_weekdays": [
    "integer"
  ],
  "active_at": [
    "string (date-time)"
  ]
}

WmsUpdateScheduleRequest: object

id: string
name: string
last_call: string

timestamp for the given timezone

arrival: string

timestamp for the given timezone

timezone: string
duration: integer
available_weekdays: integer[]

As noted in ISO 8601 weekdays start at monday

integer
active_at: string[]
string (date-time)
Example
{
  "id": "string",
  "name": "string",
  "last_call": "string",
  "arrival": "string",
  "timezone": "string",
  "duration": "integer",
  "available_weekdays": [
    "integer"
  ],
  "active_at": [
    "string (date-time)"
  ]
}

WmsCreateDurationRequest: object

route_id: string
from_location_id: string
to_location_id: string
calculate_at: string (date-time)
arrival_at: string (date-time)
Example
{
  "route_id": "string",
  "from_location_id": "string",
  "to_location_id": "string",
  "calculate_at": "string (date-time)",
  "arrival_at": "string (date-time)"
}

WmsCreateProjectionRequest: object

items: object[]
object
sku: string
quantity: integer
constraints: WmsConstraint
WmsConstraint
Example
{
  "items": [
    {
      "sku": "string",
      "quantity": "integer"
    }
  ],
  "constraints": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "string"
      ]
    }
  ]
}

WmsAvailableProjectionItem: object

location_id: string (uuid)
sku: string
amount: integer
Example
{
  "location_id": "string (uuid)",
  "sku": "string",
  "amount": "integer"
}

WmsUnavailableProjectionItem: object

location_id: string (uuid)
sku: string
amount: integer
Example
{
  "location_id": "string (uuid)",
  "sku": "string",
  "amount": "integer"
}

WmsCreateClaimRequest: object

location_id: string (uuid)
expires_at: string (date-time)
reference: string
Example
{
  "location_id": "string (uuid)",
  "expires_at": "string (date-time)",
  "reference": "string"
}

WmsConfirmClaimRequest: object

target_id: string (uuid)
Example
{
  "target_id": "string (uuid)"
}

WmsCreateTransferRequest: object

target: string (uuid)

Target location

arrival_at: string (date-time)

Optional value: use when you want to set a delivery in the feature

collect_at: string (uuid)

Optional value: use when order should be collected in single location

routing: object[]
object
claim_id: string (uuid)
collect_route_id: string (uuid)
delivery_route_id: string (uuid)
Example
{
  "target": "string (uuid)",
  "arrival_at": "string (date-time)",
  "collect_at": "string (uuid)",
  "routing": [
    {
      "claim_id": "string (uuid)",
      "collect_route_id": "string (uuid)",
      "delivery_route_id": "string (uuid)"
    }
  ]
}

WmsPositionLogResponse: object

id: string (uuid)
is_accurate: boolean
new_items: string[]
string (uuid)
missing_items: string[]
string (uuid)
user_id: string
verified_at: string (date-time)
created_at: string (date-time)
Example
{
  "id": "string (uuid)",
  "is_accurate": "boolean",
  "new_items": [
    "string (uuid)"
  ],
  "missing_items": [
    "string (uuid)"
  ],
  "user_id": "string",
  "verified_at": "string (date-time)",
  "created_at": "string (date-time)"
}

WmsPositionVerificationRequest: object

overage: string[]
string
missing_ids: string[]
string (uuid)
Example
{
  "overage": [
    "string"
  ],
  "missing_ids": [
    "string (uuid)"
  ]
}

WmsInventoryItem: object

id: string
sku: string
claim_id: string
location_id: string
metadata: WmsMetadata
state: string available, pending, claimed, transit, missing, backordered
position: string
lot_number: string

the lot number of the inventory item

expires_at: string (date-time)
created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "id": "string",
  "sku": "string",
  "claim_id": "string",
  "location_id": "string",
  "metadata": "object",
  "state": "string",
  "position": "string",
  "lot_number": "string",
  "expires_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}

WmsRoute: object

id: string
name: string
from: string

Location id

to: string

Location id

hops: string[]
string
created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "id": "string",
  "name": "string",
  "from": "string",
  "to": "string",
  "hops": [
    "string"
  ],
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}

WmsHop: object

id: string
from: string

Location id

to: string

Location id

schedules: string[]

a list of applied schedules

string
created_at: string (date-time)
deleted_at: string (date-time)
Example
{
  "id": "string",
  "from": "string",
  "to": "string",
  "schedules": [
    "string"
  ],
  "created_at": "string (date-time)",
  "deleted_at": "string (date-time)"
}

WmsLocation: object

id: string
name: string
country_iso: string
is_supplier: boolean
is_managed: boolean
is_customer: boolean
is_tracking_inventory: boolean
address_id: string
created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "id": "string",
  "name": "string",
  "country_iso": "string",
  "is_supplier": "boolean",
  "is_managed": "boolean",
  "is_customer": "boolean",
  "is_tracking_inventory": "boolean",
  "address_id": "string",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}

WmsSchedule: object

id: string
last_call: string

timestamp for the given timezone

arrival: string

timestamp for the given timezone

duration: integer

the amount of days it takes to arive at its destination

timezone: string
available_weekdays: integer[]

A Weekday specifies a day of the week (Sunday = 0, ...)

integer 0, 1, 2, 3, 4, 5, 6, 7
active_at: string[]
string (date)
Example
{
  "id": "string",
  "last_call": "string",
  "arrival": "string",
  "duration": "integer",
  "timezone": "string",
  "available_weekdays": [
    "integer"
  ],
  "active_at": [
    "string (date)"
  ]
}

WmsTransferReport: object

target: string (uuid)
item_claims: WmsTransferReportItem
WmsTransferReportItem
Example
{
  "target": "string (uuid)",
  "item_claims": [
    {
      "claim_item_id": "string (uuid)",
      "position": "string"
    }
  ]
}

WmsTransferReportItem: object

claim_item_id: string (uuid)
position: string
Example
{
  "claim_item_id": "string (uuid)",
  "position": "string"
}

WmsProjection: object

Example
{
  "locations": [
    "string"
  ],
  "available": [
    {
      "location_id": "string (uuid)",
      "sku": "string",
      "amount": "integer"
    }
  ],
  "unavailable": [
    {
      "location_id": "string (uuid)",
      "sku": "string",
      "amount": "integer"
    }
  ]
}

WmsConstraint: object

key: string location, route, hop_count
operator: string in, lt, lte, gt, gte
values: string[]
string
Example
{
  "key": "string",
  "operator": "string",
  "values": [
    "string"
  ]
}

WmsClaim: object

id: string (uuid)
location_id: string
target: string
expires_at: string (date-time)
created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "id": "string (uuid)",
  "location_id": "string",
  "target": "string",
  "expires_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}

WmsClaimItem: object

id: string (uuid)
inventory_item_id: string (uuid)
position: string
reference: string
updated_at: string (date-time)
Example
{
  "id": "string (uuid)",
  "inventory_item_id": "string (uuid)",
  "position": "string",
  "reference": "string",
  "updated_at": "string (date-time)"
}

WmsTransfer: object

id: string (uuid)
target: string (uuid)

Target location

status: string pending, transit, delivered
collect_at: string (uuid)
collections: WmsSubTransferSummary

Optional: used when order should be packed in a single box for the target

WmsSubTransferSummary
deliveries: WmsSubTransferSummary
WmsSubTransferSummary
is_collection_pending: boolean
created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "id": "string (uuid)",
  "target": "string (uuid)",
  "status": "string",
  "collect_at": "string (uuid)",
  "collections": [
    {
      "id": "string (uuid)",
      "from": "string (uuid)",
      "status": "string",
      "route_id": "string (uuid)",
      "ship_at": "string (date-time)",
      "expected_at": "string (date-time)",
      "created_at": "string (date-time)",
      "updated_at": "string (date-time)"
    }
  ],
  "deliveries": [
    "#/definitions/WmsSubTransferSummary"
  ],
  "is_collection_pending": "boolean",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}

WmsSubTransferSummary: object

id: string (uuid)
from: string (uuid)

Location id

status: string pending, partial, delivered
route_id: string (uuid)
ship_at: string (date-time)
expected_at: string (date-time)
created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "id": "string (uuid)",
  "from": "string (uuid)",
  "status": "string",
  "route_id": "string (uuid)",
  "ship_at": "string (date-time)",
  "expected_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}

WmsDurationResponse: object

arrival_at: string (date-time)
ship_at: string (date-time)
Example
{
  "arrival_at": "string (date-time)",
  "ship_at": "string (date-time)"
}

WmsAddAvailableSkuRequest: array

string
Example
[
  "string"
]

WmsSubTransfer: object

id: string
transfer_id: string
from: string

Location id

status: string pending, partial, delivered
route_id: string
ship_at: string (date-time)
expected_at: string (date-time)
created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "id": "string",
  "transfer_id": "string",
  "from": "string",
  "status": "string",
  "route_id": "string",
  "ship_at": "string (date-time)",
  "expected_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}

WmsSubTransferItem: object

transfer_item_id: string
status: string
claim_item_id: string
inventory_item_id: string
reference: string
sku: string
location_id: string
created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "transfer_item_id": "string",
  "status": "string",
  "claim_item_id": "string",
  "inventory_item_id": "string",
  "reference": "string",
  "sku": "string",
  "location_id": "string",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}

WmsTransport: object

id: string (uuid)
previous: string (uuid)
next: string (uuid)
status: string pending, shipped, delivered
inbound_shipment_id: string
outbound_shipment_id: string
reference: string
from: string (uuid)
departure_at: string (date-time)
to: string (uuid)
arrival_at: string (date-time)
Example
{
  "id": "string (uuid)",
  "previous": "string (uuid)",
  "next": "string (uuid)",
  "status": "string",
  "inbound_shipment_id": "string",
  "outbound_shipment_id": "string",
  "reference": "string",
  "from": "string (uuid)",
  "departure_at": "string (date-time)",
  "to": "string (uuid)",
  "arrival_at": "string (date-time)"
}

WmsDescriptiveLocation: object

id: string (uuid)
label: string
Example
{
  "id": "string (uuid)",
  "label": "string"
}

WmsTraveledRoute: object

claim_item_id: string (uuid)
sku: string
claim_id: string (uuid)
route: WmsDescriptiveLocation
WmsDescriptiveLocation
transports: WmsTransport
WmsTransport
Example
{
  "claim_item_id": "string (uuid)",
  "sku": "string",
  "claim_id": "string (uuid)",
  "route": [
    {
      "id": "string (uuid)",
      "label": "string"
    }
  ],
  "transports": [
    {
      "id": "string (uuid)",
      "previous": "string (uuid)",
      "next": "string (uuid)",
      "status": "string",
      "inbound_shipment_id": "string",
      "outbound_shipment_id": "string",
      "reference": "string",
      "from": "string (uuid)",
      "departure_at": "string (date-time)",
      "to": "string (uuid)",
      "arrival_at": "string (date-time)"
    }
  ]
}

WmsTraveledRouteSummary: object

claim_id: string (uuid)
route: WmsDescriptiveLocation
WmsDescriptiveLocation
transports: WmsTransport
WmsTransport
Example
{
  "claim_id": "string (uuid)",
  "route": [
    {
      "id": "string (uuid)",
      "label": "string"
    }
  ],
  "transports": [
    {
      "id": "string (uuid)",
      "previous": "string (uuid)",
      "next": "string (uuid)",
      "status": "string",
      "inbound_shipment_id": "string",
      "outbound_shipment_id": "string",
      "reference": "string",
      "from": "string (uuid)",
      "departure_at": "string (date-time)",
      "to": "string (uuid)",
      "arrival_at": "string (date-time)"
    }
  ]
}

WmsAddAvailableSkuResponse: object

id: string (uuid)
sku: string
created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "id": "string (uuid)",
  "sku": "string",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}

WmsMetadata: object

additional metadata that applies to the item

string
Example
"object"

OdrStartSessionRequest: object

expires_at: string (datetime)
audience: string
Example
{
  "expires_at": "string (datetime)",
  "audience": "string"
}

OdrAttachSessionRequest: object

order_id: string
Example
{
  "order_id": "string"
}

OdrSetSessionReferenceRequest: object

reference: string
Example
{
  "reference": "string"
}

OdrStartSessionResponse: object

id: string
expires_at: string (datetime)
Example
{
  "id": "string",
  "expires_at": "string (datetime)"
}

OdrSelectSessionBillingMethodRequest: object

method_id: string
issuer_id: string
Example
{
  "method_id": "string",
  "issuer_id": "string"
}

OdrSelectSessionBillingRequest: object

address_id: string
contact: object
primary: boolean
secondary: boolean
organisation: object
primary: boolean
Example
{
  "address_id": "string",
  "contact": {
    "primary": "boolean",
    "secondary": "boolean"
  },
  "organisation": {
    "primary": "boolean"
  }
}

OdrSelectSessionOrganisationRequest: object

organisation_id: string (uuid)
Example
{
  "organisation_id": "string (uuid)"
}

OdrSelectSessionShippingMethodRequest: object

is_split_allowed: boolean
method_id: string (uuid)
Example
{
  "is_split_allowed": "boolean",
  "method_id": "string (uuid)"
}

OdrSelectSessionShippingRequest: object

one of the following keys is required for shipping

address_id: string
contact: object
primary: boolean
secondary: boolean
organisation: object
primary: boolean
Example
{
  "address_id": "string",
  "contact": {
    "primary": "boolean",
    "secondary": "boolean"
  },
  "organisation": {
    "primary": "boolean"
  }
}

OdrSelectSessionPhonenumberRequest: object

one of the following keys is required for shipping

phone_number_id: string
contact: object
primary: boolean
secondary: boolean
organisation: object
primary: boolean
Example
{
  "phone_number_id": "string",
  "contact": {
    "primary": "boolean",
    "secondary": "boolean"
  },
  "organisation": {
    "primary": "boolean"
  }
}

OdrGetSessionShippingResponse: array

object
distance: number
point: OdrPoint
Example
[
  {
    "distance": "number",
    "point": {
      "id": "string",
      "name": "string",
      "carrier": "string",
      "latitude": "number (float64)",
      "longtitude": "number (float64)",
      "address": {
        "id": "string",
        "country_code": "string",
        "administrative_area": "string",
        "locality": "string",
        "dependent_locality": "string",
        "postal_code": "string",
        "sorting_code": "string",
        "address_line_1": "string",
        "address_line_2": "string",
        "thoroughfare": "string",
        "premise_number": "integer",
        "premise_number_suffix": "string",
        "organisation": "string",
        "given_name": "string",
        "additional_name": "string",
        "family_name": "string"
      },
      "openings": [
        {
          "weekday": "number",
          "windows": [
            {
              "start": "string",
              "end": "string"
            }
          ]
        }
      ]
    }
  }
]

OdrGetSessionShippingMethodResponse: object

id: string
carrier: string
name: string
type: string pick, homedelivery, servicepoint
price: number
Example
{
  "id": "string",
  "carrier": "string",
  "name": "string",
  "type": "string",
  "price": "number"
}

OdrSelectSessionShippingPointRequest: object

spid: string
country_code: string
Example
{
  "spid": "string",
  "country_code": "string"
}

OdrSelectSessionShippingWindowRequest: object

from: integer
to: integer
at: string (date)
Example
{
  "from": "integer",
  "to": "integer",
  "at": "string (date)"
}

OdrSelectSessionShippingWindowResponse: object

from: integer
to: integer
at: string (date)
Example
{
  "from": "integer",
  "to": "integer",
  "at": "string (date)"
}

OdrGetSessionResponse: object

expires_at: string (datetime)
Example
{
  "expires_at": "string (datetime)"
}

OdrGetSessionOrganisationOptionsResponse: object

Example
{
  "primary": {
    "id": "string (uuid)",
    "name": "string",
    "coc_number": "string",
    "registrations": [
      {
        "country_code": "string",
        "number": "string",
        "is_valid": "boolean",
        "is_pending": "boolean"
      }
    ]
  },
  "secondary": [
    "#/definitions/OdrOrganisation"
  ]
}

OdrAuthenticationRequest: object

email: string
password: string
Example
{
  "email": "string",
  "password": "string"
}

OdrIdentityExistsRequest: object

email: string
Example
{
  "email": "string"
}

OdrAuthenticationResponse: object

id: string (uuid)
email: string
given_name: string

First name

additional_name: string

Patronymic

family_name: string

Last name

Example
{
  "id": "string (uuid)",
  "email": "string",
  "given_name": "string",
  "additional_name": "string",
  "family_name": "string"
}

OdrAuthorizationRequest: object

calculation_id: string (uuid)
Example
{
  "calculation_id": "string (uuid)"
}

OdrAuthorizationResponse: object

accepted: boolean
forward_uri: string (url)
Example
{
  "accepted": "boolean",
  "forward_uri": "string (url)"
}

OdrCombinedAddressSet: object

contact: OdrAddressSet
organisation: OdrAddressSet
session: OdrAddressSet
Example
{
  "contact": {
    "primary": {
      "id": "string",
      "country_code": "string",
      "administrative_area": "string",
      "locality": "string",
      "dependent_locality": "string",
      "postal_code": "string",
      "sorting_code": "string",
      "address_line_1": "string",
      "address_line_2": "string",
      "thoroughfare": "string",
      "premise_number": "integer",
      "premise_number_suffix": "string",
      "organisation": "string",
      "given_name": "string",
      "additional_name": "string",
      "family_name": "string"
    },
    "secondary": [
      "#/definitions/OdrAddress"
    ]
  },
  "organisation": "#/definitions/OdrAddressSet",
  "session": "#/definitions/OdrAddressSet"
}

OdrAddressSet: object

primary: OdrAddress
secondary: OdrAddress
OdrAddress
Example
{
  "primary": {
    "id": "string",
    "country_code": "string",
    "administrative_area": "string",
    "locality": "string",
    "dependent_locality": "string",
    "postal_code": "string",
    "sorting_code": "string",
    "address_line_1": "string",
    "address_line_2": "string",
    "thoroughfare": "string",
    "premise_number": "integer",
    "premise_number_suffix": "string",
    "organisation": "string",
    "given_name": "string",
    "additional_name": "string",
    "family_name": "string"
  },
  "secondary": [
    "#/definitions/OdrAddress"
  ]
}

OdrCombinedPhoneNumberSet: object

contact: OdrPhonenumberSet
organisation: OdrPhonenumberSet
session: OdrPhonenumberSet
Example
{
  "contact": {
    "primary": {
      "id": "string (uuid)",
      "country_code": "string",
      "number": "string"
    },
    "secondary": [
      "#/definitions/OdrPhonenumber"
    ]
  },
  "organisation": "#/definitions/OdrPhonenumberSet",
  "session": "#/definitions/OdrPhonenumberSet"
}

OdrPhonenumberSet: object

Example
{
  "primary": {
    "id": "string (uuid)",
    "country_code": "string",
    "number": "string"
  },
  "secondary": [
    "#/definitions/OdrPhonenumber"
  ]
}

OdrPoint: object

id: string
name: string
carrier: string
latitude: number (float64)
longtitude: number (float64)
address: OdrAddress
openings: object[]
object
weekday: number
windows: object[]
object
start: string
end: string
Example
{
  "id": "string",
  "name": "string",
  "carrier": "string",
  "latitude": "number (float64)",
  "longtitude": "number (float64)",
  "address": {
    "id": "string",
    "country_code": "string",
    "administrative_area": "string",
    "locality": "string",
    "dependent_locality": "string",
    "postal_code": "string",
    "sorting_code": "string",
    "address_line_1": "string",
    "address_line_2": "string",
    "thoroughfare": "string",
    "premise_number": "integer",
    "premise_number_suffix": "string",
    "organisation": "string",
    "given_name": "string",
    "additional_name": "string",
    "family_name": "string"
  },
  "openings": [
    {
      "weekday": "number",
      "windows": [
        {
          "start": "string",
          "end": "string"
        }
      ]
    }
  ]
}

OdrAddress: object

id: string
country_code: string

Two letter counpremise_numbertry code

administrative_area: string

The state or province name or abbreviation (optional)

locality: string

City

dependent_locality: string

Additional information about the locality (optional)

postal_code: string

The complete postal code for the delivery point

sorting_code: string

Allow sorting, for example to route mail (optional)

address_line_1: string

The first address line

address_line_2: string

The second address line (optional)

thoroughfare: string
premise_number: integer
premise_number_suffix: string
organisation: string

The name of the recipient, firm, or company at this address (optional)

given_name: string

First name

additional_name: string

Patronymic

family_name: string

Last name

Example
{
  "id": "string",
  "country_code": "string",
  "administrative_area": "string",
  "locality": "string",
  "dependent_locality": "string",
  "postal_code": "string",
  "sorting_code": "string",
  "address_line_1": "string",
  "address_line_2": "string",
  "thoroughfare": "string",
  "premise_number": "integer",
  "premise_number_suffix": "string",
  "organisation": "string",
  "given_name": "string",
  "additional_name": "string",
  "family_name": "string"
}

OdrSessionProjection: object

items: OdrSessionProjectionItem
OdrSessionProjectionItem
services: OdrSessionCalculationServiceItem
OdrSessionCalculationServiceItem
subtotal: integer
adjustments: OdrSessionCalculationAdjustment
OdrSessionCalculationAdjustment
total: integer
vat: OdrVatResult
OdrVatResult
currency: string
is_including_vat: boolean
is_vat_shifted: boolean
client_id: string
pricing_at: string (date-time)
Example
{
  "items": [
    {
      "reference": "string",
      "sku": "string",
      "description": "string",
      "type": "string",
      "amount": "integer",
      "is_discounted": "boolean",
      "quantity": "integer",
      "subtotal": "integer",
      "adjustments": [
        {
          "reference": "string",
          "description": "string",
          "amount": "number",
          "is_percentage": "boolean",
          "is_discount": "boolean",
          "result": {
            "is_applied_rule": "boolean",
            "rule_id": "string",
            "output": "integer"
          }
        }
      ],
      "vat_percentage": "integer",
      "total": "integer",
      "total_revenue": "integer",
      "order_items": [
        {
          "id": "string",
          "is_invoiced": "boolean",
          "invoice_id": "string (uuid)"
        }
      ]
    }
  ],
  "services": [
    {
      "description": "string",
      "type": "string",
      "amount": "number",
      "is_percentage": "boolean",
      "quantity": "integer",
      "subtotal": "integer",
      "adjustments": [
        {
          "reference": "string",
          "description": "string",
          "amount": "number",
          "is_percentage": "boolean",
          "is_discount": "boolean",
          "result": {
            "is_applied_rule": "boolean",
            "rule_id": "string (uuid)",
            "output": "integer"
          }
        }
      ],
      "vat_percentage": "integer",
      "total": "integer"
    }
  ],
  "subtotal": "integer",
  "adjustments": [
    "#/definitions/OdrSessionCalculationAdjustment"
  ],
  "total": "integer",
  "vat": [
    {
      "rate": "integer",
      "amount": "integer"
    }
  ],
  "currency": "string",
  "is_including_vat": "boolean",
  "is_vat_shifted": "boolean",
  "client_id": "string",
  "pricing_at": "string (date-time)"
}

OdrSessionCalculation: object

id: string (uuid)
number: string
reference: string
items: OdrSessionProjectionItem
OdrSessionProjectionItem
services: OdrSessionCalculationServiceItem
OdrSessionCalculationServiceItem
subtotal: integer
adjustments: OdrSessionCalculationAdjustment
OdrSessionCalculationAdjustment
total: integer
vat: OdrVatResult
OdrVatResult
settings: OdrSessionCalculationSettings
currency: string
customer: OdrContact
vendor: OdrContact
is_including_vat: boolean
is_vat_shifted: boolean
is_prepaid: boolean
client_id: string
channel_id: string (uuid)
file_id: string
metadata: object
pricing_at: string (date-time)
invoiced_at: string (date-time)
prepaid_at: string (date-time)
order_ids: string[]
string
coupons: string[]
string
created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "id": "string (uuid)",
  "number": "string",
  "reference": "string",
  "items": [
    {
      "reference": "string",
      "sku": "string",
      "description": "string",
      "type": "string",
      "amount": "integer",
      "is_discounted": "boolean",
      "quantity": "integer",
      "subtotal": "integer",
      "adjustments": [
        {
          "reference": "string",
          "description": "string",
          "amount": "number",
          "is_percentage": "boolean",
          "is_discount": "boolean",
          "result": {
            "is_applied_rule": "boolean",
            "rule_id": "string",
            "output": "integer"
          }
        }
      ],
      "vat_percentage": "integer",
      "total": "integer",
      "total_revenue": "integer",
      "order_items": [
        {
          "id": "string",
          "is_invoiced": "boolean",
          "invoice_id": "string (uuid)"
        }
      ]
    }
  ],
  "services": [
    {
      "description": "string",
      "type": "string",
      "amount": "number",
      "is_percentage": "boolean",
      "quantity": "integer",
      "subtotal": "integer",
      "adjustments": [
        {
          "reference": "string",
          "description": "string",
          "amount": "number",
          "is_percentage": "boolean",
          "is_discount": "boolean",
          "result": {
            "is_applied_rule": "boolean",
            "rule_id": "string (uuid)",
            "output": "integer"
          }
        }
      ],
      "vat_percentage": "integer",
      "total": "integer"
    }
  ],
  "subtotal": "integer",
  "adjustments": [
    "#/definitions/OdrSessionCalculationAdjustment"
  ],
  "total": "integer",
  "vat": [
    {
      "rate": "integer",
      "amount": "integer"
    }
  ],
  "settings": {
    "billing": {
      "method_code": "string",
      "issuer_code": "string",
      "provider_code": "string",
      "vat": {
        "is_shift_disabled": "boolean",
        "is_shift_required": "boolean"
      }
    },
    "shipping": {
      "method_id": "string (uuid)"
    }
  },
  "currency": "string",
  "customer": {
    "tags": [
      "string"
    ],
    "vat_country_code": "string",
    "contact": {
      "email": "string",
      "vat_number": "string",
      "coc_number": "string",
      "organisation_id": "string",
      "organisation_version": "string",
      "address_id": "string",
      "phone_number_id": "string",
      "id": "string"
    }
  }
}

OdrSessionCalculationSettings: object

Example
{
  "billing": {
    "method_code": "string",
    "issuer_code": "string",
    "provider_code": "string",
    "vat": {
      "is_shift_disabled": "boolean",
      "is_shift_required": "boolean"
    }
  },
  "shipping": {
    "method_id": "string (uuid)"
  }
}

OdrSessionCalculationSettingsBilling: object

method_code: string
issuer_code: string
provider_code: string
vat: OdrSessionSettingsBillingVat
Example
{
  "method_code": "string",
  "issuer_code": "string",
  "provider_code": "string",
  "vat": {
    "is_shift_disabled": "boolean",
    "is_shift_required": "boolean"
  }
}

OdrSessionSettingsBillingVat: object

is_shift_disabled: boolean false
is_shift_required: boolean false
Example
{
  "is_shift_disabled": "boolean",
  "is_shift_required": "boolean"
}

OdrSessionCalculationSettingsShipping: object

method_id: string (uuid)
Example
{
  "method_id": "string (uuid)"
}

OdrSessionCalculationServiceItem: object

description: string
type: string product, handling, shipping
amount: number
is_percentage: boolean
quantity: integer
subtotal: integer
adjustments: OdrSessionCalculationServiceAdjustment
OdrSessionCalculationServiceAdjustment
vat_percentage: integer
total: integer
Example
{
  "description": "string",
  "type": "string",
  "amount": "number",
  "is_percentage": "boolean",
  "quantity": "integer",
  "subtotal": "integer",
  "adjustments": [
    {
      "reference": "string",
      "description": "string",
      "amount": "number",
      "is_percentage": "boolean",
      "is_discount": "boolean",
      "result": {
        "is_applied_rule": "boolean",
        "rule_id": "string (uuid)",
        "output": "integer"
      }
    }
  ],
  "vat_percentage": "integer",
  "total": "integer"
}

OdrSessionCalculationServiceAdjustment: object

reference: string
description: string
amount: number
is_percentage: boolean
is_discount: boolean
result: OdrSessionCalculationServiceAdjustmentResult
Example
{
  "reference": "string",
  "description": "string",
  "amount": "number",
  "is_percentage": "boolean",
  "is_discount": "boolean",
  "result": {
    "is_applied_rule": "boolean",
    "rule_id": "string (uuid)",
    "output": "integer"
  }
}

OdrSessionCalculationServiceAdjustmentResult: object

is_applied_rule: boolean
rule_id: string (uuid)
output: integer
Example
{
  "is_applied_rule": "boolean",
  "rule_id": "string (uuid)",
  "output": "integer"
}

OdrSessionProjectionItem: object

reference: string
sku: string
description: string
type: string product, handling, shipping
amount: integer
is_discounted: boolean
quantity: integer
subtotal: integer
adjustments: OdrSessionCalculationAdjustment
OdrSessionCalculationAdjustment
vat_percentage: integer
total: integer
total_revenue: integer
order_items: OdrSessionCalculationStackItem
OdrSessionCalculationStackItem
Example
{
  "reference": "string",
  "sku": "string",
  "description": "string",
  "type": "string",
  "amount": "integer",
  "is_discounted": "boolean",
  "quantity": "integer",
  "subtotal": "integer",
  "adjustments": [
    {
      "reference": "string",
      "description": "string",
      "amount": "number",
      "is_percentage": "boolean",
      "is_discount": "boolean",
      "result": {
        "is_applied_rule": "boolean",
        "rule_id": "string",
        "output": "integer"
      }
    }
  ],
  "vat_percentage": "integer",
  "total": "integer",
  "total_revenue": "integer",
  "order_items": [
    {
      "id": "string",
      "is_invoiced": "boolean",
      "invoice_id": "string (uuid)"
    }
  ]
}

OdrSessionCalculationStackItem: object

id: string
is_invoiced: boolean
invoice_id: string (uuid)
Example
{
  "id": "string",
  "is_invoiced": "boolean",
  "invoice_id": "string (uuid)"
}

OdrSessionCalculationAdjustment: object

reference: string
description: string
amount: number 0
is_percentage: boolean
is_discount: boolean
result: OdrSessionCalculationAdjustmentResult
Example
{
  "reference": "string",
  "description": "string",
  "amount": "number",
  "is_percentage": "boolean",
  "is_discount": "boolean",
  "result": {
    "is_applied_rule": "boolean",
    "rule_id": "string",
    "output": "integer"
  }
}

OdrSessionCalculationAdjustmentResult: object

is_applied_rule: boolean
rule_id: string
output: integer

The result of the rule. Will be negative in case of a discount.

Example
{
  "is_applied_rule": "boolean",
  "rule_id": "string",
  "output": "integer"
}

OdrNewPhonenumber: object

country_code: string

Two letter counpremise_numbertry code

number: string

Last name

Example
{
  "country_code": "string",
  "number": "string"
}

OdrPhonenumber: object

id: string (uuid)
country_code: string

Two letter counpremise_numbertry code

number: string

Last name

Example
{
  "id": "string (uuid)",
  "country_code": "string",
  "number": "string"
}

OdrNewContact: object

email: string
given_name: string

First name

additional_name: string

Patronymic

family_name: string

Last name

Example
{
  "email": "string",
  "given_name": "string",
  "additional_name": "string",
  "family_name": "string"
}

OdrNewAddress: object

country_code: string

Two letter counpremise_numbertry code

administrative_area: string

The state or province name or abbreviation (optional)

locality: string

City

dependent_locality: string

Additional information about the locality (optional)

postal_code: string

The complete postal code for the delivery point

sorting_code: string

Allow sorting, for example to route mail (optional)

address_line_1: string

The first address line

address_line_2: string

The second address line (optional)

thoroughfare: string
premise_number: integer
premise_number_suffix: string
organisation: string

The name of the recipient, firm, or company at this address (optional)

given_name: string

First name

additional_name: string

Patronymic

family_name: string

Last name

Example
{
  "country_code": "string",
  "administrative_area": "string",
  "locality": "string",
  "dependent_locality": "string",
  "postal_code": "string",
  "sorting_code": "string",
  "address_line_1": "string",
  "address_line_2": "string",
  "thoroughfare": "string",
  "premise_number": "integer",
  "premise_number_suffix": "string",
  "organisation": "string",
  "given_name": "string",
  "additional_name": "string",
  "family_name": "string"
}

OdrSessionContact: object

id: string (uuid)
version: string (uuid)
email: string
tags: string[]
string
given_name: string

First name

additional_name: string

Patronymic

family_name: string

Last name

created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "id": "string (uuid)",
  "version": "string (uuid)",
  "email": "string",
  "tags": [
    "string"
  ],
  "given_name": "string",
  "additional_name": "string",
  "family_name": "string",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}

OdrSessionProviderMethod: object

method_id: string
name: string
issuers: OdrSessionIssuer
OdrSessionIssuer
metadata: object
Example
{
  "method_id": "string",
  "name": "string",
  "issuers": [
    {
      "method_id": "string",
      "name": "string",
      "metadata": "object"
    }
  ],
  "metadata": "object"
}

OdrOrganisation: object

id: string (uuid)
name: string

The name of the recipient, firm, or company at this address (optional)

coc_number: string
registrations: OdrVatRegistration
OdrVatRegistration
Example
{
  "id": "string (uuid)",
  "name": "string",
  "coc_number": "string",
  "registrations": [
    {
      "country_code": "string",
      "number": "string",
      "is_valid": "boolean",
      "is_pending": "boolean"
    }
  ]
}

OdrNewOrganisation: object

name: string

The name of the recipient, firm, or company at this address (optional)

coc_number: string
registrations: OdrVatRegistration
OdrVatRegistration
Example
{
  "name": "string",
  "coc_number": "string",
  "registrations": [
    {
      "country_code": "string",
      "number": "string",
      "is_valid": "boolean",
      "is_pending": "boolean"
    }
  ]
}

OdrVatRegistration: object

country_code: string
number: string
is_valid: boolean
is_pending: boolean
Example
{
  "country_code": "string",
  "number": "string",
  "is_valid": "boolean",
  "is_pending": "boolean"
}

OdrSessionIssuer: object

method_id: string
name: string
metadata: object
Example
{
  "method_id": "string",
  "name": "string",
  "metadata": "object"
}

CntDirectoryRequest: object

path: string
Example
{
  "path": "string"
}

CntUploadRequest: object

is_public: boolean
path: string
is_listed: boolean
method: string resolve, strict, upsert strict
metadata: object
Example
{
  "is_public": "boolean",
  "path": "string",
  "is_listed": "boolean",
  "method": "string",
  "metadata": "object"
}

CntUploadResponse: object

expires_at: string (date-time)
signature: string
Example
{
  "expires_at": "string (date-time)",
  "signature": "string"
}

CntSimpleQuery: object

codes: string[]
string
models: string[]
string
namespaces: string[]
string
q: string[]
string
is_fuzzy: boolean true
limit: integer
threshold: number (double) 1
page_cursor: string
Example
{
  "codes": [
    "string"
  ],
  "models": [
    "string"
  ],
  "namespaces": [
    "string"
  ],
  "q": [
    "string"
  ],
  "is_fuzzy": "boolean",
  "limit": "integer",
  "threshold": "number (double)",
  "page_cursor": "string"
}

CntFilter: object

key: string
operator: string in, gt, gte, lt, lte, prefix, not_in
values: string[]
string
Example
{
  "key": "string",
  "operator": "string",
  "values": [
    "string"
  ]
}

CntRelativeDate: object

quantity: integer
key: string minutes, hours, days, weeks, months
direction: string ago, ahead
at: object
timezone: string
hour: string 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 0, now
minute: string 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 0, now
day_of_week: string monday, tuesday, wednesday, thursday, friday, saterday, sunday
day_of_month: string 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, last
Example
{
  "quantity": "integer",
  "key": "string",
  "direction": "string",
  "at": {
    "timezone": "string",
    "hour": "string",
    "minute": "string",
    "day_of_week": "string",
    "day_of_month": "string"
  }
}

CntSearchQuery: object

q: string[]
string
is_fuzzy: boolean true
filter: CntFilter
CntFilter
missing: string[]
string
facets: string[]
string
limit: integer
threshold: number (double) 1
page_cursor: string
sort: CntSort
CntSort
Example
{
  "q": [
    "string"
  ],
  "is_fuzzy": "boolean",
  "filter": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "string"
      ]
    }
  ],
  "missing": [
    "string"
  ],
  "facets": [
    "string"
  ],
  "limit": "integer",
  "threshold": "number (double)",
  "page_cursor": "string",
  "sort": [
    {
      "key": "string",
      "order": "string"
    }
  ]
}

CntSimpleSeachResponse: object

Example
{
  "hits": [
    {
      "reference": "string",
      "title": "string",
      "code": "string",
      "model": "string",
      "namespace": "string",
      "description": "string",
      "sub": "string",
      "metadata": "object"
    }
  ],
  "pagination": {
    "entity_count": "integer",
    "page_limit": "integer",
    "page_count": "integer",
    "next_page_cursor": "string"
  }
}

CntSeachResponse: object

Example
{
  "hits": [
    {
      "reference": "string",
      "title": "string",
      "description": "string",
      "sub": "string",
      "metadata": "object",
      "filters": "object"
    }
  ],
  "facets": [
    {
      "key": "string",
      "buckets": [
        {
          "value": "string",
          "count": "string"
        }
      ]
    }
  ],
  "pagination": {
    "entity_count": "integer",
    "page_limit": "integer",
    "page_count": "integer",
    "next_page_cursor": "string"
  }
}

CntSuggestResponse: object

Example
{
  "hits": [
    {
      "reference": "string",
      "title": "string",
      "code": "string",
      "model": "string",
      "namespace": "string",
      "description": "string",
      "sub": "string",
      "metadata": "object"
    }
  ]
}

CntFacet: object

key: string
buckets: CntBucket
CntBucket
Example
{
  "key": "string",
  "buckets": [
    {
      "value": "string",
      "count": "string"
    }
  ]
}

CntBucket: object

value: string
count: string
Example
{
  "value": "string",
  "count": "string"
}

CntDocumentResponse: object

reference: string
title: string
description: string
sub: string
metadata: object
filters: object
Example
{
  "reference": "string",
  "title": "string",
  "description": "string",
  "sub": "string",
  "metadata": "object",
  "filters": "object"
}

CntSimpleDocumentResponse: object

reference: string
title: string
code: string
model: string
namespace: string
description: string
sub: string
metadata: object
Example
{
  "reference": "string",
  "title": "string",
  "code": "string",
  "model": "string",
  "namespace": "string",
  "description": "string",
  "sub": "string",
  "metadata": "object"
}

CntField: object

key: string
type: string datetime, text, short_text, keyword, integer, boolean, autocomplete, metadata
Example
{
  "key": "string",
  "type": "string"
}

CntSort: object

key: string
order: string asc, desc
Example
{
  "key": "string",
  "order": "string"
}

CntDefinitionModel: object

namespace: string
code: string
model: string
key: string
type: string datetime, text, short_text, keyword, integer, boolean, autocomplete, metadata
Example
{
  "namespace": "string",
  "code": "string",
  "model": "string",
  "key": "string",
  "type": "string"
}

CntDefinition: object

id: string
namespace: string
code: string
model: string
filters: CntField
CntField
tenant_id: string
created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "id": "string",
  "namespace": "string",
  "code": "string",
  "model": "string",
  "filters": [
    {
      "key": "string",
      "type": "string"
    }
  ],
  "tenant_id": "string",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}

CntPagination: object

entity_count: integer
page_limit: integer
page_count: integer
next_page_cursor: string
Example
{
  "entity_count": "integer",
  "page_limit": "integer",
  "page_count": "integer",
  "next_page_cursor": "string"
}

CatChannel: object

id: string (uuid)
name: string
type: string pos, storefront, order, integration
description: string
client_id: string
deleted_at: string
created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "id": "string (uuid)",
  "name": "string",
  "type": "string",
  "description": "string",
  "client_id": "string",
  "deleted_at": "string",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}

CatCreateChannel: object

name: string
type: string pos, storefront, order, integration
description: string
client_id: string
Example
{
  "name": "string",
  "type": "string",
  "description": "string",
  "client_id": "string"
}

CatUpdateChannel: object

name: string
description: string
Example
{
  "name": "string",
  "description": "string"
}

MesRelay: object

id: string (uuid)
name: string
type: string logger, sendcloud, paynl, mollie
config: object
endpoint: string
limit_requests_per_second: integer
is_system_object: boolean
created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "id": "string (uuid)",
  "name": "string",
  "type": "string",
  "config": "object",
  "endpoint": "string",
  "limit_requests_per_second": "integer",
  "is_system_object": "boolean",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}

MesRelayModel: object

name: string
type: string logger, sendcloud, paynl, mollie
config: object
Example
{
  "name": "string",
  "type": "string",
  "config": "object"
}

MesRelayMessage: object

id: string (uuid)
hash: string
payload: string
is_valid: boolean
is_relayed: boolean
is_duplicate: boolean
source: object
ip: string
city: string
country_code: string
user_agent: string
relayed_at: string (date-time)
created_at: string (date-time)
Example
{
  "id": "string (uuid)",
  "hash": "string",
  "payload": "string",
  "is_valid": "boolean",
  "is_relayed": "boolean",
  "is_duplicate": "boolean",
  "source": {
    "ip": "string",
    "city": "string",
    "country_code": "string",
    "user_agent": "string"
  },
  "relayed_at": "string (date-time)",
  "created_at": "string (date-time)"
}

LcsShipmentItemMissing: object

id: string (uuid)
is_missing: boolean
Example
{
  "id": "string (uuid)",
  "is_missing": "boolean"
}

LcsShipmentItemCorrection: object

sku: string
quantity: integer
description: string
position: string
Example
{
  "sku": "string",
  "quantity": "integer",
  "description": "string",
  "position": "string"
}

LcsListSearch: object

Example
{
  "constraints": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "string"
      ]
    }
  ]
}

LcsListSearchConstraint: object

key: string ids, sub, location_id, is_on_hold, is_in_progress, is_finished, is_assigned
operator: string in
values: string[]
string
Example
{
  "key": "string",
  "operator": "string",
  "values": [
    "string"
  ]
}

LcsShipmentSearch: object

Example
{
  "constraints": [
    {
      "key": "string",
      "operator": "string",
      "value": [
        "string"
      ]
    }
  ]
}

LcsShipmentSearchConstraint: object

key: string ids, secret, is_outbound, from_id, from_type, to_id, to_type, prior_ids
operator: string in
value: string[]
string
Example
{
  "key": "string",
  "operator": "string",
  "value": [
    "string"
  ]
}

LcsLocationSearch: object

Example
{
  "constraints": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "string"
      ]
    }
  ]
}

LcsLocationSearchConstraint: object

key: string ids
operator: string in
values: string[]
string
Example
{
  "key": "string",
  "operator": "string",
  "values": [
    "string"
  ]
}

LcsShipmentMethodSearch: object

Example
{
  "constraints": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "string"
      ]
    }
  ]
}

LcsShipmentMethodSearchConstraint: object

key: string ids
operator: string in
values: string[]
string
Example
{
  "key": "string",
  "operator": "string",
  "values": [
    "string"
  ]
}

LcsParcelSearch: object

Example
{
  "constraints": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "string"
      ]
    }
  ]
}

LcsParcelSearchConstraint: object

key: string ids, is_delivered
operator: string in
values: string[]
string
Example
{
  "key": "string",
  "operator": "string",
  "values": [
    "string"
  ]
}

LcsItemSearch: object

Example
{
  "constraints": [
    {
      "key": "string",
      "operator": "string",
      "value": [
        "string"
      ]
    }
  ]
}

LcsItemSearchConstraint: object

key: string ids, skus, position, is_listed, is_missing, is_in_transit, is_boxed, is_finished, is_labeled, is_serviced, is_handled, is_outbound, list_ids, parcel_ids, shipment_ids
operator: string in
value: string[]
string
Example
{
  "key": "string",
  "operator": "string",
  "value": [
    "string"
  ]
}

LcsLocationSku: object

sku: string
position: string
created_at: string (date-time)
Example
{
  "sku": "string",
  "position": "string",
  "created_at": "string (date-time)"
}

LcsHandlingListUpdate: object

is_on_hold: boolean
sub: string
Example
{
  "is_on_hold": "boolean",
  "sub": "string"
}

LcsHandlingListItemUpdate: object

id: string
is_handled: boolean
is_serviced: boolean
is_finished: boolean
position: string
lot_number: string
expires_at: string (date-time)
Example
{
  "id": "string",
  "is_handled": "boolean",
  "is_serviced": "boolean",
  "is_finished": "boolean",
  "position": "string",
  "lot_number": "string",
  "expires_at": "string (date-time)"
}

LcsHandlingListItem: object

ids: string[]
string
handled_ids: string[]
string
shipment_id: string
sku: string
description: string
position: string
quantity: integer
sorting_label: string
rank: integer
Example
{
  "ids": [
    "string"
  ],
  "handled_ids": [
    "string"
  ],
  "shipment_id": "string",
  "sku": "string",
  "description": "string",
  "position": "string",
  "quantity": "integer",
  "sorting_label": "string",
  "rank": "integer"
}

LcsHandlingModel: object

shipments: LcsHandlingModelShipments
LcsHandlingModelShipments
due_at: string (date-time)
Example
{
  "shipments": [
    {
      "id": "string (uuid)",
      "label": "string"
    }
  ],
  "due_at": "string (date-time)"
}

LcsHandlingModelShipments: object

id: string (uuid)
label: string
Example
{
  "id": "string (uuid)",
  "label": "string"
}

LcsHandlingListResponse: object

id: string
sub: string
shipments: string[]
string
location_id: string
is_outbound: boolean
is_assigned: boolean
is_in_progress: boolean
is_on_hold: boolean
is_finished: boolean
started_at: string (date-time)
finished_at: string (date-time)
due_at: string (date-time)
created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "id": "string",
  "sub": "string",
  "shipments": [
    "string"
  ],
  "location_id": "string",
  "is_outbound": "boolean",
  "is_assigned": "boolean",
  "is_in_progress": "boolean",
  "is_on_hold": "boolean",
  "is_finished": "boolean",
  "started_at": "string (date-time)",
  "finished_at": "string (date-time)",
  "due_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}

LcsHandlingList: object

id: string
number: string
sub: string
location_id: string
shipments: string[]
string
is_outbound: boolean
is_in_progress: boolean
is_on_hold: boolean
is_cancelled: boolean
is_finished: boolean
started_at: string (date-time)
finished_at: string (date-time)
due_at: string (date-time)
items: LcsHandlingListItem
LcsHandlingListItem
sorting_labels: LcsHandlingListSortingLabels
LcsHandlingListSortingLabels
created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "id": "string",
  "number": "string",
  "sub": "string",
  "location_id": "string",
  "shipments": [
    "string"
  ],
  "is_outbound": "boolean",
  "is_in_progress": "boolean",
  "is_on_hold": "boolean",
  "is_cancelled": "boolean",
  "is_finished": "boolean",
  "started_at": "string (date-time)",
  "finished_at": "string (date-time)",
  "due_at": "string (date-time)",
  "items": [
    {
      "ids": [
        "string"
      ],
      "handled_ids": [
        "string"
      ],
      "shipment_id": "string",
      "sku": "string",
      "description": "string",
      "position": "string",
      "quantity": "integer",
      "sorting_label": "string",
      "rank": "integer"
    }
  ],
  "sorting_labels": [
    {
      "shipment_id": "string (uuid)",
      "label": "string"
    }
  ],
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}

LcsHandlingListSortingLabels: object

shipment_id: string (uuid)
label: string
Example
{
  "shipment_id": "string (uuid)",
  "label": "string"
}

LcsListedHandlingList: object

id: string
number: string
sub: string
location_id: string
shipments: string[]
string
is_outbound: boolean
is_in_progress: boolean
is_on_hold: boolean
is_cancelled: boolean
is_finished: boolean
started_at: string (date-time)
finished_at: string (date-time)
due_at: string (date-time)
items: LcsShipmentItem
LcsShipmentItem
created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "id": "string",
  "number": "string",
  "sub": "string",
  "location_id": "string",
  "shipments": [
    "string"
  ],
  "is_outbound": "boolean",
  "is_in_progress": "boolean",
  "is_on_hold": "boolean",
  "is_cancelled": "boolean",
  "is_finished": "boolean",
  "started_at": "string (date-time)",
  "finished_at": "string (date-time)",
  "due_at": "string (date-time)",
  "items": [
    {
      "id": "string",
      "reference": "string",
      "sku": "string",
      "position": "string",
      "order_item_id": "string (uuid)",
      "claim_item_id": "string (uuid)",
      "description": "string",
      "is_listed": "boolean",
      "is_handled": "boolean",
      "is_boxed": "boolean",
      "is_in_transit": "boolean",
      "is_finished": "boolean",
      "is_missing": "boolean",
      "hs_code": "string",
      "service": [
        {
          "option": "string",
          "configuration": [
            {
              "key": "string",
              "value": "string"
            }
          ]
        }
      ]
    }
  ],
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}

LcsLocationPosition: object

code: string
sorting: integer
skus: LcsLocationSku
LcsLocationSku
created_at: string (date-time)
Example
{
  "code": "string",
  "sorting": "integer",
  "skus": [
    {
      "sku": "string",
      "position": "string",
      "created_at": "string (date-time)"
    }
  ],
  "created_at": "string (date-time)"
}

LcsMethod: object

id: string
carrier_code: string
name: string
label: string
description: string
max_weight: integer
countries: LcsCountry
LcsCountry
delivery_during: string daytime, morning, afternoon, evening
is_configured: boolean false
is_same_day: boolean
is_sunday: boolean
is_carrier_location: boolean
is_neighbour_allowed: boolean
provider_method_id: string
provider: string sendcloud, default
is_enabled: boolean false
priority: integer 100
Example
{
  "id": "string",
  "carrier_code": "string",
  "name": "string",
  "label": "string",
  "description": "string",
  "max_weight": "integer",
  "countries": [
    {
      "code": "string",
      "amount": "integer"
    }
  ],
  "delivery_during": "string",
  "is_configured": "boolean",
  "is_same_day": "boolean",
  "is_sunday": "boolean",
  "is_carrier_location": "boolean",
  "is_neighbour_allowed": "boolean",
  "provider_method_id": "string",
  "provider": "string",
  "is_enabled": "boolean",
  "priority": "integer"
}

LcsCountry: object

code: string
amount: integer
Example
{
  "code": "string",
  "amount": "integer"
}

LcsListedShipment: object

id: string
number: string
type: string delivery, collect, internal
method_id: string
contact_id: string
channel_id: string (uuid)
addressing: LcsListedShipmentAddressing
ship_at: string (date-time)
estimated_ship_at: string (date-time)
expected_at: string (date-time)
stack_id: string
is_editable: boolean
is_outbound: boolean
is_listed: boolean
is_finished: boolean
is_in_transit: boolean
is_complete: boolean
is_overcomplete: boolean
is_canceled: boolean
secret: string
prior_shipments: string[]
string (uuid)
list_id: string
created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "id": "string",
  "number": "string",
  "type": "string",
  "method_id": "string",
  "contact_id": "string",
  "channel_id": "string (uuid)",
  "addressing": {
    "to": {
      "entity_type": "string",
      "entity_id": "string",
      "carrier": {
        "is_carrier_location": "boolean",
        "carrier_location_reference": "string"
      }
    },
    "from": "#/definitions/LcsShipmentAddressing"
  },
  "ship_at": "string (date-time)",
  "estimated_ship_at": "string (date-time)",
  "expected_at": "string (date-time)",
  "stack_id": "string",
  "is_editable": "boolean",
  "is_outbound": "boolean",
  "is_listed": "boolean",
  "is_finished": "boolean",
  "is_in_transit": "boolean",
  "is_complete": "boolean",
  "is_overcomplete": "boolean",
  "is_canceled": "boolean",
  "secret": "string",
  "prior_shipments": [
    "string (uuid)"
  ],
  "list_id": "string",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}

LcsListedShipmentAddressing: object

Example
{
  "to": {
    "entity_type": "string",
    "entity_id": "string",
    "carrier": {
      "is_carrier_location": "boolean",
      "carrier_location_reference": "string"
    }
  },
  "from": "#/definitions/LcsShipmentAddressing"
}

LcsShipment: object

id: string
number: string
type: string delivery, collect, internal
method_id: string
contact_id: string
channel_id: string (uuid)
order_id: string
addressing: LcsListedShipmentAddressing
ship_at: string (date-time)
estimated_ship_at: string (date-time)
expected_at: string (date-time)
stack_id: string
is_editable: boolean
is_outbound: boolean
is_labeled: boolean
is_serviced: boolean
is_complete: boolean

False in case listed items does not match packaged items

is_overcomplete: boolean
is_boxed: boolean
is_handled: boolean

True in case shipment was picked (outbound) or sorted (inbound)

is_listed: boolean

True whe shipment is placed on handling list

is_finished: boolean

True in case no further actions are required for this shipment

is_in_transit: boolean

If true, items are beeing shipped and have not yet arrived

is_canceled: boolean
items: LcsShipmentItem
LcsShipmentItem
backorders: LcsShipmentItemCorrection
LcsShipmentItemCorrection
overage: LcsShipmentItemCorrection
LcsShipmentItemCorrection
parcels: LcsParcel
LcsParcel
secret: string
prior_shipments: string[]
string (uuid)
list_id: string
created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "id": "string",
  "number": "string",
  "type": "string",
  "method_id": "string",
  "contact_id": "string",
  "channel_id": "string (uuid)",
  "order_id": "string",
  "addressing": {
    "to": {
      "entity_type": "string",
      "entity_id": "string",
      "carrier": {
        "is_carrier_location": "boolean",
        "carrier_location_reference": "string"
      }
    },
    "from": "#/definitions/LcsShipmentAddressing"
  },
  "ship_at": "string (date-time)",
  "estimated_ship_at": "string (date-time)",
  "expected_at": "string (date-time)",
  "stack_id": "string",
  "is_editable": "boolean",
  "is_outbound": "boolean",
  "is_labeled": "boolean",
  "is_serviced": "boolean",
  "is_complete": "boolean",
  "is_overcomplete": "boolean",
  "is_boxed": "boolean",
  "is_handled": "boolean",
  "is_listed": "boolean",
  "is_finished": "boolean",
  "is_in_transit": "boolean",
  "is_canceled": "boolean",
  "items": [
    {
      "id": "string",
      "reference": "string",
      "sku": "string",
      "position": "string",
      "order_item_id": "string (uuid)",
      "claim_item_id": "string (uuid)",
      "description": "string",
      "is_listed": "boolean",
      "is_handled": "boolean",
      "is_boxed": "boolean",
      "is_in_transit": "boolean",
      "is_finished": "boolean",
      "is_missing": "boolean",
      "hs_code": "string",
      "service": [
        {
          "option": "string",
          "configuration": [
            {
              "key": "string",
              "value": "string"
            }
          ]
        }
      ]
    }
  ],
  "backorders": [
    {
      "sku": "string",
      "quantity": "integer",
      "description": "string",
      "position": "string"
    }
  ],
  "overage": [
    "#/definitions/LcsShipmentItemCorrection"
  ],
  "parcels": [
    {
      "id": "string",
      "number": "string",
      "weight": "integer",
      "length": "integer",
      "width": "integer",
      "height": "integer",
      "tracking_code": "string",
      "tracking_url": "string",
      "position": "string",
      "label": {
        "file_id": "string",
        "reference": "string",
        "label_text": "string",
        "requested_at": "string (date-time)"
      },
      "shipment_id": "string (uuid)",
      "count": "integer",
      "items": [
        {
          "id": "string (uuid)",
          "sku": "string",
          "quantity": "integer",
          "description": "string"
        }
      ],
      "is_in_transit": "boolean",
      "is_delivered": "boolean",
      "is_outbound": "boolean"
    }
  ]
}

LcsShipmentAddressing: object

entity_type: string address, location
entity_id: string
carrier: LcsShipmentAddressingCarrier
Example
{
  "entity_type": "string",
  "entity_id": "string",
  "carrier": {
    "is_carrier_location": "boolean",
    "carrier_location_reference": "string"
  }
}

LcsShipmentAddressingCarrier: object

is_carrier_location: boolean
carrier_location_reference: string
Example
{
  "is_carrier_location": "boolean",
  "carrier_location_reference": "string"
}

LcsShipmentItemModel: object

sku: string
reference: string
position: string
quantity: integer
description: string
hs_code: string
service: LcsServiceOption
LcsServiceOption
references: LcsShipmentItemModelReferences
LcsShipmentItemModelReferences
Example
{
  "sku": "string",
  "reference": "string",
  "position": "string",
  "quantity": "integer",
  "description": "string",
  "hs_code": "string",
  "service": [
    {
      "option": "string",
      "configuration": [
        {
          "key": "string",
          "value": "string"
        }
      ]
    }
  ],
  "references": [
    {
      "order_item_id": "string (uuid)",
      "claim_item_id": "string (uuid)"
    }
  ]
}

LcsGroupedShipmentItem: object

ids: string[]
string
sku: string
quantity: integer
hs_code: string
description: string
references: LcsShipmentItemModelReferences
LcsShipmentItemModelReferences
lists: LcsGroupedShipmentItemLists
LcsGroupedShipmentItemLists
parcels: LcsGroupedShipmentItemLists
LcsGroupedShipmentItemLists
positions: LcsGroupedShipmentItemPositions
LcsGroupedShipmentItemPositions
handled_ids: string[]
string (uuid)
boxed_ids: string[]
string (uuid)
listed_ids: string[]
string (uuid)
finished_ids: string[]
string (uuid)
missing_ids: string[]
string (uuid)
shipment_id: string (uuid)
totals: LcsGroupedShipmentItemTotals
Example
{
  "ids": [
    "string"
  ],
  "sku": "string",
  "quantity": "integer",
  "hs_code": "string",
  "description": "string",
  "references": [
    {
      "order_item_id": "string (uuid)",
      "claim_item_id": "string (uuid)"
    }
  ],
  "lists": [
    {
      "id": "string (uuid)",
      "item_ids": [
        "string (uuid)"
      ]
    }
  ],
  "parcels": [
    "#/definitions/LcsGroupedShipmentItemLists"
  ],
  "positions": [
    {
      "code": "string (uuid)",
      "item_ids": [
        "string (uuid)"
      ]
    }
  ],
  "handled_ids": [
    "string (uuid)"
  ],
  "boxed_ids": [
    "string (uuid)"
  ],
  "listed_ids": [
    "string (uuid)"
  ],
  "finished_ids": [
    "string (uuid)"
  ],
  "missing_ids": [
    "string (uuid)"
  ],
  "shipment_id": "string (uuid)",
  "totals": {
    "boxed": "integer",
    "handled": "integer",
    "finished": "integer",
    "missing": "integer",
    "listed": "integer"
  }
}

LcsShipmentItemModelReferences: object

order_item_id: string (uuid)
claim_item_id: string (uuid)
Example
{
  "order_item_id": "string (uuid)",
  "claim_item_id": "string (uuid)"
}

LcsGroupedShipmentItemLists: object

id: string (uuid)
item_ids: string[]
string (uuid)
Example
{
  "id": "string (uuid)",
  "item_ids": [
    "string (uuid)"
  ]
}

LcsGroupedShipmentItemPositions: object

code: string (uuid)
item_ids: string[]
string (uuid)
Example
{
  "code": "string (uuid)",
  "item_ids": [
    "string (uuid)"
  ]
}

LcsGroupedShipmentItemTotals: object

boxed: integer
handled: integer
finished: integer
missing: integer
listed: integer
Example
{
  "boxed": "integer",
  "handled": "integer",
  "finished": "integer",
  "missing": "integer",
  "listed": "integer"
}

LcsShipmentItem: object

id: string
reference: string
sku: string
position: string
order_item_id: string (uuid)
claim_item_id: string (uuid)
description: string
is_listed: boolean
is_handled: boolean
is_boxed: boolean
is_in_transit: boolean
is_finished: boolean
is_missing: boolean
hs_code: string
service: LcsServiceOption
LcsServiceOption
Example
{
  "id": "string",
  "reference": "string",
  "sku": "string",
  "position": "string",
  "order_item_id": "string (uuid)",
  "claim_item_id": "string (uuid)",
  "description": "string",
  "is_listed": "boolean",
  "is_handled": "boolean",
  "is_boxed": "boolean",
  "is_in_transit": "boolean",
  "is_finished": "boolean",
  "is_missing": "boolean",
  "hs_code": "string",
  "service": [
    {
      "option": "string",
      "configuration": [
        {
          "key": "string",
          "value": "string"
        }
      ]
    }
  ]
}

LcsParcelItem: object

id: string (uuid)
sku: string
quantity: integer
description: string
Example
{
  "id": "string (uuid)",
  "sku": "string",
  "quantity": "integer",
  "description": "string"
}

LcsServiceOption: object

option: string giftwrap
configuration: LcsServiceOptionConfiguration
LcsServiceOptionConfiguration
Example
{
  "option": "string",
  "configuration": [
    {
      "key": "string",
      "value": "string"
    }
  ]
}

LcsServiceOptionConfiguration: object

key: string packing_paper
value: string
Example
{
  "key": "string",
  "value": "string"
}

LcsParcel: object

id: string
number: string
weight: integer
length: integer
width: integer
height: integer
tracking_code: string
tracking_url: string
position: string
label: LcsParcelLabel
shipment_id: string (uuid)
count: integer
items: LcsParcelItem
LcsParcelItem
is_in_transit: boolean
is_delivered: boolean
is_outbound: boolean
is_finished: boolean
file_id: string
ship_at: string (date-time)
in_transit_at: string (date-time)
finished_at: string (date-time)
created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "id": "string",
  "number": "string",
  "weight": "integer",
  "length": "integer",
  "width": "integer",
  "height": "integer",
  "tracking_code": "string",
  "tracking_url": "string",
  "position": "string",
  "label": {
    "file_id": "string",
    "reference": "string",
    "label_text": "string",
    "requested_at": "string (date-time)"
  },
  "shipment_id": "string (uuid)",
  "count": "integer",
  "items": [
    {
      "id": "string (uuid)",
      "sku": "string",
      "quantity": "integer",
      "description": "string"
    }
  ],
  "is_in_transit": "boolean",
  "is_delivered": "boolean",
  "is_outbound": "boolean",
  "is_finished": "boolean",
  "file_id": "string",
  "ship_at": "string (date-time)",
  "in_transit_at": "string (date-time)",
  "finished_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}

LcsParcelLabel: object

file_id: string
reference: string
label_text: string
requested_at: string (date-time)
Example
{
  "file_id": "string",
  "reference": "string",
  "label_text": "string",
  "requested_at": "string (date-time)"
}

LcsPlace: object

ids: string[]
string
Example
{
  "ids": [
    "string"
  ]
}

LcsParcelCreateModel: object

shipment_id: string
weight: integer
length: integer
width: integer
height: integer
tracking_code: string
tracking_url: string
item_ids: string[]
string
Example
{
  "shipment_id": "string",
  "weight": "integer",
  "length": "integer",
  "width": "integer",
  "height": "integer",
  "tracking_code": "string",
  "tracking_url": "string",
  "item_ids": [
    "string"
  ]
}

LcsParcelModel: object

weight: integer
length: integer
width: integer
height: integer
ship_at: string (date-time)
tracking_code: string
tracking_url: string
position: string
Example
{
  "weight": "integer",
  "length": "integer",
  "width": "integer",
  "height": "integer",
  "ship_at": "string (date-time)",
  "tracking_code": "string",
  "tracking_url": "string",
  "position": "string"
}

LcsFulfilmentLocation: object

id: string
name: string
reference: string (uuid)
address_id: string
is_disabled: boolean
created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "id": "string",
  "name": "string",
  "reference": "string (uuid)",
  "address_id": "string",
  "is_disabled": "boolean",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}

LcsFulfilmentLocationModel: object

name: string
address_id: string
is_disabled: boolean false
Example
{
  "name": "string",
  "address_id": "string",
  "is_disabled": "boolean"
}

LcsShipmentUpdateModel: object

type: string delivery, collect, internal
method_id: string
addressing: LcsShipmentUpdateModelAddressing
prior_shipments: string[]
string (uuid)
expected_at: string (date-time)
ship_at: string (date-time)
Example
{
  "type": "string",
  "method_id": "string",
  "addressing": {
    "to": {
      "entity_type": "string",
      "entity_id": "string",
      "carrier": {
        "is_carrier_location": "boolean",
        "carrier_location_reference": "string"
      }
    },
    "from": "#/definitions/LcsShipmentAddressing"
  },
  "prior_shipments": [
    "string (uuid)"
  ],
  "expected_at": "string (date-time)",
  "ship_at": "string (date-time)"
}

LcsShipmentModel: object

addressing: LcsShipmentUpdateModelAddressing
is_outbound: boolean
type: string delivery, collect, internal
items: LcsShipmentItemModel
LcsShipmentItemModel
backorders: LcsShipmentItemCorrection
LcsShipmentItemCorrection
overage: LcsShipmentItemCorrection
LcsShipmentItemCorrection
expected_at: string (date-time)
ship_at: string (date-time)
estimated_ship_at: string (date-time)
method_id: string
contact_id: string
channel_id: string (uuid)
order_id: string
prior_shipments: string[]
string (uuid)
Example
{
  "addressing": {
    "to": {
      "entity_type": "string",
      "entity_id": "string",
      "carrier": {
        "is_carrier_location": "boolean",
        "carrier_location_reference": "string"
      }
    },
    "from": "#/definitions/LcsShipmentAddressing"
  },
  "is_outbound": "boolean",
  "type": "string",
  "items": [
    {
      "sku": "string",
      "reference": "string",
      "position": "string",
      "quantity": "integer",
      "description": "string",
      "hs_code": "string",
      "service": [
        {
          "option": "string",
          "configuration": [
            {
              "key": "string",
              "value": "string"
            }
          ]
        }
      ],
      "references": [
        {
          "order_item_id": "string (uuid)",
          "claim_item_id": "string (uuid)"
        }
      ]
    }
  ],
  "backorders": [
    {
      "sku": "string",
      "quantity": "integer",
      "description": "string",
      "position": "string"
    }
  ],
  "overage": [
    "#/definitions/LcsShipmentItemCorrection"
  ],
  "expected_at": "string (date-time)",
  "ship_at": "string (date-time)",
  "estimated_ship_at": "string (date-time)",
  "method_id": "string",
  "contact_id": "string",
  "channel_id": "string (uuid)",
  "order_id": "string",
  "prior_shipments": [
    "string (uuid)"
  ]
}

LcsShipmentUpdateModelAddressing: object

Example
{
  "to": {
    "entity_type": "string",
    "entity_id": "string",
    "carrier": {
      "is_carrier_location": "boolean",
      "carrier_location_reference": "string"
    }
  },
  "from": "#/definitions/LcsShipmentAddressing"
}

LcsAddress: object

country_code: string

Two letter country code

administrative_area: string

The state or province name or abbreviation (optional)

locality: string

City

dependent_locality: string

Additional information about the locality (optional)

postal_code: string

The complete postal code for the delivery point

sorting_code: string

Allow sorting, for example to route mail (optional)

address_line_1: string

The first address line

address_line_2: string

The second address line (optional)

thoroughfare: string
premise_number: number
premise_number_suffix: string
organisation: string

The name of the recipient, firm, or company at this address (optional)

given_name: string

First name

additional_name: string

Patronymic

family_name: string

Last name

Example
{
  "country_code": "string",
  "administrative_area": "string",
  "locality": "string",
  "dependent_locality": "string",
  "postal_code": "string",
  "sorting_code": "string",
  "address_line_1": "string",
  "address_line_2": "string",
  "thoroughfare": "string",
  "premise_number": "number",
  "premise_number_suffix": "string",
  "organisation": "string",
  "given_name": "string",
  "additional_name": "string",
  "family_name": "string"
}

LcsPoints: array

object
distance: number
point: LcsPoint
Example
[
  {
    "distance": "number",
    "point": {
      "id": "string",
      "name": "string",
      "carrier": "string",
      "latitude": "number (float64)",
      "longitude": "number (float64)",
      "address": {
        "country_code": "string",
        "administrative_area": "string",
        "locality": "string",
        "dependent_locality": "string",
        "postal_code": "string",
        "sorting_code": "string",
        "address_line_1": "string",
        "address_line_2": "string",
        "thoroughfare": "string",
        "premise_number": "number",
        "premise_number_suffix": "string",
        "organisation": "string",
        "given_name": "string",
        "additional_name": "string",
        "family_name": "string"
      },
      "openings": [
        {
          "weekday": "number",
          "windows": [
            {
              "start": "string",
              "end": "string"
            }
          ]
        }
      ]
    }
  }
]

LcsPoint: object

id: string
name: string
carrier: string
latitude: number (float64)
longitude: number (float64)
address: LcsAddress
openings: LcsPointOpenings
LcsPointOpenings
Example
{
  "id": "string",
  "name": "string",
  "carrier": "string",
  "latitude": "number (float64)",
  "longitude": "number (float64)",
  "address": {
    "country_code": "string",
    "administrative_area": "string",
    "locality": "string",
    "dependent_locality": "string",
    "postal_code": "string",
    "sorting_code": "string",
    "address_line_1": "string",
    "address_line_2": "string",
    "thoroughfare": "string",
    "premise_number": "number",
    "premise_number_suffix": "string",
    "organisation": "string",
    "given_name": "string",
    "additional_name": "string",
    "family_name": "string"
  },
  "openings": [
    {
      "weekday": "number",
      "windows": [
        {
          "start": "string",
          "end": "string"
        }
      ]
    }
  ]
}

LcsPointOpenings: object

Example
{
  "weekday": "number",
  "windows": [
    {
      "start": "string",
      "end": "string"
    }
  ]
}

LcsPointOpeningsWindows: object

start: string
end: string
Example
{
  "start": "string",
  "end": "string"
}

SplJob: object

id: string
job: string
tag: string
description: string
artifact: string
reference: string
status: string scheduled, pending, printed, failed, cancelled
hub_id: string
schedule_at: string (date-time)
printed_at: string (date-time)
created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "id": "string",
  "job": "string",
  "tag": "string",
  "description": "string",
  "artifact": "string",
  "reference": "string",
  "status": "string",
  "hub_id": "string",
  "schedule_at": "string (date-time)",
  "printed_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}

SplJobModel: object

job: string
tag: string
description: string
reference: string
hub_id: string
schedule_at: string (date-time)
Example
{
  "job": "string",
  "tag": "string",
  "description": "string",
  "reference": "string",
  "hub_id": "string",
  "schedule_at": "string (date-time)"
}

SplJobResult: object

reference: string
status: string scheduled, pending, success, failed, cancelled
Example
{
  "reference": "string",
  "status": "string"
}

SplStatus: object

status: string
changed_at: string (date-time)
Example
{
  "status": "string",
  "changed_at": "string (date-time)"
}

MesTask: object

id: string (uuid)
name: string
description: string
progress: integer
result: string
started_at: string (date-time)
completed_at: string (date-time)
expires_at: string (date-time)
Example
{
  "id": "string (uuid)",
  "name": "string",
  "description": "string",
  "progress": "integer",
  "result": "string",
  "started_at": "string (date-time)",
  "completed_at": "string (date-time)",
  "expires_at": "string (date-time)"
}

CntHtmlToInlinePdfRequest: object

size: object
predefined: string a3, a4, a5, a6, letter, legal, tabloid, custom
width: integer

Size in mm

height: integer

Size in mm

margin: object
top: integer 0
bottom: integer 0
left: integer 0
right: integer 0
content: string (base64)
wait_delay: integer 2
wait_timeout: integer 10
Example
{
  "size": {
    "predefined": "string",
    "width": "integer",
    "height": "integer"
  },
  "margin": {
    "top": "integer",
    "bottom": "integer",
    "left": "integer",
    "right": "integer"
  },
  "content": "string (base64)",
  "wait_delay": "integer",
  "wait_timeout": "integer"
}

CntHtmlToPdfRequest: object

path: string
filename: string
size: object
predefined: string a3, a4, a5, a6, letter, legal, tabloid, custom
width: integer

Size in mm

height: integer

Size in mm

margin: object
top: integer 0
bottom: integer 0
left: integer 0
right: integer 0
method: string upsert, resolve, strict
content: string (base64)
wait_delay: integer 2
wait_timeout: integer 10
Example
{
  "path": "string",
  "filename": "string",
  "size": {
    "predefined": "string",
    "width": "integer",
    "height": "integer"
  },
  "margin": {
    "top": "integer",
    "bottom": "integer",
    "left": "integer",
    "right": "integer"
  },
  "method": "string",
  "content": "string (base64)",
  "wait_delay": "integer",
  "wait_timeout": "integer"
}

CntPdf: object

id: string
filename: string
label: string
dir: string
type: string file
mime: string
url: string
is_public: boolean
is_listed: boolean
metadata: object
created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "id": "string",
  "filename": "string",
  "label": "string",
  "dir": "string",
  "type": "string",
  "mime": "string",
  "url": "string",
  "is_public": "boolean",
  "is_listed": "boolean",
  "metadata": "object",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}

CntInstantProxy: object

key: string
indexes: CntInstantProxyIndex
CntInstantProxyIndex
created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "key": "string",
  "indexes": [
    {
      "index_id": "string (uuid)",
      "alias": "string"
    }
  ],
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}

CntCreateProxyRequest: object

Example
{
  "key": "string",
  "indexes": [
    {
      "index_id": "string (uuid)",
      "alias": "string"
    }
  ]
}

CntUpdateProxyRequest: object

Example
{
  "indexes": [
    {
      "index_id": "string (uuid)",
      "alias": "string"
    }
  ]
}

CntInstantProxyIndex: object

index_id: string (uuid)
alias: string
Example
{
  "index_id": "string (uuid)",
  "alias": "string"
}

CntCreateIndexRequest: object

name: string
Example
{
  "name": "string"
}

CntListIndex: object

id: string (uuid)
name: string
created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "id": "string (uuid)",
  "name": "string",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}

CntIndex: object

id: string (uuid)
name: string
host: string
created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "id": "string (uuid)",
  "name": "string",
  "host": "string",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}

CntListIndexFilter: object

type: string string, boolean, number
key: string
Example
{
  "type": "string",
  "key": "string"
}

CntInputDocument: object

reference: string
title: string
description: string
sub: string
metadata: object

The data to return in search results

filters: object

The data to be used for filters and faceting

Example
{
  "reference": "string",
  "title": "string",
  "description": "string",
  "sub": "string",
  "metadata": "object",
  "filters": "object"
}

CntSearchRequest: object

q: string
offset: integer
limit: integer
threshold: integer
indices: string[]
string
filters: CntInstantFilter
CntInstantFilter
facets: string[]
string
Example
{
  "q": "string",
  "offset": "integer",
  "limit": "integer",
  "threshold": "integer",
  "indices": [
    "string"
  ],
  "filters": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "string"
      ]
    }
  ],
  "facets": [
    "string"
  ]
}

CntSearchIndexRequest: object

q: string
offset: integer
limit: integer
threshold: integer
filters: CntInstantFilter
CntInstantFilter
facets: string[]
string
Example
{
  "q": "string",
  "offset": "integer",
  "limit": "integer",
  "threshold": "integer",
  "filters": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "string"
      ]
    }
  ],
  "facets": [
    "string"
  ]
}

CntInstantFilter: object

key: string
operator: string in, gt, gte, lt, lte, not_in
values: string[]
string
Example
{
  "key": "string",
  "operator": "string",
  "values": [
    "string"
  ]
}

CntSearchResponse: object

"results" contains the search results for each selected index.

results: CntIndexResponse
CntIndexResponse
offset: integer
limit: integer
count: integer
q: string
Example
{
  "results": [
    {
      "id": "string (uuid)",
      "count": "integer",
      "hits": [
        {
          "reference": "string",
          "title": "string",
          "description": "string",
          "sub": "string",
          "metadata": "object",
          "filters": "object"
        }
      ],
      "facets": [
        {
          "key": "string",
          "buckets": [
            {
              "value": "string",
              "count": "string"
            }
          ]
        }
      ]
    }
  ],
  "offset": "integer",
  "limit": "integer",
  "count": "integer",
  "q": "string"
}

CntIndexResponse: object

id: string (uuid)
count: integer
hits: CntDocumentResponse
CntDocumentResponse
facets: CntFacet
CntFacet
Example
{
  "id": "string (uuid)",
  "count": "integer",
  "hits": [
    {
      "reference": "string",
      "title": "string",
      "description": "string",
      "sub": "string",
      "metadata": "object",
      "filters": "object"
    }
  ],
  "facets": [
    {
      "key": "string",
      "buckets": [
        {
          "value": "string",
          "count": "string"
        }
      ]
    }
  ]
}

CntIndexSettings: object

synonyms: CntIndexSettingsSynonyms
stop_words: string[]
string
ranking_rules: string[]
string
facet_fields: string[]
string
distinct_field: string
search_fields: string[]
string
display_fields: string[]
string
filters: CntListIndexFilter
CntListIndexFilter
last_processed_at: string (date-time)
Example
{
  "synonyms": "object",
  "stop_words": [
    "string"
  ],
  "ranking_rules": [
    "string"
  ],
  "facet_fields": [
    "string"
  ],
  "distinct_field": "string",
  "search_fields": [
    "string"
  ],
  "display_fields": [
    "string"
  ],
  "filters": [
    {
      "type": "string",
      "key": "string"
    }
  ],
  "last_processed_at": "string (date-time)"
}

CntIndexSettingsUpdate: object

synonyms: CntIndexSettingsSynonyms
stop_words: string[]
string
ranking_rules: string[]
string
filters: CntListIndexFilter
CntListIndexFilter
Example
{
  "synonyms": "object",
  "stop_words": [
    "string"
  ],
  "ranking_rules": [
    "string"
  ],
  "filters": [
    {
      "type": "string",
      "key": "string"
    }
  ]
}

CntIndexSettingsSynonyms: object

Example
"object"

CntIndexUpdateType: object

name: string DocumentsAddition, DocumentsPartial, DocumentsDeletion, Settings
number: integer
Example
{
  "name": "string",
  "number": "integer"
}

CntIndexUpdate: object

status: string
updateId: integer (int64)
type: CntIndexUpdateType
duration: number
enqueuedAt: string
processedAt: string
Example
{
  "status": "string",
  "updateId": "integer (int64)",
  "type": {
    "name": "string",
    "number": "integer"
  },
  "duration": "number",
  "enqueuedAt": "string",
  "processedAt": "string"
}

CntUpdateIndexRequest: object

name: string
Example
{
  "name": "string"
}

CatGroup: object

id: string
name: string
is_including_vat: boolean

True when prices are stored including taxes

currency: string EUR
metadata: object
deleted_at: string (date-time)
created_at: string (date-time)
updated_at: string (date-time)
Example
{
  "id": "string",
  "name": "string",
  "is_including_vat": "boolean",
  "currency": "string",
  "metadata": "object",
  "deleted_at": "string (date-time)",
  "created_at": "string (date-time)",
  "updated_at": "string (date-time)"
}

CatGroupCreate: object

name: string
is_including_vat: boolean

True when prices are stored including taxes

currency: string
metadata: object
Example
{
  "name": "string",
  "is_including_vat": "boolean",
  "currency": "string",
  "metadata": "object"
}

CatGroupUpdate: object

name: string
metadata: object
Example
{
  "name": "string",
  "metadata": "object"
}

CatNewPrice: object

sku: string
amount: integer
original_amount: integer
active_at: string (date-time)
Example
{
  "sku": "string",
  "amount": "integer",
  "original_amount": "integer",
  "active_at": "string (date-time)"
}

CatPrice: object

id: string (uuid)
sku: string
amount: integer
original_amount: integer
vat: CatVat
CatVat
price_group_id: string (uuid)
active_at: string (date-time)
created_at: string (date-time)
Example
{
  "id": "string (uuid)",
  "sku": "string",
  "amount": "integer",
  "original_amount": "integer",
  "vat": [
    {
      "rate": "integer",
      "country": "string",
      "administrative_area": "string"
    }
  ],
  "price_group_id": "string (uuid)",
  "active_at": "string (date-time)",
  "created_at": "string (date-time)"
}

CatPriceSearch: object

active_at: string (date-time)
constraints: CatPriceConstraint
CatPriceConstraint
Example
{
  "active_at": "string (date-time)",
  "constraints": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "string"
      ]
    }
  ]
}

CatPriceConstraint: object

key: string sku
operator: string in
values: string[]
string
Example
{
  "key": "string",
  "operator": "string",
  "values": [
    "string"
  ]
}

CatProductVatModel: object

sku: string
rates: CatVatModel
CatVatModel
Example
{
  "sku": "string",
  "rates": [
    {
      "country": "string",
      "administrative_area": "string",
      "reference": "integer"
    }
  ]
}

CatVatModel: object

country: string
administrative_area: string
reference: integer
Example
{
  "country": "string",
  "administrative_area": "string",
  "reference": "integer"
}

CatVat: object

rate: integer
country: string
administrative_area: string
Example
{
  "rate": "integer",
  "country": "string",
  "administrative_area": "string"
}

CatVatRate: object

reference: integer
rate: integer
country: string
is_default: boolean
administrative_area: string
active_at: string (date-time)
Example
{
  "reference": "integer",
  "rate": "integer",
  "country": "string",
  "is_default": "boolean",
  "administrative_area": "string",
  "active_at": "string (date-time)"
}

RelAddressSearchSession: object

session_key: string
Example
{
  "session_key": "string"
}

RelAddressQuery: object

session_key: string
context: string
query: string
Example
{
  "session_key": "string",
  "context": "string",
  "query": "string"
}

RelAddressResults: object

Example
{
  "options": [
    {
      "value": "string",
      "precision": "string",
      "label": "string",
      "description": "string",
      "context": "string"
    }
  ],
  "result": {
    "lat": "number",
    "long": "number",
    "box": {
      "north_east": {
        "lat": "number",
        "long": "number"
      },
      "south_west": {
        "lat": "number",
        "long": "number"
      }
    },
    "is_precise": "boolean",
    "address": {
      "premise_number": "integer",
      "premise_number_suffix": "string",
      "thoroughfare": "string",
      "postal_code": "string",
      "locality": "string",
      "administrative_area": "string",
      "country_code": "string"
    }
  }
}

RelAddressResultsOptions: object

value: string
precision: string Locality, Street, PostalCode, PartialAddress, Address
label: string
description: string
context: string
Example
{
  "value": "string",
  "precision": "string",
  "label": "string",
  "description": "string",
  "context": "string"
}

RelGeocodeRequest: object

country_code: string

Two letter counpremise_numbertry code

address: string

The address

Example
{
  "country_code": "string",
  "address": "string"
}

RelGeoLocation: object

lat: number
long: number
box: RelGeolocationBox
is_precise: boolean
address: RelGeolocationAddress
Example
{
  "lat": "number",
  "long": "number",
  "box": {
    "north_east": {
      "lat": "number",
      "long": "number"
    },
    "south_west": {
      "lat": "number",
      "long": "number"
    }
  },
  "is_precise": "boolean",
  "address": {
    "premise_number": "integer",
    "premise_number_suffix": "string",
    "thoroughfare": "string",
    "postal_code": "string",
    "locality": "string",
    "administrative_area": "string",
    "country_code": "string"
  }
}

RelGeolocationBox: object

north_east: object
lat: number
long: number
south_west: object
lat: number
long: number
Example
{
  "north_east": {
    "lat": "number",
    "long": "number"
  },
  "south_west": {
    "lat": "number",
    "long": "number"
  }
}

RelGeolocationAddress: object

premise_number: integer
premise_number_suffix: string

Might be null, depends on source API

thoroughfare: string
postal_code: string
locality: string
administrative_area: string
country_code: string
Example
{
  "premise_number": "integer",
  "premise_number_suffix": "string",
  "thoroughfare": "string",
  "postal_code": "string",
  "locality": "string",
  "administrative_area": "string",
  "country_code": "string"
}

RelIdentityExistsRequest: object

email: string
audience: string
Example
{
  "email": "string",
  "audience": "string"
}

RelCreateIdentityRequest: object

email: string
password: string
audience: string
Example
{
  "email": "string",
  "password": "string",
  "audience": "string"
}

RelCreateTokenRequest: object

email: string
type: string reset, confirm
audience: string
Example
{
  "email": "string",
  "type": "string",
  "audience": "string"
}

RelCreateResetRequest: object

token: string
password: string
Example
{
  "token": "string",
  "password": "string"
}

RelCreateConfirmRequest: object

token: string
Example
{
  "token": "string"
}

RelTokenResponse: object

status: string
Example
{
  "status": "string"
}

RelSignedTokenResponse: object

token: string
expires_at: string (date-time)
Example
{
  "token": "string",
  "expires_at": "string (date-time)"
}

RelConstraint: object

key: string id
operator: string in
value: string[]
string
Example
{
  "key": "string",
  "operator": "string",
  "value": [
    "string"
  ]
}

RelSearch: object

Example
{
  "constraints": [
    {
      "key": "string",
      "operator": "string",
      "value": [
        "string"
      ]
    }
  ]
}

RelFieldList: object

required: string[]
string
allowed: string[]
string
country_code: string

Country code that was used for the query

Example
{
  "required": [
    "string"
  ],
  "allowed": [
    "string"
  ],
  "country_code": "string"
}

RelContact: object

id: string
version: string
email: string
is_guest: boolean
audience: string default
tags: string[]
string
given_name: string

First name

additional_name: string

Patronymic

family_name: string

Last name

organisations: RelOrganisationList
billing: RelAddressList
shipping: RelAddressList
phone_numbers: RelPhoneNumberList
metadata: RelMetadata
created_at: string (date-time)
updated_at: string (date-time)
deleted_at: string (date-time)
Example
{
  "id": "string",
  "version": "string",
  "email": "string",
  "is_guest": "boolean",
  "audience": "string",
  "tags": [
    "string"
  ],
  "given_name": "string",
  "additional_name": "string",
  "family_name": "string",
  "organisations": {
    "primary": {
      "id": "string",
      "version": "string",
      "name": "string",
      "file_id": "string",
      "coc_number": "string",
      "account_manager": "string",
      "administration": {
        "email": "string"
      },
      "tags": [
        "string"
      ],
      "metadata": "object",
      "registrations": [
        {
          "country_code": "string",
          "number": "string",
          "verification": {
            "is_pending": "boolean",
            "is_valid": "boolean",
            "country_code": "string",
            "name": "string",
            "type": "string",
            "metadata": "object",
            "verified_at": "string (date-time)"
          }
        }
      ],
      "payment_settings": {
        "post_payment": {
          "spending_limit": "integer (int64)",
          "current_due_amount": "integer",
          "due_after": "integer",
          "iban": [
            "string"
          ]
        },
        "invoice": {
          "is_expected_through_post_mail": "boolean",
          "is_expected_through_email": "boolean",
          "is_expected_at_delivery": "boolean"
        }
      },
      "phone_numbers": {
        "primary": {
          "id": "string",
          "country_code": "string",
          "number": "string",
          "national": "string",
          "type": "string",
          "created_at": "string (date-time)"
        },
        "secondary": [
          "#/definitions/RelPhoneNumber"
        ]
      },
      "billing": {
        "primary": {
          "id": "string",
          "country_code": "string",
          "administrative_area": "string",
          "locality": "string",
          "dependent_locality": "string",
          "postal_code": "string",
          "sorting_code": "string",
          "address_line_1": "string",
          "address_line_2": "string",
          "thoroughfare": "string",
          "premise_number": "integer",
          "premise_number_suffix": "string",
          "organisation": "string",
          "given_name": "string",
          "additional_name": "string",
          "family_name": "string",
          "geo_location": {
            "lat": "number",
            "long": "number",
            "box": {
              "north_east": {
                "lat": "number",
                "long": "number"
              },
              "south_west": {
                "lat": "number",
                "long": "number"
              }
            },
            "is_precise": "boolean"
          }
        }
      }
    }
  }
}

RelContactUpdate: object

email: string
is_guest: boolean false
audience: string default
tags: string[]
string
given_name: string

First name

additional_name: string

Patronymic

family_name: string

Last name

organisations: RelContactUpdateOrganisations
billing: RelContactUpdateBilling
shipping: RelContactUpdateShipping
phone_numbers: RelContactUpdatePhoneNumbers
metadata: RelMetadata
Example
{
  "email": "string",
  "is_guest": "boolean",
  "audience": "string",
  "tags": [
    "string"
  ],
  "given_name": "string",
  "additional_name": "string",
  "family_name": "string",
  "organisations": {
    "primary": {
      "id": "string",
      "version": "string"
    },
    "secondary": [
      "#/definitions/RelContactUpdateOrganisationsPrimary"
    ]
  },
  "billing": {
    "primary": "string",
    "secondary": [
      "string"
    ]
  },
  "shipping": {
    "primary": "string",
    "secondary": [
      "string"
    ]
  },
  "phone_numbers": {
    "primary": "string",
    "secondary": [
      "string"
    ]
  },
  "metadata": "object"
}

RelContactUpdateOrganisations: object

RelContactUpdateOrganisationsPrimary: object

id: string
version: string
Example
{
  "id": "string",
  "version": "string"
}

RelContactUpdateBilling: object

primary: string
secondary: string[]
string
Example
{
  "primary": "string",
  "secondary": [
    "string"
  ]
}

RelContactUpdateShipping: object

primary: string
secondary: string[]
string
Example
{
  "primary": "string",
  "secondary": [
    "string"
  ]
}

RelContactUpdatePhoneNumbers: object

primary: string
secondary: string[]
string
Example
{
  "primary": "string",
  "secondary": [
    "string"
  ]
}

RelOrganisationList: object

Example
{
  "primary": {
    "id": "string",
    "version": "string",
    "name": "string",
    "file_id": "string",
    "coc_number": "string",
    "account_manager": "string",
    "administration": {
      "email": "string"
    },
    "tags": [
      "string"
    ],
    "metadata": "object",
    "registrations": [
      {
        "country_code": "string",
        "number": "string",
        "verification": {
          "is_pending": "boolean",
          "is_valid": "boolean",
          "country_code": "string",
          "name": "string",
          "type": "string",
          "metadata": "object",
          "verified_at": "string (date-time)"
        }
      }
    ],
    "payment_settings": {
      "post_payment": {
        "spending_limit": "integer (int64)",
        "current_due_amount": "integer",
        "due_after": "integer",
        "iban": [
          "string"
        ]
      },
      "invoice": {
        "is_expected_through_post_mail": "boolean",
        "is_expected_through_email": "boolean",
        "is_expected_at_delivery": "boolean"
      }
    },
    "phone_numbers": {
      "primary": {
        "id": "string",
        "country_code": "string",
        "number": "string",
        "national": "string",
        "type": "string",
        "created_at": "string (date-time)"
      },
      "secondary": [
        "#/definitions/RelPhoneNumber"
      ]
    },
    "billing": {
      "primary": {
        "id": "string",
        "country_code": "string",
        "administrative_area": "string",
        "locality": "string",
        "dependent_locality": "string",
        "postal_code": "string",
        "sorting_code": "string",
        "address_line_1": "string",
        "address_line_2": "string",
        "thoroughfare": "string",
        "premise_number": "integer",
        "premise_number_suffix": "string",
        "organisation": "string",
        "given_name": "string",
        "additional_name": "string",
        "family_name": "string",
        "geo_location": {
          "lat": "number",
          "long": "number",
          "box": {
            "north_east": {
              "lat": "number",
              "long": "number"
            },
            "south_west": {
              "lat": "number",
              "long": "number"
            }
          },
          "is_precise": "boolean",
          "address": {
            "premise_number": "integer",
            "premise_number_suffix": "string",
            "thoroughfare": "string",
            "postal_code": "string",
            "locality": "string",
            "administrative_area": "string",
            "country_code": "string"
          }
        },
        "created_at": "string (date-time)"
      },
      "secondary": [
        "#/definitions/RelAddress"
      ]
    }
  }
}

RelOrganisation: object

id: string
version: string
name: string

The name of the recipient, firm, or company at this address (optional)

file_id: string

The file_id ( logo ) of the organisation

coc_number: string
account_manager: string
administration: object
email: string
tags: string[]
string
metadata: RelMetadata
registrations: RelVatRegistration
RelVatRegistration
payment_settings: RelOrganisationPaymentSettings
phone_numbers: RelPhoneNumberList
billing: RelAddressList
shipping: RelAddressList
created_at: string (date-time)
updated_at: string (date-time)
deleted_at: string (date-time)
Example
{
  "id": "string",
  "version": "string",
  "name": "string",
  "file_id": "string",
  "coc_number": "string",
  "account_manager": "string",
  "administration": {
    "email": "string"
  },
  "tags": [
    "string"
  ],
  "metadata": "object",
  "registrations": [
    {
      "country_code": "string",
      "number": "string",
      "verification": {
        "is_pending": "boolean",
        "is_valid": "boolean",
        "country_code": "string",
        "name": "string",
        "type": "string",
        "metadata": "object",
        "verified_at": "string (date-time)"
      }
    }
  ],
  "payment_settings": {
    "post_payment": {
      "spending_limit": "integer (int64)",
      "current_due_amount": "integer",
      "due_after": "integer",
      "iban": [
        "string"
      ]
    },
    "invoice": {
      "is_expected_through_post_mail": "boolean",
      "is_expected_through_email": "boolean",
      "is_expected_at_delivery": "boolean"
    }
  },
  "phone_numbers": {
    "primary": {
      "id": "string",
      "country_code": "string",
      "number": "string",
      "national": "string",
      "type": "string",
      "created_at": "string (date-time)"
    },
    "secondary": [
      "#/definitions/RelPhoneNumber"
    ]
  },
  "billing": {
    "primary": {
      "id": "string",
      "country_code": "string",
      "administrative_area": "string",
      "locality": "string",
      "dependent_locality": "string",
      "postal_code": "string",
      "sorting_code": "string",
      "address_line_1": "string",
      "address_line_2": "string",
      "thoroughfare": "string",
      "premise_number": "integer",
      "premise_number_suffix": "string",
      "organisation": "string",
      "given_name": "string",
      "additional_name": "string",
      "family_name": "string",
      "geo_location": {
        "lat": "number",
        "long": "number",
        "box": {
          "north_east": {
            "lat": "number",
            "long": "number"
          },
          "south_west": {
            "lat": "number",
            "long": "number"
          }
        },
        "is_precise": "boolean",
        "address": {
          "premise_number": "integer",
          "premise_number_suffix": "string",
          "thoroughfare": "string",
          "postal_code": "string",
          "locality": "string",
          "administrative_area": "string",
          "country_code": "string"
        }
      },
      "created_at": "string (date-time)"
    },
    "secondary": [
      "#/definitions/RelAddress"
    ]
  },
  "shipping": "#/definitions/RelAddressList",
  "created_at": "string (date-time)"
}

RelOrganisationPaymentSettings: object

Example
{
  "post_payment": {
    "spending_limit": "integer (int64)",
    "current_due_amount": "integer",
    "due_after": "integer",
    "iban": [
      "string"
    ]
  },
  "invoice": {
    "is_expected_through_post_mail": "boolean",
    "is_expected_through_email": "boolean",
    "is_expected_at_delivery": "boolean"
  }
}

RelOrganisationPaymentSettingsPostPayment: object

spending_limit: integer (int64)
current_due_amount: integer
due_after: integer
iban: string[]
string
Example
{
  "spending_limit": "integer (int64)",
  "current_due_amount": "integer",
  "due_after": "integer",
  "iban": [
    "string"
  ]
}

RelOrganisationPaymentSettingsInvoice: object

is_expected_through_post_mail: boolean
is_expected_through_email: boolean
is_expected_at_delivery: boolean
Example
{
  "is_expected_through_post_mail": "boolean",
  "is_expected_through_email": "boolean",
  "is_expected_at_delivery": "boolean"
}

RelOrganisationUpdateModel: object

name: string

The name of the recipient, firm, or company at this address (optional)

file_id: string

The file_id ( logo ) of the organisation

coc_number: string
account_manager: string
tags: string[]
string
metadata: RelMetadata
registrations: RelVatRegistrationModel
RelVatRegistrationModel
payment_settings: RelOrganisationPaymentSettings
billing: RelContactUpdateBilling
shipping: RelContactUpdateShipping
phone_numbers: RelContactUpdatePhoneNumbers
administration: RelOrganisationUpdateAdministration
Example
{
  "name": "string",
  "file_id": "string",
  "coc_number": "string",
  "account_manager": "string",
  "tags": [
    "string"
  ],
  "metadata": "object",
  "registrations": [
    {
      "country_code": "string",
      "number": "string"
    }
  ],
  "payment_settings": {
    "post_payment": {
      "spending_limit": "integer (int64)",
      "current_due_amount": "integer",
      "due_after": "integer",
      "iban": [
        "string"
      ]
    },
    "invoice": {
      "is_expected_through_post_mail": "boolean",
      "is_expected_through_email": "boolean",
      "is_expected_at_delivery": "boolean"
    }
  },
  "billing": {
    "primary": "string",
    "secondary": [
      "string"
    ]
  },
  "shipping": {
    "primary": "string",
    "secondary": [
      "string"
    ]
  },
  "phone_numbers": {
    "primary": "string",
    "secondary": [
      "string"
    ]
  },
  "administration": {
    "email": "string"
  }
}

RelOrganisationUpdateAdministration: object

email: string
Example
{
  "email": "string"
}

RelVatRegistrationModel: object

country_code: string
number: string
Example
{
  "country_code": "string",
  "number": "string"
}

RelVatRegistration: object

country_code: string
number: string
verification: RelVatRegistrationVerification
Example
{
  "country_code": "string",
  "number": "string",
  "verification": {
    "is_pending": "boolean",
    "is_valid": "boolean",
    "country_code": "string",
    "name": "string",
    "type": "string",
    "metadata": "object",
    "verified_at": "string (date-time)"
  }
}

RelVatRegistrationVerification: object

is_pending: boolean true
is_valid: boolean false
country_code: string
name: string
type: string
metadata: object
verified_at: string (date-time)
Example
{
  "is_pending": "boolean",
  "is_valid": "boolean",
  "country_code": "string",
  "name": "string",
  "type": "string",
  "metadata": "object",
  "verified_at": "string (date-time)"
}

RelPhoneNumber: object

id: string
country_code: string

Two letter country code

number: string

The actual phonenumber formatted as E164

national: string

The actual phonenumber formatted as national number

type: string fixed_number, mobile, toll-free, premium, shared_cost, voip, personal
created_at: string (date-time)
Example
{
  "id": "string",
  "country_code": "string",
  "number": "string",
  "national": "string",
  "type": "string",
  "created_at": "string (date-time)"
}

RelPhoneNumberList: object

Example
{
  "primary": {
    "id": "string",
    "country_code": "string",
    "number": "string",
    "national": "string",
    "type": "string",
    "created_at": "string (date-time)"
  },
  "secondary": [
    "#/definitions/RelPhoneNumber"
  ]
}

RelPhoneNumberModel: object

country_code: string

Two letter country code

number: string

The actual phonenumber

Example
{
  "country_code": "string",
  "number": "string"
}

RelAddressList: object

primary: RelAddress
secondary: RelAddress
RelAddress
Example
{
  "primary": {
    "id": "string",
    "country_code": "string",
    "administrative_area": "string",
    "locality": "string",
    "dependent_locality": "string",
    "postal_code": "string",
    "sorting_code": "string",
    "address_line_1": "string",
    "address_line_2": "string",
    "thoroughfare": "string",
    "premise_number": "integer",
    "premise_number_suffix": "string",
    "organisation": "string",
    "given_name": "string",
    "additional_name": "string",
    "family_name": "string",
    "geo_location": {
      "lat": "number",
      "long": "number",
      "box": {
        "north_east": {
          "lat": "number",
          "long": "number"
        },
        "south_west": {
          "lat": "number",
          "long": "number"
        }
      },
      "is_precise": "boolean",
      "address": {
        "premise_number": "integer",
        "premise_number_suffix": "string",
        "thoroughfare": "string",
        "postal_code": "string",
        "locality": "string",
        "administrative_area": "string",
        "country_code": "string"
      }
    },
    "created_at": "string (date-time)"
  },
  "secondary": [
    "#/definitions/RelAddress"
  ]
}

RelAddressModel: object

country_code: string

Two letter country code

administrative_area: string

The state or province name or abbreviation (optional)

locality: string

City

dependent_locality: string

Additional information about the locality (optional)

postal_code: string

The complete postal code for the delivery point

sorting_code: string

Allow sorting, for example to route mail (optional)

address_line_1: string

The first address line

address_line_2: string

The second address line (optional)

thoroughfare: string
premise_number: integer
premise_number_suffix: string
organisation: string

The name of the recipient, firm, or company at this address (optional)

given_name: string

First name

additional_name: string

Patronymic

family_name: string

Last name

Example
{
  "country_code": "string",
  "administrative_area": "string",
  "locality": "string",
  "dependent_locality": "string",
  "postal_code": "string",
  "sorting_code": "string",
  "address_line_1": "string",
  "address_line_2": "string",
  "thoroughfare": "string",
  "premise_number": "integer",
  "premise_number_suffix": "string",
  "organisation": "string",
  "given_name": "string",
  "additional_name": "string",
  "family_name": "string"
}

RelAddress: object

id: string
country_code: string

Two letter counpremise_numbertry code

administrative_area: string

The state or province name or abbreviation (optional)

locality: string

City

dependent_locality: string

Additional information about the locality (optional)

postal_code: string

The complete postal code for the delivery point

sorting_code: string

Allow sorting, for example to route mail (optional)

address_line_1: string

The first address line

address_line_2: string

The second address line (optional)

thoroughfare: string
premise_number: integer
premise_number_suffix: string
organisation: string

The name of the recipient, firm, or company at this address (optional)

given_name: string

First name

additional_name: string

Patronymic

family_name: string

Last name

geo_location: RelGeoLocation
created_at: string (date-time)
Example
{
  "id": "string",
  "country_code": "string",
  "administrative_area": "string",
  "locality": "string",
  "dependent_locality": "string",
  "postal_code": "string",
  "sorting_code": "string",
  "address_line_1": "string",
  "address_line_2": "string",
  "thoroughfare": "string",
  "premise_number": "integer",
  "premise_number_suffix": "string",
  "organisation": "string",
  "given_name": "string",
  "additional_name": "string",
  "family_name": "string",
  "geo_location": {
    "lat": "number",
    "long": "number",
    "box": {
      "north_east": {
        "lat": "number",
        "long": "number"
      },
      "south_west": {
        "lat": "number",
        "long": "number"
      }
    },
    "is_precise": "boolean",
    "address": {
      "premise_number": "integer",
      "premise_number_suffix": "string",
      "thoroughfare": "string",
      "postal_code": "string",
      "locality": "string",
      "administrative_area": "string",
      "country_code": "string"
    }
  },
  "created_at": "string (date-time)"
}

RelAddressSearch: object

Example
{
  "constraints": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "string"
      ]
    }
  ]
}

RelAddressSearchConstraint: object

key: string ids
operator: string in
values: string[]
string
Example
{
  "key": "string",
  "operator": "string",
  "values": [
    "string"
  ]
}

RelPhoneNumberSearch: object

Example
{
  "constraints": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "string"
      ]
    }
  ]
}

RelPhoneNumberSearchConstraint: object

key: string ids
operator: string in
values: string[]
string
Example
{
  "key": "string",
  "operator": "string",
  "values": [
    "string"
  ]
}

RelOrganisationSearch: object

Example
{
  "constraints": [
    {
      "key": "string",
      "operator": "string",
      "values": [
        "string"
      ]
    }
  ]
}

RelOrganisationSearchConstraint: object

key: string ids
operator: string in
values: string[]
string
Example
{
  "key": "string",
  "operator": "string",
  "values": [
    "string"
  ]
}

RelVersion: object

version: string
created_at: string (date-time)
Example
{
  "version": "string",
  "created_at": "string (date-time)"
}

RelMetadata: object

additional metadata that applies to the item

string
Example
"object"