Compra una etiqueta de envío a partir del ID de tarifa indicado.
Límite de tasa: 600 solicitudes por minuto.
Seguridad
ApiTokenAuth
GET
curl -i -X GET \
'https://api.shipsaving.com/api/rates/buy?rate_id=string&api_token=YOUR_API_KEY_HERE'Etiqueta comprada correctamente.
Ejemplo:
[ "https://...../labels/2025-06-30/0231b055b64044e6b7e027874e915361_0.pdf" ]
Response
{ "packing_slip_number": 109169, "master_tracking_code": "", "prefix_tracking_code": "", "tracking_code": "1ZY50G652000880500", "label_size": "4x6", "label_type": "label", "length": 12, "width": 12, "height": 7, "weight": 14.99, "insurance": 0, "insurance_fee": 0, "signature": "NO_SIGNATURE", "custom_print1": "", "custom_print2": "", "delivery_days": "1", "service_fee": 0.05, "rate": 10.87, "rebate": 0, "from_name": "sender name", "from_company": "ShipSaving, LLC", "from_phone": "", "from_street": "769 Broadview Avenue", "from_street2": "", "from_city": "Toronto", "from_state": "ON", "from_zip": "M4K 2P7", "from_country": "CA", "to_name": "ShipSaving", "to_company": "UPS Plus", "to_phone": "", "to_street": "961 Broadview Avenue", "to_street2": "", "to_city": "Toronto", "to_state": "ON", "to_zip": "M4K 2P7", "to_country": "CA", "label_status": "completed", "shipment_id": 1245627, "warehouse_name": "WH", "store_name": "", "order_number": "", "provider": "shipsaving", "carrier": "UPS", "service": "UPS_GROUND", "package": "PACKAGE", "published_rate": 34.53, "label_url": [ "https://...../labels/2025-06-30/0231b055b64044e6b7e027874e915361_0.pdf" ], "commercial_invoice_url": null }