- Authentication
- Rates
- Shipments
- Tracking
- Batches
- Classifications
- Customer
- Landed Cost
- Manifest
- Webhooks
- Invoices
Update Batch - Remove Shipment
PUT
/Batches/{batchId}
ShipmentBatchesController
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Path Params
batchId
string
required
Body Params application/json
ShipmentsToAdd
array[object (ShipmentsModel) {3}]
optional
Piece
array[object (Piece) {12}]
required
Package
object (ShipmentPackage)
required
ITNNumber
string
optional
ReferencesToRemove
array[string]
optional
Example
{
"AppID": "{{app_id}}",
"RestApiKey": "{{rest_api_key}}",
"ReferencesToRemove": [
"{{package_reference}}"
]
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://partnerapi.flavorcloud.com/Batches/' \
--header 'Content-Type: application/json' \
--data-raw '{
"AppID": "{{app_id}}",
"RestApiKey": "{{rest_api_key}}",
"ReferencesToRemove": [
"{{package_reference}}"
]
}'
Responses
🟢204Update batch
application/json
Body
object {0}
Example
{}
Modified at 2025-04-28 20:50:02