Design Maker
This page details how to use Design Maker in your own store.
Authentication
Contact us for an API key.
X-Api-Key: <api_key>Smartlink
Request a Smartlink with this endpoint. The Smartlink will direct your customer to Design Maker, where they can design their product.
POST https://api.designmaker.io/api/smartlinkExample body:
{
"userId": "user_123",
"sku": "12345#1#1000-1001#FC",
"language": "en",
"country": "US",
"currency": "USD",
"quantity": 1,
"productOptions": {
"enable": true,
"openOnStart": false
}
}You can get the sku from the designmaker_sku field in the Supplier Products or Product Parts endpoints.
Example response:
{
"URL": "https://api.designmaker.io/app/create/0/10110011?locale=en&countryid=1¤cy=USD&user_token=abcdefghijklmnopqrstuvwxyz"
}Redirect your customer to this URL.
Cart URL
After the customer has designed their product, they will be redirected to the cart URL specified when requesting an API key, with the fe_cart_url query parameter. This endpoint should make an authenticated request to the Safsira API to finish creating the custom product.
GET https://api.safsira.com/v1/designmaker/cart/?fe_cart_url=[fe_cart_url]