The translation was generated automatically and may contain mistakes

Order

Object containing information about the order.

id

integer Order ID.

group_id

integer Community ID.

user_id

integer Buyer ID.

date

integer Date of order creation in Unixtime format.

variants_grouping_id

integer Identification of a group of options.

is_main_variant

bool Is the option primary??

property_values

array An array of objects, each of which may contain fields:

  • •
    variant_id ( integer ) — ID of the option;
  • •
    variant_name ( string (b) the name of the option;
  • •
    property_name ( string name of the property.

cart_quantity

integer The amount of goods in the basket.

status

integer Order status:

  • •
    0 - New,
  • •
    1 - Agreed,
  • •
    2 - He's going,
  • •
    3 - delivered,
  • •
    4 - Done,
  • •
    5 - Cancelled,
  • •
    6 - Returned.

items_count

integer Number of goods in order.

total_price

object Total cost of order. An object that contains fields:

  • •
    amount ( string ) — the value in hundredths of a unit of currency.
  • •
    currency ( object The currency. An object with fields:
    • •
      id ( integer (b) the currency identifier;
    • •
      name ( string (b) the designation of currency;
  • •
    text ( string ) — a string representation of the order value.

display_order_id

string An order number consisting of a buyer ID and an order ID.

comment

string Comment to order.

preview_order_items

Array An array of objects describing товары . No more than 5 random order items are returned.

delivery

object Delivery information. An object that contains fields:

  • •
    address ( string ) is the delivery address.
  • •
    type ( string Type of delivery.
  • •
    track_number ( string ) — track number for tracking the order.
  • •
    track_link ( string ) — a link to track the order by track number.
  • •
    delivery_point ( object information about the point of issue.

recipient

object information about the buyer. An object that contains fields:

  • •
    name ( string The name of the buyer.
  • •
    phone ( string The buyer’s number.
  • •
    display_text ( string ) — a string representation of information about the buyer.