DELETE /v1/ecommerce/products/:id/stock/branch-links/:branch_id
Stop a branch from selling a product from its source branch’s stock.
DELETE
Desvincular una sucursal del stock de otra
Unlinks one branch that sells from another branch’s stock. From then on it sells this product only from its own stock, which starts at
0: transfer units to it if it needs them.
Endpoint
Required scope
ecommerce:stock:write
Headers
Path parameters
Example request
curl
Response
200 OK
The product’s stock after unlinking, in the same shape asGET /v1/ecommerce/products/{id}/stock.
401 Unauthorized
Missing, invalid, revoked, or expired token.403 Forbidden
The token does not have theecommerce:stock:write scope.
404 Not Found
No product with that id, orSTOCK_BRANCH_LINK_NOT_FOUND: the branch was not linked for this product.
502 Bad Gateway
ECOMMERCE_UPSTREAM_ERROR — the ecommerce service could not answer.Authorizations
Desvincular una sucursal del stock de otra