Update a resource operation

Update details about a resource operation. You can change the operation's name, method, purpose, and more.

Path Params
integer
required

Identifies an endpoint.

integer
required

The endpoint's version.

integer
required

Identifies a resource.

string
required
length between 36 and 36

Identifies an operation.

Query Params
string

For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys.

Body Params
integer
required

Identifies the API resource.

array of objects | null

Specify the parameter values to match with.

conditions
array of objects or null | null

Specify conditions to capture data on unsuccessful attempts to use the resource. You can set up failure reporting for every operation type except SEARCH and ADD_TO_CART.

failureConditions
string
required

HTTP method used to call the resource. Choose either HEAD, GET, POST, PUT, DELETE, PATCH, or OPTIONS.

boolean | null

Identifies multifactor authenticated operations. It's valid only for PASSWORD_RESET and LOGIN operations.

string | null

Identifies the multistep group.

string
required
length ≥ 1

The name of the operation. Use the same name you gave to the resource if you only specify one operation.

object | null

Collects data for operation parameters defined when the resource was created.

string
required

The task this operation serves. Choose either LOGIN, ACCOUNT_UPDATE, ACCOUNT_VERIFICATION, ACCOUNT_CREATION, PASSWORD_CHANGE, PASSWORD_RESET, PAYMENT, GIFTCARD_BALANCE_CHECK, LOYALTY_POINTS, SEARCH, or ADD_TO_CART. See Operation purposes for details.

object | null

Collects data for response conditions.

array of objects or null | null

Specify conditions to capture data on successful attempts to use the resource. You can set up success reporting for every operation type except SEARCH and ADD_TO_CART. This is allowed only for operations in a multistep group.

stepSuccessConditions
array of objects or null | null

Specify conditions to capture data on successful attempts to use the resource. You can set up success reporting for every operation type except SEARCH and ADD_TO_CART.

successConditions
Responses

Response body
object
integer
required

Identifies the API resource.

array of objects | null

Specify the parameter values to match with.

conditions
object
integer
required

Identifies the API parameter.

arrayIndexes
array of objects

Indexes for corresponding array parameters to find the data parameter.

arrayIndexes
object
int64
required

Identifies the parameter.

integer
required

The location of the parameter's data within the array.

boolean | null

Indicates if the value matches the specified parameter value.

string | null
deprecated

The parameter value to match with.

array of strings | null

The parameter values to match with.

values
array of objects or null | null

Specify conditions to capture data on unsuccessful attempts to use the resource. You can set up failure reporting for every operation type except SEARCH and ADD_TO_CART.

failureConditions
object | null
string

Specify the header's name. Only applicable for HEADER_* types.

boolean | null

Enable to match on the condition.

boolean

Enable to not send the response header to the requesting client. Only applicable for HEADER_* types.

string
required

Specify the type of condition you want to match on. These conditions capture data on successful and unsuccessful attempts to use the resource. Choose COOKIE_NAME, HEADER_VALUE, HEADER_VALUE_GREATER_THAN, HEADER_VALUE_LESS_THAN, HEADER_VALUE_BETWEEN, HTTP_STATUS, HEADER_NAME, BODY_XPATH, or BODY_XPATH_JSON.

COOKIE_NAME HEADER_VALUE HEADER_VALUE_GREATER_THAN HEADER_VALUE_LESS_THAN HEADER_VALUE_BETWEEN HTTP_STATUS HEADER_NAME BODY_XPATH BODY_XPATH_JSON

boolean | null

Whether to consider the case sensitivity of the provided values. Only applicable for HEADER_VALUE, COOKIE_NAME, BODY_XPATH and BODY_XPATH_JSON.

boolean | null

Whether to interpret * and ? as wildcards. Only applicable for HEADER_VALUE, BODY_XPATH and BODY_XPATH_JSON.

array of strings | null

