Manage Digital Plan Product

View as Markdown
This API allows you to take an existing standard product and configure it into a valid digital plan product or to manage an existing configuration.

Authentication

x-api-keystring
API Key authentication via header

Path parameters

product_idstringRequiredDefaults to Merchant product id

Request

This endpoint expects an object.
createlist of objectsOptional
Add new resource grants for your digital plan product
updatelist of objectsOptional
Update existing resource grants for product
deletelist of stringsOptional

Delete existing resource grants with public ids to be deleted , ex: [“85eae83c245111eeb185acde48001122”,“b3928a0c3c4211eeac2bacde48001122”]

identifier_time_amountstringOptionalDefaults to product.every * product.every_period

This is the time_amount for the identifier resource grant in seconds

identifier_grace_periodstringOptional

This is the grace_period for the identifier resource grant in seconds

Response

200

Errors

400
Bad Request Error