Skip to main content
Version: v3

Update an item in a queue

PUT 

/social-media-posting/category/queues/:queueId/items/:itemId

Updates the content or variations of a specific item within a category queue.

Request

Version stringrequired

API Version

Available optionsv3
queueId stringrequired
itemId stringrequired
application/json

Bodyrequired

    locationIdstringrequired

    Location ID

    sessionIdstring

    Edit session ID

    modifiedPostPayloadobject

    Modifications to the original post

    newOrderobject

    New order value or position keyword (cyclic-aware). Accepts:

    • A number: explicit order value calculated by FE as midpoint between adjacent items
    • "top": place at cyclic top (first to be scheduled next)
    • "bottom": place at cyclic bottom (last to be scheduled)

    For positions between items, FE calculates: Math.floor((prevItem.order + nextItem.order) / 2)

    variationsobject[]

    Variations

    primaryImagestring

    Primary media URL (image)

application/json

The queue item has been successfully updated.

Schema
    successbooleanrequired
    statusCodenumberrequired
    resultsobjectrequired
    traceIdstring