get https://{shopdomain}.myshoplaza.com/openapi/2024-07/function/cart-transform/
Requires
read_cart_transform
access scope.
This Cart Transform Function List retrieves the current function bound to the cart price adjustment process in a store. It can be used for monitoring and debugging.
Request Parameters
Public Request Parameters
Response Explanation
Public Response Parameters
Successful Response
Parameter | Type | Required | Description |
---|---|---|---|
code | string | Yes | Response status code, "SUCCESS" if successful |
message | string | Yes | Response message, "SUCCESS" if successful |
data | object | Yes | Contains response data |
count | uint64 | Yes | Total number of records |
cart-transforms | array of object | Yes | List of cart-transform bindings |
CartTransform Object
Parameter | Type | Required | Description |
---|---|---|---|
id | string | Yes | Unique identifier for the cart price adjustment function |
function_id | string | Yes | The function ID linked to the cart price adjustment |
block_on_failure | object | Yes | Determines whether the failure of the function should block the cart and checkout process |
Error Response
Field | Type | Description | Example |
---|---|---|---|
code | string | The error code indicating the type of issue. | InvalidParameter |
message | string | A detailed message describing the error. | wrong cursor |