Integration Flow
Integrating your Shop with FastEditor is very easy! The process is described step-by-step below.
Your customer selects a product on your website or portal
Your server calls the SmartLink API to generate a session URL and you redirect the user to this URL.
Customer personalizes the product
Customer approves the final design
Customer is redirected back to your Shop
Your server requests the data for the finished project
We share the data for the finished project
Your server adds the finished product to the user's shopping cart
Customer completes checkout on your website
Your server requests the print files for the purchased project
We generate a product-ready print file
We submit the print files and data to your webhook
- 1
Your customer selects a product on your website or portal
The customer visits your Shop, chooses a product they want to personalize, and clicks the "customize" button.
- 2
Your server calls the SmartLink API to generate a session URL and you redirect the user to this URL.
Your Shop calls the FastEditor POST /api/smartlink endpoint with the SKU of the selected product. The SmartLink endpoint returns a personalized editor URL that preserves the user's login status and localization preferences. Your Shop then redirects the user to FastEditor using the received URL.
View Create Smartlink endpointAlternative
Instead of a full-page redirect, you can load the SmartLink URL inside an iFrame rendered as an overlay (modal / lightbox) so the customer never leaves your site. The rest of the flow — including the Add To Cart callback — stays exactly the same. Not sure which fits your Shop? See the side-by-side comparison. Compare overlay vs. redirect - 3
Customer personalizes the product
The customer uses FastEditor to personalize the chosen product. The user can edit, design, and modify the product according to their preferences. They will optionally be presented with a 2D and 3D preview of the product and can be presented with various cross-sell options.
- 4
Customer approves the final design
The user clicks the "add to cart" button in FastEditor, indicating they are done with the personalization of the product.
- 5
Customer is redirected back to your Shop
FastEditor redirects the user to your provided shopping cart URL. A query parameter fe_cart_url is appended to that URL — it represents the URL at which you can make a request for the user's shopping cart content.
Important
Make sure to validate that the domain of the received fe_cart_url ends with the expected value (fasteditor.com). - 6
Your server requests the data for the finished project
Your Shop makes a request to the received URL, which includes a burner token that validates the access to the cart's content. This token will be immediately invalidated after the request, so it can only be used once.
- 7
We share the data for the finished project
The FastEditor API returns the items for your Shop to be added to the user's cart via the Add To Cart callback.
- 8
Your server adds the finished product to the user's shopping cart
Your Shop can now show the cart content to the user and the user proceeds to the checkout.
- 9
Customer completes checkout on your website
The customer proceeds with the checkout process on your website and makes the necessary payment for the order.
- 10
Your server requests the print files for the purchased project
Once the transaction is successfully finalized, your system needs to call the POST /webhook/notifyorder endpoint. This call serves as a notification to inform FastEditor that the print files should be generated.
View Sale Notification endpoint - 11
We generate a product-ready print file
Upon receiving the sale notification, the FastEditor order processing pipeline generates the required files that will be print-ready.
- 12
We submit the print files and data to your webhook
Once the print-ready files have been generated, FastEditor sends an API call to your system. The payload shares the URL where the print files can be downloaded.