palbaseDocs

Palbase Commerce & Promotions · API

POST/commerce/stores/{store_id}/listings/{listing_id}/license-keys

Import encrypted digital license keys for listing

Import encrypted digital license keys for listing

Called by a signed-in user of your app, with their token and the publishable key; or your server, with the project's secret key.

Path

store_idstring · requiredPath parameter store_id.
listing_idstring · requiredPath parameter listing_id.
curl
curl -X POST "https://<your-ref>.palbase.studio/commerce/stores/<store_id>/listings/<listing_id>/license-keys" \
  -H "apikey: $PALBASE_SECRET_KEY" \
  -H "content-type: application/json" \
  -d '{}'

Responses

201Import encrypted digital license keys for listing

defaultStandard Palbase JSON error envelope (`error` and `error_description`).

Operation SellerImportLicenseKeys of commerce's contract.