Get Design JSON

GetDesignJson API Signature

GET Designer/Design/GetDesignJson?designOrderId={designOrderId}&websiteId={wesiteId}&webApiClientKey={webApiClientKey}

This API is used to get the order designs JSON.  The product which is customized/designed using Artifi (Product customization tool) and saved or Added to the cart its design JSON is created and saved at Artifi.

Request Information

Parameters

NameDescriptions
designOrderIdDesign id is the customized product id. The product which is customized/designed using Artifi (Product customization tool) and saved or Added to the cart is called a customized product.

When this customized product id is specified, It will launch the Artifi editor with the specified customized product.

This means, that when the Artifi editor gets open in a specified HTML div element, you will get to see/edit the customized product whose id is specified in this parameter.

websiteId

This is the website with which products, images and colors are associated.

Admin user of Artifi can create one or more websites and assign products to each of the website.

The Id of the website with which the product which user is customizing should be specified in this parameter is associated.

webApiClientKey

When any company gets registered with Artifi, Artifi will generate a special and unique key for that company which will be called as client key.

This client key will be found in registered company's profile tab in Artifi Account.

This client key will be used for client(company) authentication and will be called as WebApiClientKey.

Response Information

On Success

{
  "Response": "Success",
  "Message": "",
  "Data": "{\"custmizeProductId\":25329489,\"userId\":\"923\",\"productCode\":\"0490_Name and Number\",\"sku\":\"0490RBCHS34\",\"customAttributes\":[],\"attributes\":[],\"savedDesigns\":[],\"photoCount\":0,\"clipartCount\":0,\"customizedData\":{},\"colorAttribute\":[],\"isPrintReady\":true,\"appMode\":\"\",\"specialInstructionData\":
\"\",\"productionInstructionData\":\"\",\"uploadedNameListCount\":1,\"customizedDetails\":{},
  "ErrorCode": null
}

}

On Failure

{ "Response": "Error", "Message": "Design JSON not found.", "Data": null, "ErrorCode": "" }

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.