shop.order.contactSave

Updates contact information for a customer of specified order.

Parameters

  • order_id POST

    Order ID.

  • contact POST

    Associative array of customer data. Examples of array keys: 'firstname', 'middlename', 'lastname', 'email', 'phone'.

  • format GET Optional

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

Return value

Array with the following keys:

  • status string Value 'ok' after successful saving.
  • errors string Error message in case of a failure.