Cash on delivery transfer information


 

The method is used to get information about orders for which cash on delivery was transferred to an online store on a specified date.

Request for Cash on delivery transfer information

In order to use this process, a GET request should be sent to URL:

EnvironmentURL
testinghttps://api.edu.cdek.ru/v2/payment
productionhttps://api.cdek.ru/v2/payment

Request Parameters

The following parameters are supported:

No.Tag / attributeDescriptionType of fieldMandatory (yes/no)

1

date

The date for which it is necessary to return the list of orders for which the cash on delivery was transferreddate

yes

Response to the Request for Cash on delivery transfer information

No.Tag / attributeDescriptionType of fieldMandatory (yes/no)
1ordersList of orders for which cash on delivery was transferred to the online store[ ]

no

1.1order_uuidOrder identifier in the CDEK ISUUIDyes
1.2cdek_numberCDEK order numberlongyes
1.3numberOrder number in the Client IS string()yes
2errorsRequest processing errorserror[ ]no
2.1codeError codestring()yes
2.2messageError descriptionstring()yes


https://api.cdek.ru/v2/payment?date=2021-03-25


{
    "orders": [
        {
            "uuid": "72753031-331a-45ba-9df4-7c17fc38e9c1",
            "numberOrder": 1107401942,
            "imNumber": "1616651845914"
        },
        {
            "uuid": "72753031-98d6-4af8-ba15-d0ef956c4c5f",
            "numberOrder": 1107401934,
            "imNumber": "1616651845912"
        },
        {
            "uuid": "72753031-7df0-4afe-a8e0-8f9cb8b55250",
            "numberOrder": 1107396178,
            "imNumber": "1616651845905"
        }
    ]
}


 

© 2000—2024, Курьерская компания СДЭК