v1

latestOpenAPI 3.0.02026-07-264731126.7 KB
Commissions

Mark nonmonetary commissions as unfulfilled

With this endpoint you can mark nonmonetary commissions as unfulfilled. <Tip>HTTP Request <br/>POST https://api.firstpromoter.com/api/v2/company/commissions/mark_unfulfilled</Tip>

post/commissions/mark_unfulfilled

Headers

Account-IDstring required

Account id. You can find your Account ID on Your FirstPromoter Dashboard. Navigate to Settings → Integrations

Request body

idsinteger[]

Array of commission Ids. If there are more than 5 ids on this param/field, the action will be processed asynchronously. The response for the batch status will most likely be in_progress. The available statuses are pending, in_progress, completed, failed and stopped

Response

Operation completed successfully

idinteger

Id of the batch operation

status'completed'

Status of the batch operation (always completed for synchronous operations)

totalinteger

Total number of items

selected_totalinteger

Number of selected items

processed_countinteger

Number of processed items

failed_countinteger

Number of failed operations

action_labelstring

Action identifier/ label assigned to the action

created_atstring date-time

Date and time when the batch operation was created

updated_atstring date-time

Date and time when the batch operation was updated

metaobject

Meta data of the batch operation

progressinteger

Progress of the action (0-100)

processing_errorsstring[]