Attach a catalog to a plan

View as Markdown

Attaches a published pricing catalog to a plan with a pricing rule: pass_through (cost tracking only) or cost_plus (bill cost times a markup multiplier). A catalog can only be attached to a plan once.

Authentication

AuthorizationBearer
API key obtained from the Grant dashboard

Path parameters

idstringRequiredformat: "cuid"

Request

This endpoint expects an object.
catalog_idstringRequiredformat: "cuid"
Published catalog to attach
pricingobjectRequired

Response

Catalog attached
successboolean
plan_catalogobject
request_idstring

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
409
Conflict Error
500
Internal Server Error