Skip to content

Partial update product

Request

Security
bearerAuth and apiKeyAuth
Query
productIdstring

Sprinklr product id

externalProductIdstring

External source product id

Bodyapplication/jsonrequired
delistedboolean

Whether product is delisted

titlestring

Title of the product

descriptionstring

Description of the product

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

Manufacturer 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

Product Group id

catalogIdsArray of strings

Catalog ids

categoryIdsArray of strings

Category ids

attachmentany(Attachment)
workflowobject(Workflow)

Workflow properties attached to the product

curl -i -X PATCH \
  '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 '{
    "delisted": true,
    "title": "string",
    "description": "string",
    "link": "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",
    "catalogIds": [
      "string"
    ],
    "categoryIds": [
      "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"
    }
  }'

Responses

Success

Bodyapplication/json
string(AssigneeType)
Response
"string"