Saves order data to datanase.


  • id POST

    Order ID.

  • items POST

    Order items array. Services must be listed in SKU’s sub-array with 'services' key.

  • customer POST Optional

    Customer data array.

  • shipping_address POST Optional

    Associative array of shipping address fields.

  • billing_address POST Optional

    Associative array of billing address fields.

  • discount POST Optional

    Discount information in one the following formats: - Discount amount in order currency. - null, if discount shold not be changed. - calculate, if discount must be re-calculated automatically.

  • params POST Optional

    Array of order parameters for shop_order_params table.

  • comment POST Optional

    Order comment.

  • access_token GET

    API auth token obtained during the API authorization.

  • format GET Optional

    Sets response format. Available options: json (default), xml.

Error codes

  • invalid_request

    Invalid formed request. Additional information about the error is available in error_description parameter.

  • access_denied

    Access to the specified API method for the current token is denied.

  • invalid_method

    Unknown API method.