novinzodevelopers
Your store's APIApps referenceReseller catalog

Preview Pricing

POST/admin/pricing/preview

What one reseller would pay for these lines right now.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

membershipId*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})$
lines*array<>
Items1 <= items <= 20

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/admin/pricing/preview" \  -H "Content-Type: application/json" \  -d '{    "membershipId": "string",    "lines": [      {        "skuId": "string",        "quantity": 1      }    ]  }'
{  "lines": [    {      "skuId": "string",      "name": "string",      "quantity": 1,      "listUnitMinor": 0,      "unitPriceMinor": 0,      "lineTotalMinor": 0,      "promotionBps": 0,      "bracketBps": 0    }  ],  "totalMinor": 0}