Choose your language:
    Move items to stage in bulk
    Parameters
    stage  string  Optional

    Stage to be moved to

    items  Array<item.id>  Optional

    Records to move

    Examples

    Example code:
    const SiteClient = require('datocms-client').SiteClient;
    const client = new SiteClient('YOUR-API-TOKEN');
    client.item.bulkMoveToStage({
    stage: 'in_review',
    items: [
    '4235'
    ]
    })
    .catch((error) => {
    console.error(error);
    });