Fasteditor API reference for white Label Administrators
The request needs to include an X-Api-Key header. Make sure this header is not exposed to the browser, so this request needs to be initiated from the backend.
| Key | In | |
|---|---|---|
| X | Header |
Shopping Cart Item
Delete Shoppingcartitem
Delete Shoppingcartitem
| id | integer | Shoppingcartitem unique id |
xxxxxxxxxxcurl --request DELETE \ --url 'https://api.editor.staging.fasteditor.com/api/shoppingcartitem/%7Bid%7D' \ --header 'X-Api-Key: {X-Api-Key}'Deleted
| No response body |
xxxxxxxxxxNo responsePartner-user
Update user Id
Update user id
| Root Type for update | object | ||
| currentUserId | string | ||
| newUserId | string |
xxxxxxxxxxcurl --request PUT \ --url 'https://api.editor.staging.fasteditor.com/api/partner/user' \ --header 'X-Api-Key: {X-Api-Key}' \ --data '{ "currentUserId": "auth0|663a2ee7333e91e20581dd50", "newUserId": "auth0|663a2ee7333e91e20581dd59"}'Success
| No response body |
xxxxxxxxxxNo responseDelete User
Delete User record
| userid | string | User unique id |
xxxxxxxxxxcurl --request DELETE \ --url 'https://api.editor.staging.fasteditor.com/api/partner/user' \ --header 'X-Api-Key: {X-Api-Key}' \ --data userid=1234Success
| No response body |
xxxxxxxxxxNo responseGet User's Products
Get User's Products
| language | string | ||
| limit | integer | ||
| orderby | string | ||
| userid | string | The user's id |
xxxxxxxxxxcurl --get \ --url 'https://api.editor.staging.fasteditor.com/api/partner/user/products' \ --header 'X-Api-Key: {X-Api-Key}' \ --data language=en \ --data limit=20 \ --data orderby={orderby} \ --data userid=auth0%7C59397e29568d8435eae3354fSuccess
| No response body |
Bad Request
Not Found
xxxxxxxxxx[ { "id": 6686, "title": "", "lastUpdate": "2021-09-24 00:00:00", "imageUrl": "http://localhost:8088/dev/project-image/2/6686/Q8aaUCR55VgqC6JAbKL9/1632434400", "productUrl": "http://localhost:8080/app/6686/open", "offeringName": "cadeauboekje met foto's", "offeringDescription": "formaat 10x10 cm " }, { "id": 6657, "title": "", "imageUrl": "http://localhost:8088/dev/project-image/2/6657/9Z2wGFSkDnnmrUw8K07t/1714722423", "productUrl": "http://localhost:8080/app/6657/open", "offeringName": "fotokaartje - 10x15 cm", "offeringDescription": "direct verstuurd naar de ontvanger 2.- inclusief verzendkosten" }, { "id": 6146, "title": "", "imageUrl": "http://localhost:8088/dev/project-image/2/6146/PVwb1g6B7j6yV0vt80EM/1714722423", "productUrl": "http://localhost:8080/app/6146/open", "offeringName": "melamine bordje", "offeringDescription": "met eigen foto of tekst diverse designs" }, { "id": 6147, "title": "", "imageUrl": "http://localhost:8088/dev/project-image/2/6147/qFfapi8FhnVu0sh44Rq5/1714722423", "productUrl": "http://localhost:8080/app/6147/open", "offeringName": "linnen placemat", "offeringDescription": "met eigen foto of tekst formaat 26.5x38 cm" }, { "id": 6664, "title": "", "imageUrl": "http://localhost:8088/dev/project-image/2/6664/0ig33QL2iQkiNaY6GvK1/1714722423", "productUrl": "http://localhost:8080/app/6664/open", "offeringName": "mobileprint - Instax", "offeringDescription": "formaat 6x9 cm set van 20" }, { "id": 6665, "title": "", "imageUrl": "http://localhost:8088/dev/project-image/2/6665/pOPN0vWSC8F97ziTsiIV/1714722423", "productUrl": "http://localhost:8080/app/6665/open", "offeringName": "kaartspel met 54 foto's", "offeringDescription": "verschillende foto's op de voorkant geleverd in een kunststof doosje" }, { "id": 6666, "title": "", "imageUrl": "http://localhost:8088/dev/project-image/2/6666/PquvO7JBgkAoutVkJtf5/1714722423", "productUrl": "http://localhost:8080/app/6666/open", "offeringName": "snoepblik hart", "offeringDescription": "met eigen foto of tekst verschillende designs" }, { "id": 6667, "title": "", "imageUrl": "http://localhost:8088/dev/project-image/2/6667/RztuDJmG2ptXhJ50uKLx/1714722423", "productUrl": "http://localhost:8080/app/6667/open", "offeringName": "koektrommel", "offeringDescription": "met eigen foto of tekst verschillende designs" }, { "id": 6668, "title": "", "imageUrl": "http://localhost:8088/dev/project-image/2/6668/Ghd8dUmZGZSVk29MQm9P/1714722423", "productUrl": "http://localhost:8080/app/6668/open", "offeringName": "geheugenspel", "offeringDescription": "2x30 foto's geleverd in een doosje" }, { "id": 6669, "title": "", "imageUrl": "http://localhost:8088/dev/project-image/2/6669/zUP3ohrESlGiyiSOVZLu/1714722423", "productUrl": "http://localhost:8080/app/6669/open", "offeringName": "volledig bedrukte mok", "offeringDescription": "met eigen foto of tekst verschillende designs" }]Project
Delete Project
Delete a project created by a user
| id | integer | Project unique id |
xxxxxxxxxxcurl --request DELETE \ --url 'https://api.editor.staging.fasteditor.com/api/product/%7Bid%7D' \ --header 'X-Api-Key: {X-Api-Key}'Success
| No response body |
xxxxxxxxxxNo responseRead shop integrations
Retrieve all shop integrations
xxxxxxxxxxcurl --get \ --url 'https://api.editor.staging.fasteditor.com/api/shop-integration' \ --header 'X-Api-Key: {X-Api-Key}'OK
| Root Type for create | array[object] | ||
| id | int32 | Unique identifer for the shop | |
| name | string | Name of the shop | |
| cartUrl | string | ||
| created | date-time | Date and time the shop was created in the database | |
| apiKey | string | The api key the shop should in the Authorization header when making requests to the FastEditor API. | |
| priceMultiplier | number | Can be used to add a pricing multiplier to the pricing shown to the end user in the editor. Defaults to 1. |
xxxxxxxxxx[ { "id": 1, "name": "Shop A", "cartUrl": "https://redirect.to/shop-a-cart-url", "created": "2025-04-05 11:53:52", "apiKey": "ftCympnHkbYoqXXOguI84Gj3UnmKji0ZD62DKV53", "priceMultiplier": "1.0000" }, { "id": 2, "name": "Shop B", "cartUrl": "https://redirect.to/shop-b-cart-url", "created": "2025-04-07 13:52:52", "apiKey": "PZMQnGdE4eEKmf0fUVRxu4m1IsN5rbUrqm3JFykO", "priceMultiplier": "1.2000" }]Create a Shop
Create a new shop integration for the FastEditor Label
| Root Type for create | object | ||
| id | int32 | Unique identifer for the shop | |
| name | string | Name of the shop | |
| cartUrl | string | ||
| created | date-time | Date and time the shop was created in the database | |
| apiKey | string | The api key the shop should in the Authorization header when making requests to the FastEditor API. | |
| priceMultiplier | number | Can be used to add a pricing multiplier to the pricing shown to the end user in the editor. Defaults to 1. |
xxxxxxxxxxcurl --request POST \ --url 'https://api.editor.staging.fasteditor.com/api/shop-integration' \ --header 'X-Api-Key: {X-Api-Key}' \ --data '{ "name": "Name of the shop", "cartUrl": "https://redirect.my.customer/to-this-cart-url"}'Created
| Root Type for create | object | ||
| id | int32 | Unique identifer for the shop | |
| name | string | Name of the shop | |
| cartUrl | string | ||
| created | date-time | Date and time the shop was created in the database | |
| apiKey | string | The api key the shop should in the Authorization header when making requests to the FastEditor API. | |
| priceMultiplier | number | Can be used to add a pricing multiplier to the pricing shown to the end user in the editor. Defaults to 1. |
xxxxxxxxxx{ "id": 1, "name": "Name of the shop", "cartUrl": "https://redirect.my.customer/to-this-cart-url", "created": "2025-04-05 11:53:52", "apiKey": "ftCympnHkbYoqXXOguI84Gj3UnmKji0ZD62DKV53"}Read a shop integration
Read a specific shop integration record
xxxxxxxxxxcurl --get \ --url 'https://api.editor.staging.fasteditor.com/api/shop-integration/{id}' \ --header 'X-Api-Key: {X-Api-Key}'OK
| Root Type for create | object | ||
| id | int32 | Unique identifer for the shop | |
| name | string | Name of the shop | |
| cartUrl | string | ||
| created | date-time | Date and time the shop was created in the database | |
| apiKey | string | The api key the shop should in the Authorization header when making requests to the FastEditor API. | |
| priceMultiplier | number | Can be used to add a pricing multiplier to the pricing shown to the end user in the editor. Defaults to 1. |
xxxxxxxxxx{ "id": 1, "name": "Name of the shop", "cartUrl": "https://redirect.my.customer/to-this-cart-url", "created": "2025-04-05 11:53:52", "apiKey": "ftCympnHkbYoqXXOguI84Gj3UnmKji0ZD62DKV53", "priceMultiplier": "1.0000"}Update a shop integration
Update a specific shop integration record
| Root Type for shop | object | ||
| name | string | ||
| cartUrl | string |
xxxxxxxxxxcurl --request PUT \ --url 'https://api.editor.staging.fasteditor.com/api/shop-integration/{id}' \ --header 'X-Api-Key: {X-Api-Key}' \ --data '{ "name": "Name of the shop", "cartUrl": "https://redirect.my.customer/to-this-cart-url"}'OK
| Root Type for create | object | ||
| id | int32 | Unique identifer for the shop | |
| name | string | Name of the shop | |
| cartUrl | string | ||
| created | date-time | Date and time the shop was created in the database | |
| apiKey | string | The api key the shop should in the Authorization header when making requests to the FastEditor API. | |
| priceMultiplier | number | Can be used to add a pricing multiplier to the pricing shown to the end user in the editor. Defaults to 1. |
xxxxxxxxxx{ "id": 1, "name": "Name of the shop", "cartUrl": "https://redirect.my.customer/to-this-cart-url", "created": "2025-04-07 13:52:52"}Rotate Shop API key
Rotate the API key for a specific shop integration
| id | integer |
xxxxxxxxxxcurl --request PUT \ --url 'https://api.editor.staging.fasteditor.com/api/shop-integration/%7Bid%7D/apikey' \ --header 'X-Api-Key: {X-Api-Key}'OK
| Root Type for create | object | ||
| id | int32 | Unique identifer for the shop | |
| name | string | Name of the shop | |
| cartUrl | string | ||
| created | date-time | Date and time the shop was created in the database | |
| apiKey | string | The api key the shop should in the Authorization header when making requests to the FastEditor API. | |
| priceMultiplier | number | Can be used to add a pricing multiplier to the pricing shown to the end user in the editor. Defaults to 1. |
xxxxxxxxxx{ "id": 1, "name": "Name of the shop", "cartUrl": "https://redirect.my.customer/to-this-cart-url", "created": "2025-04-05 11:53:52", "apiKey": "ftCympnHkbYoqXXOguI84Gj3UnmKji0ZD62DKV53"}Pricing
Update pricing data
| array | array[object] | ||
| sku | string | Your SKU used for the product configuration. If this is omitted, "offeringid" will have to be provided. | |
| offeringid | integer | The FastEditor id for the product configuration. If this is omitted, "sku" will have to be provided. | |
| listPrice | integer | The normal catalogue price of the product. Price should be provided in cents. | |
| listPrice | number | For products that can be extended with addOns. For instance, for photobooks this would be the price of an extra page. Pricing in cents. | |
| discountPrice | integer | The discounted base price of the product. If provided, FastEditor will show the from...for pricing to the user. | |
| discountPrice | number | The discounted price for the addOn. | |
| currency | string | The currency for which you are setting the price |
xxxxxxxxxxcurl --request POST \ --url 'https://api.editor.staging.fasteditor.com/api/price/import' \ --header 'X-Api-Key: {X-Api-Key}' \ --data '[ { "sku": "TUMBLER", "listPrice": 1299, "discountPrice": 999 }, { "sku": "TUMBLER2", "listPrice": 1299, "discountPrice": 999 }]'Created
| array | array[object] | ||
| sku | string | Your SKU used for the product configuration. If this is omitted, "offeringid" will have to be provided. | |
| offeringid | integer | The FastEditor id for the product configuration. If this is omitted, "sku" will have to be provided. | |
| listPrice | integer | The normal catalogue price of the product. Price should be provided in cents. | |
| listPrice | number | For products that can be extended with addOns. For instance, for photobooks this would be the price of an extra page. Pricing in cents. | |
| discountPrice | integer | The discounted base price of the product. If provided, FastEditor will show the from...for pricing to the user. | |
| discountPrice | number | The discounted price for the addOn. | |
| currency | string | The currency for which you are setting the price |
xxxxxxxxxx[ { "sku": "TUMBLER", "listPrice": 1299, "discountPrice": 999 }, { "sku": "TUMBLER2", "listPrice": 1299, "discountPrice": 999 }]