Goods Order

Change the goods order external store information

post/goods-orders/{id}/external-info

Request body

linkstring nullable

external order link

orderIdstring

external order id, regex ^(\w|-|\+)+$

Example request

{
  "link": "https://www.ozon.ru/my/orderdetails/?order=00099999-04011"
}

Response

OK

idinteger

Order ID.

dateCreatedstring date-time

Order date.

commentstring nullable

Comment on the order.

state'NEW' | 'COMPLETED' | 'DELETED' | 'WAITING_PAYMENT' | 'NEED_ACK'

Order lifecycle status:

  • NEW — order just created, awaiting processing
  • COMPLETED — order fulfilled and transaction created
  • DELETED — order canceled
  • WAITING_PAYMENT — awaiting online payment confirmation
  • NEED_ACK — order requires merchant acknowledgment
orderStatus'ACCEPTED' | 'READY'

Order processing status set by the merchant:

  • ACCEPTED — merchant has accepted the order and is preparing it
  • READY — order is ready for pickup or delivery
cashnumber

Amount payable in currency units.

pointsnumber

Number of deducted points.

totalnumber

Total order amount.

certificatePointsnumber

Number of deducted certificate points.

Example response

{
  "delivery": {
    "deliveryCase": {
      "name": "zone A",
      "value": 0.1
    }
  }
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.