curl --request POST \
--url https://api.loopreturns.com/api/{version}/ship-by-loop/shipments/{shipmentId}/services \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"services": [
{
"external_id": "svc_ground",
"name": "Ground Advantage",
"carrier": "USPS",
"packages": [
"385e1705-ca07-41ba-b62e-49ac9065f2a4"
]
}
]
}
'Ship by Loop
Add available services to a shipment
The response to the ship-by-loop.services.requested webhook.
Required OAuth scope
ship_by_loop:write
POST
/
ship-by-loop
/
shipments
/
{shipmentId}
/
services
curl --request POST \
--url https://api.loopreturns.com/api/{version}/ship-by-loop/shipments/{shipmentId}/services \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"services": [
{
"external_id": "svc_ground",
"name": "Ground Advantage",
"carrier": "USPS",
"packages": [
"385e1705-ca07-41ba-b62e-49ac9065f2a4"
]
}
]
}
'Authorizations
Path Parameters
Response
The request was processed successfully