API referenceStock Part
Detach Part
Remove a part from a stock item and from every other stock item of the same product. App connections need the inventory:write scope.
POST
/stock-part/{id}/detachcurl -X POST "https://dash.lockii.app/api/v1/stock-part/{id}/detach" \
-H "x-api-key: $LOCKII_API_KEY"Authorization
x-api-keystringheaderAPI key from Settings → Integrations → API.
AuthorizationstringheaderThe same API key, or an OAuth access token, sent as Authorization: Bearer.
api_keystringqueryAPI key query parameter.
Parameters
idstringpathrequiredStock part ID
Response
application/json
JSON result for this operation.
object
{}