Transferring orders to 1C - Order.json (RU)


{

"id": XXXXX, - Order ID

"customer": {

"email" : "[email protected]", - the email specified by the client when placing the order

"name": "test address", - the name of the client that he indicated when placing the order

"phone": "+37311111111", - the customer's phone number that he indicated when placing the order

"dateofbirth" : null, - date of birth specified by the client when placing the order

"fiscal_code" : null, - fiscal code specified by the client in the order

"juridical_address" : null, - legal address indicated by the client in the order

"iban" : null, - IBAN specified by the client

"address": {

"id": XXXXX,

"store": null, - if the client has chosen the delivery method by self-pickup, the store from which he will pick up the order will be displayed here

"region": {

"id" : 3, - ID of the city to which the order must be delivered

"name" : "Chi\u0219in\u0103u" - name of the city to which the order must be delivered },

"locality" : {

"id" : 56, - ID of the locality to which the order must be delivered

"name" : "B\u0103cioi" - name of the city/suburb to which the order must be delivered },

"sector" : null, - only for Chisinau, the district is indicated

"address" : "test address", - the address to which the order must be delivered

"address_type": null }, - Street, boulevard, alley, etc. - for delivery systems

"bank_code" : null }, - bank code of companies, for legal entities

"payment": {

"delivery_type" : "standart", - delivery type

"pay_method" : "cash", - payment method

"payment_system" : null, - payment system

"months" : null, - if the payment is on credit, this indicates the number of months for which the client wants to buy the product

"sumpermonth" : null, - the monthly amount that the client will pay when applying for a purchase on credit

"transaction_id" : null, - if the payment was by card, the bank sends the transaction id

"promo_code" : null - promo code specified by the client when placing an order

},

"total_price" : "9435.00",

"created_at" : "2025-02-04T09:03:00.244426", - information about order time

"transaction_id ": null, - transaction ID

"comment" : "", - comments that the client wrote on the order

"products" : [

{

"quantity" : 1.0, - the number of products specified by the client

"price" : "9360.00", - the amount of the product

"total_price" : 9360.0, - total amount of goods

"product" : {

"id" : "product id", - ID of the product that the client ordered

"name" : "product name", - the name of the product that the customer ordered

"code" : "product code" - code of the product that the client ordered

}, } ]

}

Files:


Was the article helpful?

Yes, thank you! Unfortunately no

article.helpfulQuestion