products

Create a new product

Creates a new product for the organization. Products are created without pricing: to create product attributes and set their pricing, call the update product endpoint (updateProductById / updateProductByExternalId), which upserts productAttributes.

post/products/

Request

  • Base URL: https://api.agentpaid.io/api/v2
  • URL: https://api.agentpaid.io/api/v2/products/
  • Auth: HTTP bearer

Request body

namestring required
descriptionstring nullable
activeboolean
productCodestring nullable
externalIdstring nullable
metadataobject nullable

Response

201

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.