Deleting a Courier Invitation
The method is used to delete a courier invitation.
Request for Deleting a Courier Invitation
In order to use this process, a DELETE request should be sent to URL:
Environment | URL |
testing | |
production |
{uuid} is the CDEK IS identifier of the courier invitation to be deleted.
Response to the Request for Deleting a Courier Invitation
The response body is returned in the JSON format:
No. | Field name | Description | Field type | Mandatory (yes/no) |
---|---|---|---|---|
1 | entity | Data of the courier invitation over which request is sent | no | |
1.1 | uuid | identifier of the courier invitation in the CDEK IS | UUID | no |
2 | requests | Data on the request/requests over the courier Invitation | request[] | yes |
2.1 | request_uuid | Request identifier in CDEK information system | UUID | no |
2.2 | type | Request type May take on values: CREATE, UPDATE, DELETE, AUTH, GET | string() | yes |
2.3 | state | Current status of the request ACCEPTED - pre-validation passed and request accepted | string() | yes |
2.4 | date_time | Date and time of setting current status of the request (format yyyy-MM-dd'T'HH:mm:ssZ) | datetime | yes |
2.5 | errors | Request processing errors | error[] | no |
2.5.1 | code | Error code | string() | yes |
2.5.2 | message | Error description | string() | yes |
2.6 | warnings | Request processing warnings | warning[] | no |
2.6.1 | code | Warning code | string() | yes |
2.6.2 | message | Warning description | string() | yes |
https://api.cdek.ru/v2/intakes/72753031-0525-4aa4-9629-d6ae52e825f5 |
{ "entity": { "uuid": "72753031-0525-4aa4-9629-d6ae52e825f5" }, "requests": [ { "request_uuid": "72753031-9b53-48a4-8814-dda44250c565", "type": "DELETE", "state": "ACCEPTED", "date_time": "2020-02-10T12:02:37+0700", "errors": [], "warnings": [] } ] } |
© 2000—2024, Курьерская компания СДЭК