Skip to main content
POST
Upload product filter

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"

Path Parameters

id
integer<int64>
required

The identifier of the bonus campaign.

fileType
enum<string>
required

The type of the file being uploaded. Determines which property on the campaign should be updated. Defaults to Percentage if not specified.

Available options:
Percentage,
FixedPrice,
CampaignPercentage,
Custom,
ProductIds,
ExcludedCategories,
MemberIds,
ExcludedProductIds

Body

multipart/form-data
formFile
file
required

The file to be uploaded. Must be provided in the multipart/form-data body.

Response

File uploaded successfully and campaign updated.

id
string | null
Last modified on August 10, 2026