Creates new merchandise.
The ID of the user to use the access token of.
The application client secret. Keep in mind that the secret must be associated with the application that the user has authorized.
The merchandise data to create.
Optional
rateLimiterOptions: RateLimiterRequestOptionsRate limiter options.
HttpError if response status code is out of 200-299 range.
UnregisteredUserError if the user you are trying to get is not registered in authentication provider.
Creates new merchandise sale alert.
DonationAlerts' user ID to which this merchandise sale referenced.
The application client secret.
Keep in mind that the secret must be associated with the application that the user has authorized.
DonationAlerts' sale alert data.
Optional
rateLimiterOptions: RateLimiterRequestOptionsRate limiter options.
HttpError if response status code is out of 200-299 range.
UnregisteredUserError if the user you are trying to get is not registered in authentication provider.
Updates merchandise.
The ID of the user to use the access token of.
The application client secret.
Keep in mind that the secret must be associated with the application that the user has authorized.
The ID of the merchandise.
The merchandise data to create.
Optional
rateLimiterOptions: RateLimiterRequestOptionsRate limiter options.
HttpError if response status code is out of 200-299 range.
UnregisteredUserError if the user you are trying to get is not registered in authentication provider.
Generated using TypeDoc
The Merchandises API is a set of the API methods that allow the merchant to sell their merchandise via DonationAlerts' streamers using a revenue sharing model. Using provided API methods it's possible to create and update merchandises, and to notify DonationAlerts when new sale occurs.
Please note that the access to this API is given as per request. For more details about integration contact us via business@donationalerts.com.