Values to match on. The list length can't exceed 1, unless the type is either HTTP_STATUS, COOKIE_NAME, or HEADER_VALUE_BETWEEN. If the type is HEADER_VALUE_BETWEEN, the length needs to be 2.

values
string | null

A path in the response body to search at for a match. Only applicable for BODY_XPATH and BODY_XPATH_JSON.

string
required

HTTP method used to call the resource. Choose either HEAD, GET, POST, PUT, DELETE, PATCH, or OPTIONS.

HEAD GET POST PUT DELETE PATCH OPTIONS

boolean | null

Identifies multifactor authenticated operations. It's valid only for PASSWORD_RESET and LOGIN operations.

string | null

Identifies the multistep group.

string

Read-only Identifies the operation.

string
required
length ≥ 1

The name of the operation. Use the same name you gave to the resource if you only specify one operation.

object | null

Collects data for operation parameters defined when the resource was created.

userEmail
object

If the operationPurpose is ACCOUNT_CREATION or PAYMENT, specify the apiParameterId you defined when you created the resource.

Has additional fields
userFirstName
object

If the operationPurpose is ACCOUNT_CREATION, specify the apiParameterId you defined when you created the resource.

Has additional fields
userLastName
object

If the operationPurpose is ACCOUNT_CREATION, specify the apiParameterId you defined when you created the resource.

Has additional fields
userOtherId
object

If the operationPurpose is ACCOUNT_CREATION, specify the apiParameterId you defined when you created the resource.

Has additional fields
userPhoneNumber
object

If the operationPurpose is ACCOUNT_CREATION or PAYMENT, specify the apiParameterId you defined when you created the resource.

Has additional fields
username
object

If the operationPurpose supports a username, specify the apiParameterId you defined when you created the resource. Required for LOGIN, ACCOUNT_VERIFICATION, and PASSWORD RESET.

Has additional fields
string
required

The task this operation serves. Choose either LOGIN, ACCOUNT_UPDATE, ACCOUNT_VERIFICATION, ACCOUNT_CREATION, PASSWORD_CHANGE, PASSWORD_RESET, PAYMENT, GIFTCARD_BALANCE_CHECK, LOYALTY_POINTS, SEARCH, or ADD_TO_CART. See Operation purposes for details.

LOGIN ACCOUNT_UPDATE ACCOUNT_VERIFICATION ACCOUNT_CREATION PASSWORD_CHANGE PASSWORD_RESET PAYMENT GIFTCARD_BALANCE_CHECK LOYALTY_POINTS SEARCH ADD_TO_CART CHECK_STATUS

object | null

Collects data for response conditions.

string

Specify the header's name. Only applicable for HEADER_* types.

boolean | null

Enable to match on the condition.

boolean

Enable to not send the response header to the requesting client. Only applicable for HEADER_* types.

string
required

Specify the type of condition you want to match on. These conditions capture data on successful and unsuccessful attempts to use the resource. Choose COOKIE_NAME, HEADER_VALUE, HEADER_VALUE_GREATER_THAN, HEADER_VALUE_LESS_THAN, HEADER_VALUE_BETWEEN, HTTP_STATUS, HEADER_NAME, BODY_XPATH, or BODY_XPATH_JSON.

COOKIE_NAME HEADER_VALUE HEADER_VALUE_GREATER_THAN HEADER_VALUE_LESS_THAN HEADER_VALUE_BETWEEN HTTP_STATUS HEADER_NAME BODY_XPATH BODY_XPATH_JSON

boolean | null

Whether to consider the case sensitivity of the provided values. Only applicable for HEADER_VALUE, COOKIE_NAME, BODY_XPATH and BODY_XPATH_JSON.

boolean | null

Whether to interpret * and ? as wildcards. Only applicable for HEADER_VALUE, BODY_XPATH and BODY_XPATH_JSON.

array of strings | null

