Skip to main content

Create a note

POST 

https://api.freemius.com/v1/products/{product_id}/coupons/{coupon_id}/note.json

Auth:Bearer TokenSCOPE: PRODUCT

Product-scoped API tokens allow you to operate on the product itself. This token usually allows read-only access to the product configuration and write access to several operations on subscriptions, customers, payments, and more. For most SaaS or app integrations, this is the token you will need.

  1. Go to the Freemius Developer Dashboard.
  2. Open the Settings page of the relevant product.
  3. Click the API & Keys tab.
  4. Copy the API Bearer Authorization Token from the UI.

Create a new note for a coupon.

Request

Path Parameters

    product_id integer<int64>required

    The ID of the product.

    Possible values: >= 1

    Example: 1234
    coupon_id integer<int64>required

    The ID of the coupon.

    Possible values: >= 1

    Example: 1234

Body

    notestring
    Example: This is a note.

Responses

The note was added to the coupon.

Schema
idstring<int64>

The unique identifier of the entity.

Possible values: >= 1

Example: 123456
createdstring<date-time>

The date and time the entity was created, under UTC timezone.

Example: 2025-01-01 00:00:00
updatedstring<date-time>nullable

The date and time the entity was updated, under UTC timezone. If null then the entity was never updated since its creation.

Example: 2025-01-01 00:00:00
scope_entity_idinteger

The ID of the scope entity that this note is associated with.

Example: 12345
scope_entity_typestring

The type of the scope entity that this note is associated with.

Possible values: [plugin, store]

entity_idinteger

The ID of the entity that this note is associated with.

Example: 12345
entity_typestring

The type of the entity that this note is associated with.

Possible values: [coupon, user, payment, subscription, license]

notestring

The note.

Example: This is a note
We use essential cookies to enable our site to function. With your consent, we also use analytics and advertising cookies to understand how visitors interact with our site and to improve our services.
Learn More