Update Plan
/api/price-adjustmentUpdate the Price Adjustment Plan: replace caller's items, re-sign, return new PAPL JWT.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/price-adjustment" \ -H "Content-Type: application/json" \ -d '{ "cart": { "items": [ { "variantId": "string", "productName": "string", "variantName": "string", "pricePerUnitWhenAdded": { "amountMinorUnits": "string", "currency": "AED" }, "pricePerUnit": { "amountMinorUnits": "string", "currency": "AED" }, "quantity": 1, "imageUrl": "string", "addedAt": "string" } ] }, "instructions": [ { "type": "discount", "actorAdjustmentId": "string", "metadata": {}, "amountInMinorUnits": "string" } ] }'"string"List GET
The ways to pay the store has connected and enabled, oldest first: each connection's id, its provider and the name the seller knows it by. A disabled or removed connection is left out, and so is store credit, which a buyer pays with only from a balance of their own. No credential or account detail of any connection. Scoped to the store the invocation token forwarded in x-novinzo-plugin-invocation was minted for. Requires the store to have granted the plugin payments:read.
Deliver Variant PUT
Records that the calling plugin delivers this variant of the store, and whether it ships it to the buyer's address. Idempotent: the record exists once however often it is called, and holds the latest `ships`. Refused while the seller delivers the variant by webhook, which delivers it alone, and, for a delivery that ships, while a plugin owns the variant's stock.
