novinzodevelopers
API referencePlugin contractFunctions

Verify Price Adjustment

POST/functions/verify-price-adjustment

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

action*|
items*array<>
buyerInputs?array<>
storeId*string
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$

Response Body

application/json

application/json

curl -X POST "https://example.com/functions/verify-price-adjustment" \  -H "Content-Type: application/json" \  -d '{    "action": {      "_tag": "cart-changed"    },    "items": [      {        "amount": "string",        "adjustmentId": "string",        "metadata": {}      }    ],    "storeId": "string"  }'
{  "ok": true}