RapidAPI logo

Gumroad

FREE
By zakutynsky
Updated 6 months ago
eCommerce
-/10
Popularity Score
-
Latency
-
Success Rate

Gumroad API Documentation

Gumroad helps creators take control of their creative careers.

View API Details
POSTcreateProductCustomField
POSTcreateProductOfferCode
POSTcreateProductVariantCategory
POSTcreateProductVariant
POSTdeleteProductCustomField
POSTdeleteProductOfferCode
POSTdeleteProductVariantCategory
POSTdeleteProductVariant
POSTdeleteSingleProduct
POSTdisableSingleProduct
POSTenableSingleProduct
POSTgetProductActiveSubscribers
POSTgetProductCustomFields
POSTgetProductOfferCodes
POSTgetProductSingleSubscriber
POSTgetProductSingleVariantCategory
POSTgetProductVariantCategories
POSTgetSingleProduct
POSTgetSingleProductOfferCode
POSTgetSingleProductVariant
POSTgetUser
POSTgetUserProducts
POSTgetUserSingleSale
POSTgetUserSubscriptions
POSTgetUserSucessfulSales
POSTgetVariantsInVariantCategory
POSTsubscribeToResource
POSTunsubscribeFromResource
POSTupdateProductCustomField
POSTupdateProductOfferCode
POSTupdateProductVariantCategory
POSTupdateProductVariant
POSTcreateProductCustomField

Create a new custom field for a product.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
requiredBOOLEAN
REQUIREDtrue or false.
idSTRING
REQUIREDId of the product.
nameSTRING
REQUIREDField name.
accessTokenCREDENTIALS
REQUIREDYour application's access token.
Code Snippet
unirest.post("https://GumroadzakutynskyV1.p.rapidapi.com/createProductCustomField")
.header("X-RapidAPI-Host", "GumroadzakutynskyV1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://GumroadzakutynskyV1.p.rapidapi.com/createProductCustomField
Request Method: POST
Response Headers
Response Body

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.post("https://GumroadzakutynskyV1.p.rapidapi.com/createProductCustomField")
.header("X-RapidAPI-Host", "GumroadzakutynskyV1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication