products/deleteProduct
delete a product from your codebookie account.
Parameter | Type | Description | Required |
---|---|---|---|
api_token | string | API token | YES |
sku | string | SKU of product you wish to delete from codebookie | YES |
website_id | integer | website ID of the website that the SKU resides in | YES |
Example code usage:
1 2 3 4 5 6 7 |
require "codeBookie.php"; $codeBookie = new CodeBookie(); $sku = 'TT100'; $websiteID = 15; $result = $codeBookie->deleteProduct($sku,$websiteID); |
Output:
Variable | Type | Description |
---|---|---|
status | string | OK or ERROR |
message | string | message |