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

Upsert Attributes

POST

/{tenantId}/v1/attributes

Upserts the input attributes for the specified tenant asynchronously.

Request URL
https://api.watsoncommerce.ibm.com/catalog/{tenantId}/v1/attributes
Parameters
Name
Description
  • tenantId
    REQUIRED
    string
    (path)

    The tenant ID provided by IBM.

  • Content-type
    string
    (header)
    application/json
  • Accept
    string
    (header)
    application/json
  • Request body
    Responses
    • 202

      Attributes will be upserted

    • 400

      invalid input. Possible cause/s- itemAttributeName value missing, itemAttributeGroupPath value missing, dataType value missing, Invalid dataType, Definition cannot be altered for Attribute that is already associated to items/categories

    Code snippet
      1curl --request POST \
      2  --url https://api.watsoncommerce.ibm.com/catalog/REPLACE_TENANTID/v1/attributes \
      3  --header 'accept: application/json' \
      4  --header 'content-type: application/json' \
      5  --data REPLACE_REQUEST_BODY
      

        Example response

          Attributes will be upserted