curl --request GET \
--url https://api.loopreturns.com/api/v1/label-requests/{id} \
--header 'Authorization: Bearer <token>'{
"id": 123,
"addresses": {
"origin": {
"address1": "<string>",
"city": "<string>",
"country_code": "<string>",
"name": "<string>",
"company": "<string>",
"address2": "<string>",
"region": "<string>",
"postal_code": "<string>",
"country": "<string>"
},
"destination": {
"address1": "<string>",
"city": "<string>",
"country_code": "<string>",
"name": "<string>",
"company": "<string>",
"address2": "<string>",
"region": "<string>",
"postal_code": "<string>",
"country": "<string>"
}
},
"parcel": {
"height": 123,
"length": 123,
"width": 123,
"weight": 123
},
"products": [
{
"name": "<string>",
"price": {
"amount": 123,
"currency_code": "USD"
},
"country_of_origin": "<string>",
"hs_code": "<string>",
"sku": "<string>"
}
],
"errors": "<array>",
"return_id": 123,
"shop_id": 123,
"status": "issued",
"created_at": "2023-11-07T05:31:56Z"
}Get details about a single label request.
curl --request GET \
--url https://api.loopreturns.com/api/v1/label-requests/{id} \
--header 'Authorization: Bearer <token>'{
"id": 123,
"addresses": {
"origin": {
"address1": "<string>",
"city": "<string>",
"country_code": "<string>",
"name": "<string>",
"company": "<string>",
"address2": "<string>",
"region": "<string>",
"postal_code": "<string>",
"country": "<string>"
},
"destination": {
"address1": "<string>",
"city": "<string>",
"country_code": "<string>",
"name": "<string>",
"company": "<string>",
"address2": "<string>",
"region": "<string>",
"postal_code": "<string>",
"country": "<string>"
}
},
"parcel": {
"height": 123,
"length": 123,
"width": 123,
"weight": 123
},
"products": [
{
"name": "<string>",
"price": {
"amount": 123,
"currency_code": "USD"
},
"country_of_origin": "<string>",
"hs_code": "<string>",
"sku": "<string>"
}
],
"errors": "<array>",
"return_id": 123,
"shop_id": 123,
"status": "issued",
"created_at": "2023-11-07T05:31:56Z"
}The access token received from the authorization server in the OAuth 2.0 flow.
The unique identifier for the label request, created by Loop.
Success
The unique identifier for the label request, created by Loop.
Show child attributes
Show child attributes
The recipient's street address.
125The city in which the address is located.
100The two-letter country code associated with the address.
2The recipient's name.
100The recipient's company.
100The recipient's secondary address details (such as unit number or PO box information).
125The state or region in which the address is located.
100The postal code associated with the address.
16The country in which the address is located.
100Show child attributes
The recipient's street address.
125The city in which the address is located.
100The two-letter country code associated with the address.
2The recipient's name.
100The recipient's company.
100The recipient's secondary address details (such as unit number or PO box information).
125The state or region in which the address is located.
100The postal code associated with the address.
16The country in which the address is located.
100Show child attributes
The name of the product.
The country of origin of the product.
The HS (Harmonized System) code of the product.
The SKU of the product.
The return id of the return.
The id of the shop belonging to the merchant.
The status of the label request.
issued, cancelled, fulfilled The date the label was created.