Skip to main content
POST
Bulk unpublish

Body

application/json

Bulk unpublish request

category
string

Category filter

subcategory
string

Subcategory filter

has_image
enum<string>
default:all

Has image filter

Available options:
true,
false,
all
has_barcode
enum<string>
default:all

Has barcode filter

Available options:
true,
false,
all
has_retailer_mappings
enum<string>
default:all

Has retailer mappings filter

Available options:
true,
false,
all
has_pricing
enum<string>
default:all

Has pricing filter

Available options:
true,
false,
all
dry_run
boolean
default:false

Preview without making changes

limit
integer
default:1000

Max products to process

Required range: 1 <= x <= 10000

Response

Bulk unpublish result

Bulk unpublish response

success
enum<boolean>
required
Available options:
true
unpublished_count
number
required
message
string
dry_run
boolean
eligible_count
number