{ "codes": [ "CDK_CODE_A", "CDK_CODE_B" ], "reason": "撤销未发货库存" }
curl --location '/api/v1/partner/cdks/bulk-destroy' \ --header 'Authorization: Bearer {{api_key}}' \ --header 'Content-Type: application/json' \ --data '{ "codes": [ "CDK_CODE_A", "CDK_CODE_B" ], "reason": "撤销未发货库存" }'
{ "status_code": 0, "msg": "string", "data": { "summary": { "input_count": 0, "unique_count": 0, "destroyable_count": 0, "destroyed_count": 0, "skipped_count": 0, "locked_count": 0, "used_count": 0, "unavailable_count": 0, "already_destroyed_count": 0, "not_found_count": 0, "duplicate_count": 0 }, "items": [ { "code": "string", "result": "destroyed_now", "cdk_status": "string", "destroyable": true } ] } }