Skip to content

Update product

Request

Security
bearerAuth and apiKeyAuth
Query
productIdstring

Sprinklr product id

externalProductIdstring

External source product id

Bodyapplication/jsonrequired
idstring

Unique identifier of the Product in sprinklr

sourceobjectrequired

Details of the product source

catalogIdsArray of strings

Unique identifiers of the catalogs in which the product belongs in sprinklr

categoryIdsArray of strings

Set of categories the product belongs to

titlestring

Title of the product

descriptionstring

Description of the product

priceobject(Price)

Describes the schema for price.

standardPricenumber, (double)

Standard price of the product

sellingPricenumber, (double)

Selling price of the product

currencystring

Currency of specified price

availabilitystring

Availability status of product

inventoryinteger, (int32)

Inventory amount of product

gtinstring

GTIN number of product

mpnstring

Manufaturer part number of product

brandstring

Brand name of product

retailerIdstring

Retailer Id of product

specificationobject

Attributes that distinguish a product from its variants.

subSpecificationobject

Attributes that add subSpecification for a specification.

skustring
groupIdstring
attachmentany(Attachment)
workflowobject(Workflow)

Workflow properties attached to the product

delistedboolean

Whether product is delisted or not

sourceTypestringrequired

Source type of the product source

sourceIdstring

Source id of the product source

sourceProductIdstringrequired

Unique identifier of product from product source

channelTypestring

Channel of the source

curl -i -X PUT \
  'https://api3.sprinklr.com/prod/api/v3/product?productId=string&externalProductId=string' \
  -H 'Authorization: Bearer <YOUR_Token_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'Key: YOUR_API_KEY_HERE' \
  -d '{
    "id": "string",
    "source": {},
    "catalogIds": [
      "string"
    ],
    "categoryIds": [
      "string"
    ],
    "title": "string",
    "description": "string",
    "link": "string",
    "price": {
      "value": 0.1,
      "currency": "string"
    },
    "standardPrice": 0.1,
    "sellingPrice": 0.1,
    "currency": "string",
    "availability": "string",
    "inventory": 0,
    "gtin": "string",
    "mpn": "string",
    "brand": "string",
    "retailerId": "string",
    "specification": {
      "property1": "string",
      "property2": "string"
    },
    "subSpecification": {
      "property1": {},
      "property2": {}
    },
    "sku": "string",
    "groupId": "string",
    "attachment": {
      "type": "IMAGE",
      "assetId": "string",
      "attachmentOptions": [
        {
          "channelType": "FACEBOOK",
          "accountId": 0,
          "embeddable": true,
          "category": "string",
          "noStory": true,
          "secret": true,
          "blockSocialActions": true,
          "expirationEnabled": true,
          "expirationDate": 0,
          "deletePost": true
        }
      ],
      "url": "string",
      "urlHash": "string",
      "title": "string",
      "description": "string",
      "previewUrl": "string",
      "hashedPreviewUrl": "string",
      "mimeType": "string",
      "alternateText": "string",
      "height": 0.1,
      "width": 0.1,
      "encryptedUrl": "string",
      "sizeInBytes": 0
    },
    "workflow": {
      "assignment": {
        "assigneeId": "string",
        "assigneeType": "string",
        "assignedById": 0,
        "assignmentTime": 0
      },
      "modifiedTime": 0,
      "customProperties": {
        "property1": [
          "string"
        ],
        "property2": [
          "string"
        ]
      },
      "queues": [
        {
          "queueId": 0,
          "assignmentTime": 0
        }
      ],
      "spaceWorkflows": [
        {
          "spaceId": "string",
          "modifiedTime": 0,
          "customProperties": {
            "property1": [
              "string"
            ],
            "property2": [
              "string"
            ]
          },
          "queues": [
            {
              "queueId": 0,
              "assignmentTime": 0
            }
          ]
        }
      ],
      "campaignId": "string"
    },
    "delisted": true,
    "sourceType": "string",
    "sourceId": "string",
    "sourceProductId": "string",
    "channelType": "string"
  }'

Responses

Success

Bodyapplication/json
string(AssigneeType)
Response
"string"