Skip to content
Get started

Reopen Movement Assignment

movement_assignments.reopen_movement_assignment(strstore_number, MovementAssignmentReopenMovementAssignmentParams**kwargs) -> MovementAssignmentReopenMovementAssignmentResponse
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
store_number: str
movementassignments: Optional[Movementassignments]
movementassignment_code: str
minLength1
claimed_by: Optional[str]
is_active: Optional[bool]
is_claimed: Optional[bool]
is_moved: Optional[bool]
is_rejected: Optional[bool]
movement_lines: Optional[Iterable[MovementassignmentsMovementLine]]
line_number: int
formatint64
product_number: str
minLength1
quantity: float
formatdouble
barcode: Optional[str]
customer_order_line_number: Optional[int]
formatint32
customer_order_number: Optional[str]
customer_order_shipment_line_number: Optional[int]
formatint32
customer_order_shipment_number: Optional[str]
from_customer_order: Optional[bool]
from_location: Optional[MovementassignmentsMovementLineFromLocation]
from_tags: Optional[str]
location_code: Optional[str]
location_code1: Optional[str]
location_code2: Optional[str]
location_code3: Optional[str]
location_code4: Optional[str]
location_code5: Optional[str]
stock_pool: Optional[int]
formatint32
stock_pools: Optional[str]
is_moved: Optional[bool]
moved_datetime: Optional[Union[str, datetime]]
formatdate-time
moved_quantity: Optional[float]
formatdouble
to_customer_order: Optional[bool]
to_location: Optional[MovementassignmentsMovementLineToLocation]
location_code: Optional[str]
location_code1: Optional[str]
location_code2: Optional[str]
location_code3: Optional[str]
location_code4: Optional[str]
location_code5: Optional[str]
stock_pool: Optional[int]
formatint32
stock_pools: Optional[str]
to_tags: Optional[str]
ReturnsExpand Collapse
class MovementAssignmentReopenMovementAssignmentResponse: …

Standard success response returned by mutation endpoints.

success: bool

Indicates whether the operation completed successfully.

data: Optional[str]

Optional data payload returned by the operation.

message: Optional[str]

Human-readable message describing the result.

Reopen Movement Assignment

import os
from colleqtive_sdk import Colleqtive

client = Colleqtive(
    bearer_token=os.environ.get("COLLEQTIVE_BEARER_TOKEN"),  # This is the default and can be omitted
)
response = client.movement_assignments.reopen_movement_assignment(
    store_number="store_number",
)
print(response.success)
{
  "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."
}