In this guide, I will tell you in short how to calculate prices for basic products, such as shirts, long sleeves or hoodies with text or designs on it.
A product is always based on a product type, such as a shirt. A product also has one or more text or design configurations that define on which print area Spreadshirt shall print text or designs with a specific print type, such as flock, flex or digital, and with specific print colors, such as black, red, or white, for non digital print types.
Product types, print types and print colors have shop specific prices. Designs may have a design commission adjusted by the owner of the design. Please note that when working in a shop context, e.g. ...api/v1/shops/205909/..., all prices are returned in the adjusted shop currency.
Knowing the basics, the price calculation is quite simple as illustrated below:
In our example, we want to create a product based on product type 6 with an I heart design printed with print type 14 (flex). We print the design with flex print and the two print colors black (13) and red (20).