/
Bulk Offer selection
Bulk Offer selection
On this page
Bulk Offer selection
POST /v1/organizations/:organization_id/shipments/select_offers
Parameters
Parameter | Type | Description | Validation |
---|---|---|---|
| Array[Hash] Shipment Select Offers | Allows for bulk offer selection | Table may consist of a maximum of 100 elements. |
shipments
have the following attributes:
Parameter | Type | Description |
---|---|---|
| String | Unique shipment ID that allows the return of shipment validation errors related to the specific shipment. |
| Integer | Shipment ID |
| Integer | Offer ID |
Example request
curl -X POST https://api-shipx-pl.easypack24.net/v1/organizations/1/shipments/select_offers -H 'Authorization: Bearer token' -H 'Content-Type: application/json' -d '{
"shipments":[
{"id": 1, "shipment_id": 235, "offer_id": 284},
{"id": 2, "shipment_id": 236, "offer_id": 285}
]
}'
Response
HTTP/1.1 204 No Content
Content-Type: application/json
Error information
The server can return the following errors during bulk offer selection:
validation_failed
- validation errorforbidden
- user has no access rights to the organizationtoken_invalid
- token is invalid
, multiple selections available,
Related content
Bulk Shipment payment
Bulk Shipment payment
More like this
Paying for shipment
Paying for shipment
More like this
Creating and viewing shipment batches
Creating and viewing shipment batches
More like this
Shipment creation in offer mode
Shipment creation in offer mode
Read with this
Offer selection
Offer selection
More like this
Shipment search and sorting
Shipment search and sorting
Read with this