curl --request POST \
--url https://api.loopreturns.com/api/{version}/ship-by-loop/shipments/{shipmentId}/errors \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"errors": [
{
"message": "Carrier rejected the destination address",
"package_id": "385e1705-ca07-41ba-b62e-49ac9065f2a4"
}
]
}
'Ship by Loop
Report errors on a shipment
Report one or more problems the provider could not resolve on its own. Each error is scoped to a package, and may optionally be scoped further to a single item within that package.
Reporting an error is purely a record — it does not change the shipment’s state or the shopper-facing flow, and it does not block you from still calling /services or /orders for the same package afterward. Errors are not deduplicated, so retrying the same call records a duplicate entry each time.
Required OAuth scope
ship_by_loop:write
POST
/
ship-by-loop
/
shipments
/
{shipmentId}
/
errors
curl --request POST \
--url https://api.loopreturns.com/api/{version}/ship-by-loop/shipments/{shipmentId}/errors \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"errors": [
{
"message": "Carrier rejected the destination address",
"package_id": "385e1705-ca07-41ba-b62e-49ac9065f2a4"
}
]
}
'Authorizations
Path Parameters
Body
application/json
Response
The request was processed successfully