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.
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."
}