Skip to main content

Create Order

Use this method to create new orders.

This is only for the standard order form. The new order form uses a different method.


URL

(POST) orders

PARAMETERS

token

The token obtained on connection

Required

data

A json object containing a list of custom field ids and values. See below for details.

Parameters:

  • reference (string)
  • deadline (datetime, optional)
  • status (EOrderStatus, optional)
  • receivedDate (datetime, optional)
  • projectId (int, optional)
  • companyId (int)
  • personId (int, optional)
  • managerId (int, optional)
  • instructions (string, optional)
  • comments (string, optional)
  • sourceLocale (string)
  • targetLocales (Array[string])
  • tasks (Array[string], optional)
  • domains (Array[string], optional)
  • customFields (Array[Object], optional)
    • id (string)
    • value (string)
  • labels (Array[Object], optional)
    • id (int)
    • value (int?)

Example:

CODE
{
	"reference": "order-name",
	"manager": 21158484,
	"sourceLocale": "en",
	"targetLocales": ["pl-PL", "es-ES"],
	"deadline": "2018-08-01T00:00:01.0000000Z",
	"personId": 04645,
	"instructions": "This should be translated with new French",
	"customFields": [
		{ "id": "CustomStr1", "value": "Super field" },
		{ "id": "CustomStr2", "value": "Adventure" }
	]
}
Required
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.