Envíos
Protege un envío
Este endpoint permite proteger un envío.
post/api/v1/shipments/{shipment_id}/protect
Request
- Base URL: https://api-pro.skydropx.com
- URL: https://api-pro.skydropx.com/api/v1/shipments/{shipment_id}/protect
- Auth: HTTP bearer
Path parameters
shipment_idstring required
Request body
Example request
{
"shipment_id": "7f433cf4-e54a-4294-b421-1522cd377c12"
}Response
Retorna la información de la protección del envío
Example response
{
"data": {
"id": "681ddd3e-4fc5-4c15-bfed-f9f4224e8095",
"type": "protect",
"attributes": {
"id": "681ddd3e-4fc5-4c15-bfed-f9f4224e8095",
"percentage": 10,
"created_at": "2024-10-09 13:38:33",
"updated_at": "2024-10-09 13:38:33",
"shipment_id": "7f433cf4-e54a-4294-b421-1522cd377c12"
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.