Products – Print Ready Products
“Print Ready Products” (PRPs) are SKUs in which the user has already attached an image to a Gooten SKU. For example, a 10x10 canvas with a pre-selected 3000x3000 image would be an example of a PRP. Therefore, PRPs are entirely orderable items; there is no customization left to be done.
PRPs can have the same product -> variant relationship as Gooten products (or Shopify products); multiple PRP SKUs can be grouped together under a “product” or name.
So for instance, you may have a PRP product called “Obama T-Shirts,” under which PRP SKUs for small, medium, and large sized PRP SKUs exist.
It’s worth noting that the SKUs returned from the variants endpoint below can be passed into the shipping prices, price estimate, and order submission endpoints.
Listing PRP Products
We can ping an API endpoint that provides you with the list all PRP products. Note that its paging starts at page=1
.
Each API request to the Gooten API must have the RecipeID parameter included in the URL. This is typically used to authenticate to the Gooten API. Please be sure to replace the YourRecipeID
in the example with your proper RecipeID from the Gooten Admin.
Creating a PRP Product
Create a pre-configured product with a Gooten SKU and your artwork design that can be ordered at any time.
Before creating a PRP, you may need to get the template data for the Gooten SKU (like SpaceDescription or SpaceId). To get this information, you can use our Products – List of Product Templates endpoint. Once you have all of the template info, you can create a new PRP.
Each API request to the Gooten API must have the RecipeID parameter included in the URL. This is typically used to authenticate to the Gooten API. Please be sure to replace the YourRecipeID
in the example with your proper RecipeID from the Gooten Admin.
You should create a POST request that contains body data with the following format:
Updating PRP Product
Before updating a PRP, you may need to get the template data for the Gooten SKU (like SpaceDescription or SpaceId). To get this information, you can use our Products – List of Product Templates endpoint. Once you have all of the template info, you can update an existing PRP.
Each API request to the Gooten API must have the RecipeID parameter included in the URL. This is typically used to authenticate to the Gooten API. Please be sure to replace the YourRecipeID
in the example with your proper RecipeID from the Gooten Admin.
To update a PRP product, you would send a request similar to creating a PRP product but instead of using a POST request, you would submit it as a PUT request. You must create a PUT request that contains body data with the following example format:
Deleting PRP Product
Delete a print-ready product from your recipe. This command cannot be undone.
Each API request to the Gooten API must have the RecipeID parameter included in the URL. This is typically used to authenticate to the Gooten API. Please be sure to replace the YourRecipeID
in the example with your proper RecipeID from the Gooten Admin.
Listing PRP Variants
Similar to the one above, you can also get a list of PRP variants. These are orderable SKUs!
The endpoint takes two parameters:
page
- optional - defaults to 1productName
- optional - this is the name of a PRP product from the above endpoint. Passing null/nothing returns all variants for the account
Each API request to the Gooten API must have the RecipeID parameter included in the URL. This is typically used to authenticate to the Gooten API. Please be sure to replace the YourRecipeID
in the example with your proper RecipeID from the Gooten Admin.