Skip to content
Get started

Reopen Movement Assignment

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.

Path ParametersExpand Collapse
store_number: string
Body ParametersJSONExpand Collapse
movementassignments: optional object { movementassignment_code, claimed_by, is_active, 4 more }
movementassignment_code: string
minLength1
claimed_by: optional string
is_active: optional boolean
is_claimed: optional boolean
is_moved: optional boolean
is_rejected: optional boolean
movement_lines: optional array of object { line_number, product_number, quantity, 12 more }
line_number: number
formatint64
product_number: string
minLength1
quantity: number
formatdouble
barcode: optional string
customer_order_line_number: optional number
formatint32
customer_order_number: optional string
customer_order_shipment_line_number: optional number
formatint32
customer_order_shipment_number: optional string
from_customer_order: optional boolean
from_location: optional object { from_tags, location_code, location_code1, 6 more }
from_tags: optional string
location_code: optional string
location_code1: optional string
location_code2: optional string
location_code3: optional string
location_code4: optional string
location_code5: optional string
stock_pool: optional number
formatint32
stock_pools: optional string
is_moved: optional boolean
moved_datetime: optional string
formatdate-time
moved_quantity: optional number
formatdouble
to_customer_order: optional boolean
to_location: optional object { location_code, location_code1, location_code2, 6 more }
location_code: optional string
location_code1: optional string
location_code2: optional string
location_code3: optional string
location_code4: optional string
location_code5: optional string
stock_pool: optional number
formatint32
stock_pools: optional string
to_tags: optional string
ReturnsExpand Collapse
success: boolean

Indicates whether the operation completed successfully.

data: optional string

Optional data payload returned by the operation.

message: optional string

Human-readable message describing the result.

Reopen Movement Assignment

curl https://api.colleqtive.net/api/v2/public/stores/$STORE_NUMBER/movementassignment/reopen \
    -X PUT \
    -H "Authorization: $COLLEQTIVE_BEARER_TOKEN"
{
  "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."
}