Update Ecommerce Id

POST Designer/Services/UpdateEcommerceId

This api is use to update old ecommerce id with new ecommerce id of customized product.

Update api will work on the basis of old ecommerce id. If the provided old ecommerce id is present in the table then it will update it with new ecommerce id.

Request Information

Parameters

Request body formats

NameDescriptions
websiteId

This is the website with which customized product 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 user is associated should be specified in this parameter.

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.

OldEcommerceIdIs an optional parameter to update the record.
NewEcommerceIdIs a required parameter which we are updating.
CustomizedProductIdsIs a optional parameter which contains list of ids for which the records need to update.

application/json, text/json

Sample:
{
     "WebsiteId": 352,
     "WebApiClientKey": "185365d1-5cb0-4a9e-98bd-a9ce0b34cedc",
     "OldEcommerceId": "E1",
     "NewEcommerceId": "E2",
     "CustomizedProductIds": [456,852]
}

Response Information

Response body formats

application/json, text/json

Sample:
{
     "Response": "Success",
     "Message": "Ecommerce Id updated successfully.",
     "Data": null;,
     "ErrorCode" :null;
}


Did you find it helpful? Yes No

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