products

Update product by external ID

Update a product by external ID. Also creates and edits product attributes: productAttributes upserts attributes and sets their pricing (metering event, price points, credit brackets). This is the endpoint to use to add pricing to a product created without any.

put/products/external/{externalId}

Request

  • Base URL: https://api.agentpaid.io/api/v2
  • URL: https://api.agentpaid.io/api/v2/products/external/{externalId}
  • Auth: HTTP bearer

Path parameters

externalIdstring required

Request body

namestring
descriptionstring nullable
activeboolean
productCodestring nullable
externalIdstring nullable
metadataobject nullable

Response

200

idstring required
namestring required
descriptionstring nullable required
createdAtstring date-time required
updatedAtstring date-time required
activeboolean required
productCodestring nullable required
externalIdstring nullable required
archivedAtstring date-time nullable required
metadataobject nullable required

Changes

No recorded changes to this operation across all 1 revision of this API.