shop.order.saveItem

Changes quantity for an order item. Automatically updates order discount and the shipping cost.

Parameters

  • item_id POST

    Order item ID.

  • quantity POST

    Quantity.

  • access_token GET

    API auth token obtained during the API authorization.

  • format GET Optional

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

Method execution results array with the following keys:

  • status string 'ok' in case of success or 'fail' in case of a failure.
  • errors mixed Error messages if available.