Request deletion of SKU-location records

Requests the deletion of one or more SKU-location records. Deleting a SKU-location removes planning history that cannot be restored, so the request is held until you approve it; it is not applied on receipt.

The response returns a task in PendingReview. At that point nothing has been deleted or sent for processing. Approve or reject the task with PUT /api/v1/tasks/{taskId}. A rejected task moves to RejectedNotApproved and the records are never deleted.

Once approved, the deletion is queued for the next scheduled GAINS run, and the task moves through Queued / Processing / Completed.

To follow the outcome, either poll GET /api/v1/tasks/{taskId}, or subscribe to the task_status_update webhook trigger and filter on Status (for example Status = "PendingReview" or Status = "Completed"). While the task is still PendingReview you can withdraw the request with POST /api/v1/tasks/{taskId}/cancel.

A maximum of 1000 records may be submitted per request.

GAINS X version requirement:

  • Min: 10.0-ER2610
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required
length between 1 and 65

Part number or Item/SKU code

string
required
length between 1 and 80

Location code (DC, warehouse, etc.) where SKU is planned, forecasted, or stocked

Headers
string
length ≤ 255

Optional key that makes a retry safe. A request repeating a key already used on this endpoint within the last 24 hours is refused with 400 and nothing is submitted again. A UUID is recommended; at most 255 characters

string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
*/*
application/json