Collection of methods that provide logistics services including CRUD operations for logistics orders, pickups, etc. Also handles logistics-related files like shipping labels.
REVER Admin API (1.0.0)
- Overview: The REVER ADMIN API provides seamless integration for managing returns through three main categories: Reverse Logistics, Processes, and Settings.
- Logistics: Handles all operations related to package returns, including shipment tracking, warehouse logistics, and return labels for items sent back to the eCommerce warehouse.
- Processes: Manages return workflows, including return statuses, item inspections, and actions that can be taken on a return, such as refunds, exchanges, or inspections.
- Settings: Contains configuration information REVER uses to execute return processes, including return rules, time limits, and warehouse preferences.
You can download the OpenAPI specification file here to generate your client code.
this API is meant to be used for returns that are already created or processed. The API is not meant to be used to start returns from the customer portal. For integrating with your own portal please take a look at the Storefront API.
Most commonly, you will only need to use the e-commerce ID provided during onboarding. However, if you need to manage multiple e-commerce stores simultaneously, a group ID is required. An e-commerce group is an identifier that groups multiple e-commerce stores that are managed together. Typically, these are different brands belonging to the same parent company.
This authentication method is primarily used for server-to-server (unattended) integrations. You must request an API key through your account manager. The API key must be kept secure and confidential, do not share it with anyone.
To authenticate a request using an API key, include the header x-rever-api-key. Example: x-rever-api-key: 87bf223499abeef
- Mock serverhttps://docs.itsrever.com/_mock/apis/admin/v1/processes/{process_id}/shipping_status
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://docs.itsrever.com/_mock/apis/admin/v1/processes/{process_id}/shipping_status' \
-H 'Content-Type: application/json' \
-d '{
"lkss": "NO_SHIPPING_STATUS",
"process_id": "string"
}'- Mock serverhttps://docs.itsrever.com/_mock/apis/admin/v1/processes/{process_id}/label
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.itsrever.com/_mock/apis/admin/v1/processes/{process_id}/label'{ "url": "string" }
- Mock serverhttps://docs.itsrever.com/_mock/apis/admin/v1/processes/{process_id}/logistics
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.itsrever.com/_mock/apis/admin/v1/processes/{process_id}/logistics'{ "logistics_summary": { "carrier": "string", "pickups_scheduled": "string", "return_method": "RETURN_METHOD_UNSPECIFIED", "status": "STATUS_UNSPECIFIED", "tracking_id": "string", "tracking_url": "string" } }
Request
Creates a pickup for a given process_id, customer and address A logistic order must be created prior requesting a pickup Must specify the provider and carrier to be used to create the pickup:
- Returns UNIMPLEMENTED (gRPC code 12) if the provider is
OPS, meaning it didn't generated any action. - Returns InvalidArgument (gRPC code 3) if the combination of
return-method,providerandcarrieris not supported.
Carrier to be used for generating the pickup (DHL, UPS, Correos...) must be available for the given provider
Customer Important! the alias at the end is for API docs generation @Description A generic customer in the Rever platform @name api.Customer
Preferred times for the pickup a the customer address
- Mock serverhttps://docs.itsrever.com/_mock/apis/admin/v1/processes/{process_id}/pickup
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://docs.itsrever.com/_mock/apis/admin/v1/processes/{process_id}/pickup' \
-H 'Content-Type: application/json' \
-d '{
"carrier": "string",
"customer": {
"email": "string",
"first_name": "string",
"last_name": "string",
"rever_id": "string"
},
"ecommerce_id": "string",
"pickup_address": {
"address_line_1": "string",
"address_line_2": "string",
"city": "string",
"company": "string",
"country": "string",
"country_code": "string",
"email": "string",
"first_name": "string",
"last_name": "string",
"phone": "string",
"postcode": "string",
"rever_id": "string",
"state_province": "string",
"state_province_code": "string"
},
"pickup_ranges": [
"NO_RANGE"
],
"process_id": "string",
"provider": "string",
"settings": {
"logistic_config": [
{
"carrier": "string",
"provider": "string"
}
],
"return_method": "NO_RETURN_METHOD"
}
}'{ "pickup_order": { "carrier": "string", "id": "string", "pickup_range": { … }, "provider": "string" } }
The extension of the label file, just 3 letters Only "pdf", "png" and "jpg" are allowed
- Mock serverhttps://docs.itsrever.com/_mock/apis/admin/v1/processes/{process_id}/logistics/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://docs.itsrever.com/_mock/apis/admin/v1/processes/{process_id}/logistics/' \
-H 'Content-Type: application/json' \
-d '{
"label": "string",
"label_extension": "string",
"order": {
"carrier": "string",
"from": {
"address_line_1": "string",
"address_line_2": "string",
"city": "string",
"company": "string",
"country": "string",
"country_code": "string",
"email": "string",
"first_name": "string",
"last_name": "string",
"phone": "string",
"postcode": "string",
"rever_id": "string",
"state_province": "string",
"state_province_code": "string"
},
"process_id": "string",
"provider": "string",
"return_method": "NO_RETURN_METHOD",
"to": {
"address_line_1": "string",
"address_line_2": "string",
"city": "string",
"company": "string",
"country": "string",
"country_code": "string",
"email": "string",
"first_name": "string",
"last_name": "string",
"phone": "string",
"postcode": "string",
"rever_id": "string",
"state_province": "string",
"state_province_code": "string"
},
"tracking_id": "string",
"tracking_url": "string"
}
}'{ "order": { "carrier": "string", "currency_code": "string", "id": "string", "price": 0, "provider": "string", "shipments": [ … ] } }
Request
Creates a logistic order for a given process_id, customer and address. Must specify the provider and carrier to be used to create the pickup.
- Returns UNIMPLEMENTED (gRPC code 12) if the provider is
OPS, meaning it didn't generated any action. - Returns InvalidArgument (gRPC code 3) if the combination of
return-method,providerandcarrieris not supported.
Carrier to be used for generating the pickup (DHL, UPS, Correos...) kwown & available for the given provider
Customer Important! the alias at the end is for API docs generation @Description A generic customer in the Rever platform @name api.Customer
Address @Description generic address used in many scenarios @name api.Address
Id of the original order (if any) associated to this shipping E-commerces uses this to match the original order when the package arrives to the warehouse
Pick-up time ranges. Only required for return_type = PICKUP
Return method associated to the logistic order (PICKUP, DROP_OFF)
- Mock serverhttps://docs.itsrever.com/_mock/apis/admin/v1/processes/{process_id}/logistics/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://docs.itsrever.com/_mock/apis/admin/v1/processes/{process_id}/logistics/' \
-H 'Content-Type: application/json' \
-d '{
"carrier": "string",
"customer": {
"email": "string",
"first_name": "string",
"last_name": "string",
"rever_id": "string"
},
"customer_address": {
"address_line_1": "string",
"address_line_2": "string",
"city": "string",
"company": "string",
"country": "string",
"country_code": "string",
"email": "string",
"first_name": "string",
"last_name": "string",
"phone": "string",
"postcode": "string",
"rever_id": "string",
"state_province": "string",
"state_province_code": "string"
},
"ecommerce_group": "string",
"ecommerce_id": "string",
"ecommerce_order_id": "string",
"ecommerce_warehouse_address": {
"address_line_1": "string",
"address_line_2": "string",
"city": "string",
"company": "string",
"country": "string",
"country_code": "string",
"email": "string",
"first_name": "string",
"last_name": "string",
"phone": "string",
"postcode": "string",
"rever_id": "string",
"state_province": "string",
"state_province_code": "string"
},
"order_number": "string",
"pickup_ranges": [
"NO_RANGE"
],
"process_id": "string",
"provider": "string",
"return_type": "NO_RETURN_METHOD",
"settings": {
"logistic_config": [
{
"carrier": "string",
"provider": "string"
}
],
"return_method": "NO_RETURN_METHOD"
},
"weight_in_grams": 0
}'{ "order": { "carrier": "string", "currency_code": "string", "id": "string", "price": 0, "provider": "string", "shipments": [ … ] } }