Envíos

Recupera un envío

Recupera un envío

get/api/v1/shipments/{id}

Request

  • Base URL: https://api-pro.skydropx.com
  • URL: https://api-pro.skydropx.com/api/v1/shipments/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

Response

Retorna un envío

Example response

{
  "data": {
    "attributes": {
      "id": "0ac5adcc-a13d-427d-81dd-9ddd70b2f660",
      "carrier_name": "FEDEX",
      "workflow_status": "success",
      "payment_status": "paid",
      "total": "500.0",
      "source": "api",
      "carrier_id": "91dd6bde-fd08-4bf2-b12d-d79c98b0f7ab",
      "service_id": "91dd6bde-fd08-4bf2-b12d-d79c98b0f7ab",
      "master_tracking_number": "234234234233",
      "original_shipment_id": "0199977a-e032-78bf-a335-00a9ae3cfdff",
      "error_detail": {
        "error_code": "ERR_INVALID_ADDRESS",
        "error_message": "La dirección de destino no es válida",
        "error_message_detail": "Token no válido"
      },
      "order_detail_url": "https://example.com/order_detail.pdf"
    }
  },
  "included": [
    {
      "attributes": {
        "id": "91dd6bde-fd08-4bf2-b12d-d79c98b0f7ab",
        "package_type": "4G",
        "weight": "1",
        "length": "1",
        "width": "1",
        "height": "1",
        "consignment_note": "53102400",
        "tracking_url_provider": "https://www.fedex.com/fedextrack/?trknbr=234234234233",
        "tracking_status": "created",
        "label_url": "https://label.com"
      }
    }
  ]
}

Changes

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