Update Shipping Container

Overview

This endpoint can be used to update data of existing shipping container

In order to consume the endpoint you must:

  • Be authenticated user

For information on how you can authenticate, see: Authentication

As soon as you do authentication and receive a valid token, it needs to be passed to the call.

Endpoint

Example for such endpoint for TT server is:

https://tt.api.sellercloud.com/rest/api/ShippingContainers/{id}

For your server endpoint will be:

https://{your_server_id}.api.sellercloud.com/rest/api/ShippingContainers/{id}

Request

 

  • Method Type: HttpPut
  • Authorization: Use Bearer Token + token received from token authentication
  • Header info: Content-Type: application/json

Body:

ParameterData TypeDescriptionIs Required
GeneralDetails.ContainerNamestringName of the shipping container

Pass null or omit in the request if no update of this field is needed.

No
GeneralDetails.EstimatedArrivalDateDatetimeEstimated arrival date

Pass null or omit in the request if no update of this field is needed.

No
GeneralDetails.ReceivingWarehouseIDIntegerID of warehouse to set as receiving

Pass null or omit in the request if no update of this field is needed.

No
GeneralDetails.ReceivingWarehouseBinIDIntegerID of warehouse bin to set as receiving

Pass null or omit in the request if no update of this field is needed.

No
GeneralDetails.ShippingStatusEnumShipping Status

Possible values can be found here: https://sellercloud.com/developer/dev-category/resources/

Pass null or omit in the request if no update of this field is needed.

No
GeneralDetails.ContainerStatusEnumContainer Status

Possible values can be found here: https://sellercloud.com/developer/dev-category/resources/

Pass null or omit in the request if no update of this field is needed.

No
GeneralDetails.InvoiceNumberStringInvoice Number

Pass null or omit in the request if no update of this field is needed.

No
GeneralDetails.OrderSourceSPONumberStringOrder Source/SPO #

Pass null or omit in the request if no update of this field is needed.

No
VesselInfo.VesselNumberStringVessel Number

Pass null or omit in the request if no update of this field is needed.

No
VesselInfo.ShippedOnDateDatetimeShipped on date

Pass null or omit in the request if no update of this field is needed.

No
VesselInfo.ETAPortDateDatetimeETA Port date

Pass null or omit in the request if no update of this field is needed.

No
VesselInfo.ShippingCostDecimalShipping cost

Pass null or omit in the request if no update of this field is needed.

No
VesselInfo.PortNameStringPort name

Pass null or omit in the request if no update of this field is needed.

No

Response

  • If user is authenticated and the request is successful, then response will be Status Code 200 => OK
  • If user is not authenticated, then response will be Status Code 401 => Not Valid Token
  • In case of error, response will be Status Code 500 => Internal Server Error

 

Was this article helpful?

Next
Shipping Container Shipping Status