Skip to content
Get started

Reopen Movement Assignment

MovementAssignmentReopenMovementAssignmentResponse MovementAssignments.ReopenMovementAssignment(MovementAssignmentReopenMovementAssignmentParamsparameters, CancellationTokencancellationToken = default)
PUT/api/v2/public/stores/{store_number}/movementassignment/reopen

Reopens a movement assignment and its lines so the work can be picked up again. Use it to undo an assignment that was closed, claimed or rejected by mistake.

ParametersExpand Collapse
MovementAssignmentReopenMovementAssignmentParams parameters
required string storeNumber

The store the movement assignment belongs to.

Movementassignments movementassignments
required string MovementassignmentCode
minLength1
string? ClaimedBy
Boolean? IsActive
Boolean? IsClaimed
Boolean? IsMoved
Boolean? IsRejected
IReadOnlyList<MovementLine>? MovementLines
required Long LineNumber
formatint64
required string ProductNumber
minLength1
required Double Quantity
formatdouble
string? Barcode
Int CustomerOrderLineNumber
formatint32
string? CustomerOrderNumber
Int CustomerOrderShipmentLineNumber
formatint32
string? CustomerOrderShipmentNumber
Boolean? FromCustomerOrder
FromLocation FromLocation
string? FromTags
string? LocationCode
string? LocationCode1
string? LocationCode2
string? LocationCode3
string? LocationCode4
string? LocationCode5
Int? StockPool
formatint32
string? StockPools
Boolean IsMoved
DateTimeOffset MovedDatetime
formatdate-time
Double MovedQuantity
formatdouble
Boolean? ToCustomerOrder
ToLocation ToLocation
string? LocationCode
string? LocationCode1
string? LocationCode2
string? LocationCode3
string? LocationCode4
string? LocationCode5
Int? StockPool
formatint32
string? StockPools
string? ToTags
ReturnsExpand Collapse
class MovementAssignmentReopenMovementAssignmentResponse:

Standard success response returned by mutation endpoints.

required Boolean Success

Indicates whether the operation completed successfully.

string? Data

Optional data payload returned by the operation.

string? Message

Human-readable message describing the result.

Reopen Movement Assignment

MovementAssignmentReopenMovementAssignmentParams parameters = new()
{
    StoreNumber = "store_number"
};

var response = await client.MovementAssignments.ReopenMovementAssignment(parameters);

Console.WriteLine(response);
{
  "success": true,
  "data": "data",
  "message": "message"
}
{
  "code": 401,
  "status": "error",
  "message": "Authentication failed.",
  "error": "unauthorized",
  "error_description": "Authentication failed."
}
{
  "code": 500,
  "status": "fail",
  "message": "The request could not be processed.",
  "error": "internal_error",
  "error_description": "The request could not be processed."
}
Returns Examples
{
  "success": true,
  "data": "data",
  "message": "message"
}
{
  "code": 401,
  "status": "error",
  "message": "Authentication failed.",
  "error": "unauthorized",
  "error_description": "Authentication failed."
}
{
  "code": 500,
  "status": "fail",
  "message": "The request could not be processed.",
  "error": "internal_error",
  "error_description": "The request could not be processed."
}