IBM API Hub
IBM Sterling Intelligent Promising APIs

By IBM Sterling Intelligent Promising

IBM Sterling Intelligent Promising is a stand-alone cloud service solution that provides reliable inventory promises at every stage of a shopper's order lifecycle.


API reference

Get carrier details

GET

/cas/{tenantId}/v1/configuration/carriers/{carrierId}

Get details of a carrier based on the carrier identifier.

Request URL
https://api.watsoncommerce.ibm.com/cas/{tenantId}/v1/configuration/carriers/{carrierId}
Parameters
Name
Description
  • tenantId
    REQUIRED
    string
    (path)

    The ID that was provisioned for your account.

    Example: "tenant1"
    Maximum length: 32
  • carrierId
    REQUIRED
    string
    (path)

    The identifier for the carrier

    Example: "DHL"
    Minimum length: 3
    Maximum length: 32
  • Accept
    string
    (header)
    application/json
  • Responses
    • 200

      Success

    • 400

      Could not process erroneous request, retry should not be attempted.

    • 401

      Error authorizing or authenticating the request.

    • 404

      The requested resource was not found.

    • 500

      Server Error. Retry later.

    Code snippet
      1curl --request GET \
      2  --url https://api.watsoncommerce.ibm.com/cas/REPLACE_TENANTID/v1/configuration/carriers/REPLACE_CARRIERID \
      3  --header 'accept: application/json'

        Example response

          1{
          2  "carrierId": "DHL",
          3  "carrierName": "DHL Corporation",
          4  "carrierDescription": "An American multinational shipping & delivery services and supply chain management company.",
          5  "carrierServiceIds": [
          6    "DHLExpress"
          7  ]
          8}