Skip to main content
POST
/
products
/
bulk-update
/
edit
Bulk Edit Products and Prices
curl --request POST \
  --url https://services.leadconnectorhq.com/products/bulk-update/edit \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'Version: <version>' \
  --data '
{
  "altId": "6578278e879ad2646715ba9c",
  "altType": "location",
  "products": [
    {
      "_id": "64a1b2c3d4e5f67890123456",
      "name": "Premium Product",
      "description": "A high-quality premium product with excellent features and durability",
      "image": "https://example.com/product-image.jpg",
      "availableInStore": true,
      "prices": [
        {
          "_id": "64a1b2c3d4e5f67890123456",
          "name": "Standard Plan",
          "amount": 99.99,
          "currency": "USD",
          "compareAtPrice": 129.99,
          "availableQuantity": 100,
          "trackInventory": true,
          "allowOutOfStockPurchases": false,
          "sku": "SKU-001",
          "trialPeriod": 7,
          "totalCycles": 12,
          "setupFee": 25,
          "shippingOptions": {
            "weight": {
              "value": 10,
              "unit": "kg"
            },
            "dimensions": {
              "height": 10,
              "width": 10,
              "length": 10,
              "unit": "cm"
            }
          },
          "recurring": {
            "interval": "day",
            "intervalCount": 1
          }
        }
      ],
      "collectionIds": [
        "64a1b2c3d4e5f67890123458",
        "64a1b2c3d4e5f67890123459"
      ],
      "isLabelEnabled": true,
      "isTaxesEnabled": true,
      "seo": {
        "title": "Best Product - Buy Now",
        "description": "This is the best product you can buy online with amazing features and great value"
      },
      "slug": "premium-product",
      "automaticTaxCategoryId": "64a1b2c3d4e5f67890123460",
      "taxInclusive": false,
      "taxes": [
        {}
      ],
      "medias": [
        {}
      ],
      "label": {}
    }
  ]
}
'
{
  "message": "Products updated successfully",
  "status": true,
  "updatedCount": 5
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Version
enum<string>
required

API Version

Available options:
2021-07-28

Body

application/json
altId
string
required

Location Id or Agency Id

Example:

"6578278e879ad2646715ba9c"

altType
enum<string>
required
Available options:
location
products
object[]
required

Array of products to update. Note: The total count includes all prices within each product.

Response

Products and prices updated successfully

message
string
required

Success message

Example:

"Products updated successfully"

status
boolean
required

Operation status

Example:

true

updatedCount
number
required

Number of products updated

Example:

5

Last modified on March 4, 2026