API 1.0 / Orders

GET /orders

List all orders

This method has the URL https://api.toptranslation.com/v1/orders and returns all orders of a user.

Required arguments

access_token
Token to authenticate a user
String

Optional arguments

page
Current page to return
Integer
per_page
How many records per page (default: 20, maximum: 25)
Integer
state
Filter for states of an order. One of: new, requested, quoted, ordered, processing, processed or delivered
String
team_identifier
Identifier of a team to filter for orders of that team.
String

Response

Returns an array of orders.

{
  meta: {
    status: 200
  },
  data:
    [
      {
        identifier: '83jdskjdkfj29djskfj',
        reference: 'User manual translation 2015',
        progress_in_percent: 65,
        state: 'processing',
        comment: 'A comment from the user',
        created_at: '2015-12-29 12:23:45',
        requested_at: '2015-12-30 09:56:12',
        ordered_at: '2015-12-30 09:58:33',
        estimated_delivery_date: '2015-12-31',
        name: 'User given name of the order',
        order_number: 'P201509474738',
        creator: {
          identifier: 'f4d56f156s',
          first_name: 'John',
          last_name: 'Doe',
          locale: {
            code: 'de_DE',
            name: 'German',
            tag_list: ''
          },
          gender: 'male',
          email: 'test@example.com'
        },
        {
          ...
        }
      }
    ]
  }

Errors

403 - User not authenticated
User is not allowed to access the resource or execute the method.
404 - Team not found
If team specified by team_identifier was not found or user is not member of the team.