Values to match on. The list length can't exceed 1, unless the type is either HTTP_STATUS, COOKIE_NAME, or HEADER_VALUE_BETWEEN. If the type is HEADER_VALUE_BETWEEN, the length needs to be 2.

values
string | null

A path in the response body to search at for a match. Only applicable for BODY_XPATH and BODY_XPATH_JSON.

array of objects or null | null

Specify conditions to capture data on successful attempts to use the resource. You can set up success reporting for every operation type except SEARCH and ADD_TO_CART. This is allowed only for operations in a multistep group.

stepSuccessConditions
object | null
string

Specify the header's name. Only applicable for HEADER_* types.

boolean | null

Enable to match on the condition.

boolean

Enable to not send the response header to the requesting client. Only applicable for HEADER_* types.

string
required

Specify the type of condition you want to match on. These conditions capture data on successful and unsuccessful attempts to use the resource. Choose COOKIE_NAME, HEADER_VALUE, HEADER_VALUE_GREATER_THAN, HEADER_VALUE_LESS_THAN, HEADER_VALUE_BETWEEN, HTTP_STATUS, HEADER_NAME, BODY_XPATH, or BODY_XPATH_JSON.

COOKIE_NAME HEADER_VALUE HEADER_VALUE_GREATER_THAN HEADER_VALUE_LESS_THAN HEADER_VALUE_BETWEEN HTTP_STATUS HEADER_NAME BODY_XPATH BODY_XPATH_JSON

boolean | null

Whether to consider the case sensitivity of the provided values. Only applicable for HEADER_VALUE, COOKIE_NAME, BODY_XPATH and BODY_XPATH_JSON.

boolean | null

Whether to interpret * and ? as wildcards. Only applicable for HEADER_VALUE, BODY_XPATH and BODY_XPATH_JSON.

array of strings | null

Values to match on. The list length can't exceed 1, unless the type is either HTTP_STATUS, COOKIE_NAME, or HEADER_VALUE_BETWEEN. If the type is HEADER_VALUE_BETWEEN, the length needs to be 2.

values
string | null

A path in the response body to search at for a match. Only applicable for BODY_XPATH and BODY_XPATH_JSON.

array of objects or null | null

Specify conditions to capture data on successful attempts to use the resource. You can set up success reporting for every operation type except SEARCH and ADD_TO_CART.

successConditions
object | null
string

Specify the header's name. Only applicable for HEADER_* types.

boolean | null

Enable to match on the condition.

boolean

Enable to not send the response header to the requesting client. Only applicable for HEADER_* types.

string
required

Specify the type of condition you want to match on. These conditions capture data on successful and unsuccessful attempts to use the resource. Choose COOKIE_NAME, HEADER_VALUE, HEADER_VALUE_GREATER_THAN, HEADER_VALUE_LESS_THAN, HEADER_VALUE_BETWEEN, HTTP_STATUS, HEADER_NAME, BODY_XPATH, or BODY_XPATH_JSON.

COOKIE_NAME HEADER_VALUE HEADER_VALUE_GREATER_THAN HEADER_VALUE_LESS_THAN HEADER_VALUE_BETWEEN HTTP_STATUS HEADER_NAME BODY_XPATH BODY_XPATH_JSON

boolean | null

Whether to consider the case sensitivity of the provided values. Only applicable for HEADER_VALUE, COOKIE_NAME, BODY_XPATH and BODY_XPATH_JSON.

boolean | null

Whether to interpret * and ? as wildcards. Only applicable for HEADER_VALUE, BODY_XPATH and BODY_XPATH_JSON.

array of strings | null

Values to match on. The list length can't exceed 1, unless the type is either HTTP_STATUS, COOKIE_NAME, or HEADER_VALUE_BETWEEN. If the type is HEADER_VALUE_BETWEEN, the length needs to be 2.

values
string | null

A path in the response body to search at for a match. Only applicable for BODY_XPATH and BODY_XPATH_JSON.

Language
Authentication
URL