Delete Customized Product

POST Designer/Services/DeleteCustomizedProduct?websiteId={websiteId}&webApiClientKey={webApiClientKey}&customizedProductId={customizedProductId}&orderStatus={orderStatus}&productCode={productCode}&userId={userId}&startDate={startDate}&endDate={endDate}

Single or multiple customized product can be deleted using this API.

Request Information

Parameters

Request body formats

NameDescriptions
websiteId (Required)

This is the website created in Artifi account by your e-commerce website, with which user is 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 user is associated should be specified in this parameter.

webApiClientKey (Required)

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.

customizedProductId (Optional) This will be the Id of of the customized product(generated after carting of product).

Multiple Ids can be passed in comma separated form.

orderStatus (Optional)This is the string of the order status to be updated in Artifi.

OrderStatus can be Draft, Email, InProgress, Placed, RequestQuote.

productCode (Optional)The code of that product should be specified in this parameter.

The code of that product should be specified in this parameter.

Multiple Ids can be passed in comma separated form.

userId (Optional)

This will be the id of your e-commerce website's user. The user can be registered or guest user.

If the user is registered, pass the user id in this parameter and if the user is not registered with your e-commerce website,

create a temporary id for the user and pass that temporary id in this parameter.

The non registered user will be called as guest user. This will be the unique user id.

The method will return the product customized by the user whose id will be specified in this parameter.

Multiple Ids can be passed in comma separated form.

startDate (Optional)
The date from where records will be deleted of the particular website. Date format {mm/dd/yyyy}.
endDate (Optional)
The date till where records will be deleted of the particular website.

Date format {mm/dd/yyyy}.

Note : Either CustomizedProductId or ProductCode or UserId must be passed in the API.

Response Information

Response body formats

On Success

Success message if records are deleted successfully otherwise error message. If multiple customized product ids are passed and some error occurred while doing this, then we will display success and failure records count.


Did you find it helpful? Yes No

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