Shipping Accounts

Get Associated Location

Provides information for a specific shipping location linked to a Starlinks Global shipping account including location alias, timezone, address, when it was last updated, and by who.

get/v4/shippingAccounts/starlinks/{shippingAccountId}/shippingLocations/{shippingLocationId}

Request

  • Base URL
    https://api.intersoftsapient.net
  • URL
    https://api.intersoftsapient.net/v4/shippingAccounts/starlinks/{shippingAccountId}/shippingLocations/{shippingLocationId}
  • Auth
    OAuth 2
    Client credentials
    Token URL: https://authentication.intersoftsapient.net/connect/token

Path parameters

shippingAccountIdstring required

Shipping Account Identifier <br />SAPIENT Shipping Account Id (assigned by SAPIENT) or Alias (assigned by you).

shippingLocationIdstring required

Shipping Location Identifier <br />SAPIENT Shipping Location Id (assigned by SAPIENT) or Alias (assigned by you).

Response

Returns the associated shipping location

ShippingLocationIdstring uuid required

A unique identifier assigned to the shipping location by the system (shippingLocationId). This ID is used to distinguish between different shipping locations within the system, facilitating, referencing and operations, such as updates, deletions, or specific queries related to that location.

LocationAliasstring required

A unique user-defined identifier for the shipping location, providing a convenient way to identify it, for example, Home or Warehouse.

IsDefaultLocationboolean required

A boolean value indicating whether the shipping location is set as the default for shipping operations, streamlining the selection process during shipments. <br /> <br />If the location is set as the default one, the customers no longer need to specify the location for every shipment request, reducing the risk of errors and delays. It enhances consistency by ensuring that all shipments are directed to the same default location. <br /> <br />Note: If true, then this location is set as the default one. Otherwise, it is set to false.

Timezonestring required

The timezone in which the shipping location is located, important for scheduling and logistical considerations.

LastUpdatedDateUtcstring date-time required

A timestamp indicating the last time the shipping location details were updated, formatted in Coordinated Universal Time (UTC).

LastUpdatedBystring required

The identifier (such as a username or system account) of the individual or system that last modified the shipping location information, ensuring accountability.

Example response

{
  "LocationAlias": "Main Warehouse",
  "Timezone": "Europe/London",
  "LastUpdatedDateUtc": "2022-02-06T16:13:24.010Z",
  "LastUpdatedBy": "User A",
  "Address": {
    "Line1": "Brown Cottage",
    "Line2": "Brown Cottage",
    "Town": "Christchurch",
    "Postcode": "TW20 0HJ",
    "County": "Surrey",
    "CountryCode": "GB",
    "What3Words": "brick.space.employ",
    "ContactPhone": "07123887422"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.