This endpoint is used to create new shipment by passing JSON request payload.
Resource URL
...
Parameters
...
Type
...
Name
...
Description
...
Schema
...
Default
...
Header
...
domain
optional
...
Domain where the request is coming from
...
string
...
"http://dashboard.bbalogistics.com.au"
...
Query
...
generateCarrierDetails
optional
...
Generate carrier details
...
string
...
Body
...
shipment
optional
...
Shipment request parameter
...
Shipment
Responses
...
HTTP Code
...
Description
...
Schema
...
201
...
Created
...
ShipmentPublicProjection
...
401
...
Unauthorized
...
No Content
...
403
...
Forbidden
...
No Content
...
404
...
Not Found
...
No Content
Definitions
mykey
Type: apiKey
Name: Authorization
In: HEADER
Shipment
...
Name
...
Description
...
Schema
...
accompanied Delivery
optional
...
Indicate if the delivery will be accompanied by another person
Example : false
...
boolean
...
active
optional
...
Shipment activation status
Example : false
...
boolean
...
amount
optional
...
Shipment amount
...
number
...
appliedShippingRule
optional
...
Shipping rules that are applied to shipment
...
ShippingRule
...
bbaReferenceNumber
optional
...
Shipment BBA Reference number
...
string
...
billed
optional
...
boolean
...
bookingDate
optional
...
This endpoint is used to create new shipment by passing JSON request payload.
Resource URL
https://api.bbamastro.com.au/shipment🔗
Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Header | domain optional | Domain where the request is coming from | string | "http://dashboard.bbalogistics.com.au" |
Query | generateCarrierDetails optional | Generate carrier details | string | |
Body | shipment optional | Shipment request parameter | Shipment |
Responses
HTTP Code | Description | Schema |
---|---|---|
201 | Created | ShipmentPublicProjection |
401 | Unauthorized | No Content |
403 | Forbidden | No Content |
404 | Not Found | No Content |
...
Definitions
mykey
Type: apiKey
Name: Authorization
In: HEADER
Shipment
Name | Description | Schema | |||||
---|---|---|---|---|---|---|---|
accompanied Delivery optional | Indicate if the delivery will be accompanied by another person Example : false | boolean | |||||
active optional | Shipment activation status Example : false | boolean | |||||
amount optional | Shipment amount | number | |||||
appliedShippingRule optional | Shipping rules that are applied to shipment | ShippingRule | |||||
bbaReferenceNumber optional | Shipment BBA Reference number | string | |||||
billed optional | boolean | ||||||
bookingDate optional | The date when shipment booked | string (date-time) | |||||
bookingStatus optional | Shipment booking status | enum (new, unprocessed, inprogress, pending, processed) | |||||
breakBulkDetails optional | ${swagger.model.shipment.break_bulk_details} | BreakBulkDetails | |||||
carrierBookingOptions optional | ${swagger.model.shipment.carrier_booking_options} | < string, string > map | |||||
carrierID optional | Shipment carrier identifier | string | |||||
carrierOderId optional | ${swagger.model.shipment.carrierOrderId} | string | |||||
carrierProfileId optional | Shipment carrier profile identifier | string | |||||
carrierServiceRateId optional | ${swagger.model.shipment.carrier_service_rate_id} | string | |||||
carrierShipmentId optional | Carrier’s shipment identifier | string | |||||
clientPresent optional | Indicate if client will be present to assist the receiving of shipment Example: false | boolean | |||||
company optional | Shipment company | string | |||||
consignmentId optional | Shipment consignment identifier | string | |||||
consolidation optional | Shipment consolidation | ShipmentConsolidation | |||||
containerId optional | Shipment crossdock container identifier | string | |||||
containerName optional | Shipment crossdock container name | string | |||||
containerType optional | Shipment crossdock container type | enum (bag, box, carton, case, crate, envelope, pallet, rack, sack, tray) | |||||
createdDate optional | The date when shipment created | string (date-time) | |||||
currency optional | Shipment currency | string | |||||
customerReferences optional | Shipment customer references | < string > array | |||||
dangerousGoods optional | Indicate if shipment contains dangerous goods Example : false | boolean | |||||
deliveredDate optional | The date when shipment delivered | string (date-time) | |||||
description optional | Shipment description | string | |||||
destinationAddress optional | Shipment destination address | Address | |||||
eta optional | Shipment ETA | string | |||||
fromFtp optional | Indicate if the shipment data from FTP file Example : false | boolean | |||||
history optional | < History > array | ||||||
id optional | Shipment identifier | string | |||||
invoiceDetails optional | ${swagger.model.shipment.invoice_details} | InvoiceDetails | |||||
invoiceId optional | string | ||||||
items optional | Items contained in shipment | < Item > array | |||||
jobId optional | ${swagger.model.shipment.job_id} | integer (int64) | |||||
lastDocumentPrintedTime optional | The time when shipment document printed | string (date-time) | |||||
lastModifiedDate optional | Date when the last time shipment data modified | string (date-time) | |||||
bookingStatusmanifest optional | Shipment booking status | enum (new, unprocessed, inprogress, pending, processed) | breakBulkDetailsmanifest | Manifest | |||
manifestedDate optional | ${swagger.model.shipment.break_bulk_details} | BreakBulkDetails | |||||
carrierBookingOptions optional | ${swagger.model.shipment.carrier_booking_options} | < string, string > map | |||||
carrierID optional | Shipment carrier identifier | string | |||||
carrierOderId optional | ${swagger.model.shipment.carrierOrderId} | string | |||||
carrierProfileId optional | Shipment carrier profile identifier | string | |||||
carrierServiceRateId optional | ${swagger.model.shipment.carrier_service_rate_id} | string | |||||
carrierShipmentId optional | Carrier’s shipment identifier | string | |||||
clientPresent optional | Indicate if client will be present to assist the receiving of shipmentmanifest_date} | string (date-time) | |||||
marketplaceId optional | Shipment marketplace identifier | string | |||||
maxDeliveryDate optional | string (date-time) | ||||||
notifyReceiver optional | Notify receiver for any update of this shipment Example : false | boolean | |||||
notifySender optional | Notify sender for any update of this shipment Example : false | boolean | |||||
office optional | Shipment office | string | |||||
officeTransitionHistory optional | Shipment office transition history | < string > array | |||||
originalConsignmentId optional | Shipment original consignment identifier (for return shipment) | string | |||||
originalShipmentId optional | Original shipment id (for return shipment) | string | |||||
packDescAutoPopulate optional | Indicate if shipment package is auto populate Example : false | boolean | |||||
companypackages optional | Shipment company | string | consignmentIdpackages | < Package > array | |||
packaging optional | Shipment consignment identifierpackaging | string | |||||
consolidationpickupDetails optional | Shipment consolidationpickup details | ShipmentConsolidationPickupDetails | |||||
containerIdpoBox optional | Shipment crossdock container identifier | string | |||||
containerName optional | Shipment crossdock container name | string | |||||
containerTypeIndicate if shipment has PO BOX Example : false | boolean | ||||||
previousTrackingStatus optional | Shipment crossdock container typeprevious tracking status | enum (bagdocumentationprepared, boxbookingarranged, cartoncollected, caseintransit, cratearrivedatdestination , envelopeoutfordelivery, palletdelivered, rackinstore, sack, traymissing) | |||||
createdDatepurchasedDate optional | The date when shipment createdpurchased | string (date-time)currency) | |||||
reasonForShipping optional | Shipment reason for shipping | enum (purchase, gift) | |||||
returnAuthorityNumber optional | Shipment return authority number | string | |||||
serviceDetails optional | Shipment currencycarrier service details | stringServiceDetails | |||||
customerReferencesserviceId optional | Shipment customer referencescarrier service identifier | < string > array | |||||
dangerousGoodsserviceProfileId optional | Indicate if shipment contains dangerous goods Example : false | boolean | |||||
deliveredDate optional | The date when shipment delivered | string (date-time) | |||||
descriptionShipment service profile identifier | string | ||||||
shippingCost optional | Shipment shipping cost | ShippingCost | |||||
skuList optional | Shipment description | string | destinationAddressSKUs | < SKUItem > array | |||
sourceAddress optional | Shipment destination source address | Address | |||||
etaspecialInstructions optional | Shipment ETAspecial instructions | string | |||||
fromFtpsscc optional | Indicate if the shipment data from FTP file Example : false | boolean | history optional | < History > array | id optional | Shipment identifierShipment SSCC number | string |
invoiceDetailssurcharge optional | ${swagger.model.shipment.invoice_details} | InvoiceDetails | invoiceId optional | string | |||
items optional | Items contained in shipment | < Item > array | |||||
jobId optional | ${swagger.model.shipment.job_id} | integer (int64) | |||||
lastDocumentPrintedTime optional | The time when shipment document printed | string (date-time) | |||||
lastModifiedDate optional | Date when the last time shipment data modified | string (date-time) | |||||
manifest optional | Shipment manifest | Manifest | |||||
manifestedDateShipment surcharge | Surcharge | ||||||
tailGate optional | Indicate if shipment tail gate status Example : false | boolean | |||||
taxStatus optional | Shipment tax status | enum (private) | |||||
timeBased optional | Indicate if shipment uses time based rate Example : false | boolean | |||||
timeBasedRateDetail optional | Time base rate detail | TimeBasedRateDetail | |||||
trackingNumber optional | Shipment tracking number | string | |||||
trackingStatus optional | Shipment tracking status | enum (documentationprep ared, bookingarranged, collected, intransit, arrivedatdestination , outfordelivery, delivered, instore, missing) | |||||
travelDistance optional | ${swagger.model.shipment.manifesttravel_datedistance} | string integer (date-timeint64) | |||||
marketplaceIdtrolleyRequired optional | Shipment marketplace identifier | string | maxDeliveryDate optional | string (date-time) | notifyReceiver optional | Notify receiver for any update of this shipmentIndicate if a trolley will be required for shipping Example : false | boolean |
unattendedDelivery optional | Indicate if shipment can be delivered unattended Example : false | boolean | notifySender optional | Notify sender for any update of this shipment | |||
user optional | Shipment user | string |
ShipmentPublicProjection
Name | Description | Schema | ||
---|---|---|---|---|
accompanied Delivery optional | Indicate if the delivery will be accompanied by another person Example : false | boolean | ||
officeactive optional | Shipment office | string | ||
officeTransitionHistory optional | Shipment office transition history | < string > array | ||
originalConsignmentIdactivation status Example : false | boolean | |||
amount optional | Shipment original consignment identifier (for return shipment) | string | originalShipmentIdamount | number |
appliedShippingRule optional | Original shipment id (for return shipment) | string | ||
packDescAutoPopulate optional | Indicate if shipment package is auto populate Example : false | boolean | ||
packages optional | Shipment packages | < Package > array | ||
packaging optional | Shipment packaging | string | ||
pickupDetails optional | Shipment pickup details | PickupDetails | ||
poBox optional | Indicate if shipment has PO BOX Example : false | boolean | ||
previousTrackingStatus optional | Shipment previous tracking status | enum (documentationprepared, bookingarranged, collected, intransit, arrivedatdestination , outfordelivery, delivered, instore, missing) | ||
purchasedDate optional | The date when shipment purchased | string (date-time) | ||
reasonForShipping optional | Shipment reason for shipping | enum (purchase, gift) | ||
returnAuthorityNumber optional | Shipment return authority number | string | ||
serviceDetails optional | Shipment carrier service details | ServiceDetails | ||
serviceId optional | Shipment carrier service identifier | string | ||
serviceProfileId optional | Shipment service profile identifier | string | ||
shippingCost optional | Shipment shipping cost | ShippingCost | ||
skuList optional | Shipment SKUs | < SKUItem > array | ||
sourceAddress optional | Shipment source address | Address | ||
specialInstructions optional | Shipment special instructions | string | ||
sscc optional | Shipment SSCC number | string | ||
surcharge optional | Shipment surcharge | Surcharge | ||
tailGate optional | Indicate if shipment tail gate status Example : false | boolean | ||
taxStatus optional | Shipment tax status | enum (private) | ||
timeBased optional | Indicate if shipment uses time based rateShipping rules that are applied to shipment | ShippingRule | ||
bbaReferenceNumber optional | Shipment BBA Reference number | string | ||
billed optional | boolean | |||
bookingDate optional | The date when shipment booked | string (date-time) | ||
bookingStatus optional | Shipment booking status | enum (new, unprocessed, inprogress, pending, processed) | ||
breakBulkDetails optional | ${swagger.model.shipment.break_bulk_details} | BreakBulkDetails | ||
carrierBookingOptions optional | ${swagger.model.shipment.carrier_booking_options} | < string, string > map | ||
carrierConfiguration optional | ${swagger.model.shipment.job} | CarrierConfiguratio nProjection | ||
carrierOrderId optional | ${swagger.model.shipment.carrierOrderId} | string | ||
clientPresent optional | Indicate if client will be present to assist the receiving of shipment Example: false | boolean | ||
company optional | Shipment company | Company | ||
consignmentId optional | Shipment consignment identifier | string | ||
consolidation optional | Shipment consolidation | ShipmentConsolidation | ||
containerId optional | Shipment crossdock container identifier | string | ||
containerName optional | Shipment crossdock container name | string | ||
containerType optional | Shipment crossdock container type | enum (bag, box, carton, case, crate, envelope, pallet, rack, sack, tray) | ||
createdDate optional | The date when shipment created | string (date-time) | ||
currency optional | Shipment currency | string | ||
customerReferences optional | Shipment customer references | < string > array | ||
dangerousGoods optional | Indicate if shipment contains dangerous goods Example : false | boolean | ||
timeBasedRateDetaildeliveredDate optional | Time base rate detail | TimeBasedRateDetail | ||
trackingNumber optional | Shipment tracking number | string | ||
trackingStatus optional | Shipment tracking status | enum (documentationprep ared, bookingarranged, collected, intransit, arrivedatdestination , outfordelivery, delivered, instore, missing) | ||
travelDistance optional | ${swagger.model.shipment.travel_distance} | integer (int64) | ||
trolleyRequired optional | Indicate if a trolley will be required for shipping Example : false | boolean | ||
unattendedDelivery optional | Indicate if shipment can be delivered unattended Example : false | boolean | ||
user optional | Shipment user | string |
ShipmentPublicProjection
Name | Description | Schema | |||
---|---|---|---|---|---|
accompanied Delivery optional | Indicate if the delivery will be accompanied by another person Example : false | boolean | |||
active optional | Shipment activation status Example : false | boolean | |||
amount optional | Shipment amount | number | |||
appliedShippingRule optional | Shipping rules that are applied to shipment | ShippingRule | |||
bbaReferenceNumber optional | Shipment BBA Reference number | string | billed optional | boolean | |
bookingDate optional | The date when shipment booked | string (date-time) | |||
bookingStatus optional | Shipment booking status | enum (new, unprocessed, inprogress, pending, processed) | |||
breakBulkDetails optional | ${swagger.model.shipment.break_bulk_details} | BreakBulkDetails | |||
carrierBookingOptions optional | ${swagger.model.shipment.carrier_booking_options} | < string, string > map | |||
carrierConfiguration optional | ${swagger.model.shipment.job} | CarrierConfiguratio nProjection | |||
carrierOrderId optional | ${swagger.model.shipment.carrierOrderId} | string | |||
clientPresent optional | Indicate if client will be present to assist the receiving of shipment Example: false | boolean | |||
company optional | Shipment company | Company | |||
consignmentId optional | Shipment consignment identifier | string | |||
consolidation optional | Shipment consolidation | ShipmentConsolidation | |||
containerId optional | Shipment crossdock container identifier | string | |||
containerName optional | Shipment crossdock container name | string | |||
containerType optional | Shipment crossdock container type | enum (bag, box, carton, case, crate, envelope, pallet, rack, sack, tray) | |||
createdDate optional | The date when shipment createdThe date when shipment delivered | string (date-time) | |||
description optional | Shipment description | string | |||
destinationAddress optional | Shipment destination address | AddressPublicProjec tion | |||
id optional | Shipment identifier | string | |||
items optional | Items contained in shipment | < ItemPublicProjection > array | |||
job optional | ${swagger.model.shipment.job} | Job | |||
lastDocumentPrintedTime optional | The time when shipment document printed | string (date-time) | |||
lastModifiedDate optional | Date when the last time shipment data modified | string (date-time) | |||
manifestId optional | Shipment manifest identifier | string | |||
manifesteNo optional | Shipment manifest number | integer (int64) | |||
manifestedDate optional | ${swagger.model.shipment.manifest_date} | string (date-time) | |||
marketplaceId optional | Shipment marketplace identifier | string | |||
maxDeliveryDate optional | string (date-time) | ||||
notifyReceiver optional | Notify receiver for any update of this shipment Example : false | boolean | |||
notifySender optional | Notify sender for any update of this shipment Example : false | boolean | |||
office optional | Shipment office | OfficeProjection | |||
officeTransitionHistory optional | Shipment office transition history | < string > array | |||
originalConsignmentId optional | Shipment original consignment identifier (for return shipment) | string | |||
originalShipmentId optional | Original shipment id (for return shipment) | string | |||
packDescAutoPopulate optional | Indicate if shipment package is auto populate Example : false | boolean | |||
packages optional | Shipment packages | < PackagePublicProjection > array | |||
packaging optional | Shipment packaging | string | |||
pickupDetails optional | Shipment pickup details | PickupDetails | |||
poBox optional | Indicate if shipment has PO BOX Example : false | boolean | |||
previousTrackingStatus optional | Shipment previous tracking status | enum (documentationprepared, bookingarranged, collected, intransit, arrivedatdestination , outfordelivery, delivered, instore, missing) | |||
purchasedDate optional | The date when shipment purchased | string (date-time) | |||
currencyreadyForProcess optional | Shipment currency | string | customerReferences | Indicate if shipment ready for process Example : false | boolean |
reasonForShipping optional | Shipment customer references | < string > array | |||
dangerousGoods optional | Indicate if shipment contains dangerous goods Example : false | boolean | |||
deliveredDate optional | The date when shipment delivered | string (date-time) | |||
description optional | Shipment description | string | |||
destinationAddress optional | Shipment destination address | AddressPublicProjec tion | |||
id optional | Shipment identifier | string | |||
items optional | Items contained in shipment | < ItemPublicProjection > array | |||
job optional | ${swagger.model.shipment.job} | Job | |||
lastDocumentPrintedTime optional | The time when shipment document printed | string (date-time) | |||
lastModifiedDate optional | Date when the last time shipment data modified | string (date-time) | |||
manifestId optional | Shipment manifest identifier | string | |||
manifesteNo optional | Shipment manifest number | integer (int64) | |||
manifestedDate optional | ${swagger.model.shipment.manifest_date} | string (date-time) | |||
marketplaceId optional | Shipment marketplace identifier | string | maxDeliveryDate optional | string (date-time) | |
notifyReceiver optional | Notify receiver for any update of this shipment Example : false | boolean | |||
notifySender optional | Notify sender for any update of this shipmentreason for shipping | enum (purchase, gift) | |||
returnAuthorityNumber optional | Shipment return authority number | string | |||
serviceDetails optional | Shipment carrier service details | ServiceDetails | |||
serviceProfile optional | ${swagger.model.shipment.service_profile} | ServiceProfile | |||
shippingCost optional | Shipment shipping cost | ShippingCost | |||
sourceAddress optional | Shipment source address | AddressPublicProjection | |||
specialInstructions optional | Shipment special instructions | string | |||
sscc optional | Shipment SSCC number | string | |||
surcharge optional | Shipment surcharge | Surcharge | |||
tailGate optional | Indicate if shipment tail gate status Example : false | boolean | |||
taxStatus optional | Shipment tax status | enum (private) | |||
timeBasedRateDetail optional | Time base rate detail | TimeBasedRateDetail | |||
trackingNumber optional | Shipment tracking number | string | |||
trackingStatus optional | Shipment tracking status | enum (documentationprep ared, bookingarranged, collected, intransit, arrivedatdestination , outfordelivery, delivered, instore, missing) | |||
trolleyRequired optional | Indicate if a trolley will be required for shipping Example : false | boolean | |||
officeunattendedDelivery optional | Shipment office | OfficeProjection | |||
officeTransitionHistory optional | Shipment office transition history | < string > array | |||
originalConsignmentId optional | Shipment original consignment identifier (for return shipment) | string | |||
originalShipmentId optional | Original shipment id (for return shipment) | string | |||
packDescAutoPopulate optional | Indicate if shipment package is auto populateIndicate if shipment can be delivered unattended Example : false | boolean | |||
user optional | Shipment user | string | |||
validationResults optional | Indicate if shipment data is valid | ValidationResults | |||
withheld optional | Indicates that the shipment in on hold Example : false | booleanpackages |
ShippingRule
Name | Schema | ||
---|---|---|---|
amount optionalShipment packages | number | ||
bookingParams optional | < PackagePublicProjection string, string > arraymap | ||
packagingcarrierId optionalShipment packaging | string | ||
pickupDetailseta optional | Shipment pickup details | PickupDetails | poBoxstring |
logo optional | Indicate if shipment has PO BOX Example : false | boolean | previousTrackingStatusstring |
name optional | Shipment previous tracking status | enum (documentationprepared, bookingarranged, collected, intransit, arrivedatdestination , outfordelivery, delivered, instore, missing) | |
purchasedDate optional | The date when shipment purchased | string (date-time) | |
readyForProcess optional | Indicate if shipment ready for process Example : false | boolean | |
reasonForShipping optional | Shipment reason for shipping | enum (purchase, gift) | |
returnAuthorityNumber optional | Shipment return authority number | string | |
serviceDetails optional | Shipment carrier service details | ServiceDetails | |
serviceProfile optional | ${swagger.model.shipment.service_profile} | ServiceProfile | |
shippingCost optional | Shipment shipping cost | ShippingCost | |
sourceAddress optional | Shipment source address | AddressPublicProjection | |
specialInstructions optional | Shipment special instructions | string | |
sscc optional | Shipment SSCC number | string | |
surcharge optional | Shipment surcharge | Surcharge | |
tailGate optional | Indicate if shipment tail gate status string | ||
serviceId optional | string | ||
shippingRuleId optional | string | ||
transitTimeEarliest optional | integer (int32) | ||
transitTimeLatest optional | integer (int32) |
BreakBulkDetails
Name | Schema |
---|---|
firstMile optional | BreakBulkStepSummary |
id optional | interger (int32) |
lastMile optional | BreakBulkStepSummary |
lineHaul optional | BreakBulkStepSummary |
name optional | string |
ShipmentConsolidation
Name | Description | Schema |
---|---|---|
accountCode optional | Account code | string |
consolidation optional | Indicate if the shipment use consolidation Example : false | boolean |
taxStatuscustomerCarrierAccountCode optional | Shipment tax status | enum (private) |
timeBasedRateDetail optional | Time base rate detail | TimeBasedRateDetail |
trackingNumber optional | Shipment tracking number | string |
trackingStatus optional | Shipment tracking status | enum (documentationprep ared, bookingarranged, collected, intransit, arrivedatdestination , outfordelivery, delivered, instore, missing) |
trolleyRequired optional | Indicate if a trolley will be required for shipping Example : false | boolean |
unattendedDelivery optional | Indicate if shipment can be delivered unattended Example : false | boolean |
user optional | Shipment user | string |
validationResults optional | Indicate if shipment data is valid | ValidationResults |
withheld optional | Indicates that the shipment in on hold Example : false | boolean |
ShippingRule
Name | Schema | |
---|---|---|
amount optional | number | |
bookingParams optional | < string, string > map | |
carrierId optional | string | |
eta optional | string | |
logo optional | string | |
name optional | string | |
serviceId optional | string | |
shippingRuleId optional | string | |
transitTimeEarliest optional | integer (int32) | |
transitTimeLatest optional | integer (int32)${swagger.model.shipment.consolidation.customer_carrier _account_code} | string |
pickType optional | Pick type | string |
receiverCode optional | ${swagger.model.shipment.consolidation.receiver_code} | string |
senderCode optional | Shipment sender code | string |
Address
Name | Description | Schema |
---|---|---|
addressLine1 optional | Address line 1 | string |
addressLine2 optional | Address line 2 | string |
company optional | Address company | string |
customerCarrierAccountCode optional | string | |
optional | Address email | string |
firstName optional | Address first name | string |
lastName optional | Address last name | string |
latitude optional | ${swagger.model.address.latitude} | number (double) |
location optional | Address location | Location |
longitude optional | ${swagger.model.address.longitude} | number (double) |
phone optional | Address phone number | string |
receiverCode optional | string | |
senderCode optional | string |