Gambio icon

Gambio

Interact with Gambio REST API v3

Actions220

Product Link (v2) → Delete

AI-generated

Summary

Delete a product link by specifying the product ID and providing category link data in JSON format to identify which link to remove.

Inputs

  • Authentication — Select the authentication method: Basic Auth (admin email and password, compatible with v2 and v3 API) or Bearer Token (JWT token from Gambio Admin, for v3 API only). Defaults to Basic Auth.
  • Product ID (required) — The ID of the product whose link you want to delete.
  • Link Data (JSON) (required) — A JSON object containing the category link data identifying the link to delete. For deletion, this should be formatted as {"categoryId":123}.
  • Request Options — Optional request settings such as batching controls, SSL certificate validation toggle, proxy configuration, and request timeout in milliseconds.

Output shape

No data returned on success; the operation responds with HTTP status indicating success or failure.

Input must include a valid product ID and properly formatted JSON for the category link to be deleted. The deletion request is sent as a DELETE HTTP request to the endpoint /api.php/v2/products/{productId}/links with the link data in the request body. Use batching options carefully if deleting multiple links in bulk to throttle requests.

Examples

Example 1: Deleting a product-category link for product ID 123 in category 456, using Basic Auth.

Set Authentication to Basic Auth, Product ID to 123, and Link Data to {"categoryId":456}.

Discussion