Mass Edit a Manual Price List Items

post/manualpricelistmanager.massedit/{id}

Performs a mass update operation on products in the specified Manual Price List.

Securitybasic or X-PriceFx-jwt
Request
path Parameters
id
required
string

The ID of the Manual Price List whose products you want to update.

Request Body schema: application/json
required
object
required
object
_constructor
required
string non-empty
operator
required
string non-empty
required
Array of objects non-empty unique
Array (non-empty)
fieldName
required
string non-empty
operator
required
string non-empty
value
required
Array of strings

Specify ids of the items you want to update.

_constructor
required
string non-empty
required
Array of objects non-empty unique
Array (non-empty)
fieldName
required
string non-empty

The name of the field you want to update.

massEditOperator
required
string non-empty

Can be either one of these valid operators: + - * If omitted, the provided value is set (= operator). Otherwise the specified operation is applied.

fieldValue
required
string non-empty

The new value of the field. If omitted, the field is set to null.

precision
any
Responses
200

OK

Response Schema: application/json
object
node
string non-empty
data
Array of strings

A single item array with a string that represents the number of rows changed.

status
number
Request samples
application/json
{
  • "data": {
    • "filterCriteria": {
      • "_constructor": "AdvancedCriteria",
      • "operator": "and",
      • "criteria": [
        • {
          }
        ]
      },
    • "massEditRecords": [
      • {
        • "fieldName": "currency",
        • "massEditOperator": "=",
        • "fieldValue": "USD",
        • "precision": null
        }
      ]
    }
}
Response samples
application/json
{
  • "response": {
    • "node": "string",
    • "data": [
      • "string"
      ],
    • "status": 0
    }
}