CancellationPlan

Create Payment Plan for Cancellation Plan

post

Creates a payment plan for the cancellation plan

Authorizations
AuthorizationstringRequired
Path parameters
idintegerRequired

Unique identifier of the resource

Example: 1
Body
Responses
chevron-right
200

Payment plan created successfully

application/json
post
/api/v1/cancellation_plans/{id}/create_payment_plan/

Retrieve Cancellation Plan

get

Returns a single cancellation plan

Authorizations
AuthorizationstringRequired
Path parameters
idintegerRequired

Unique identifier of the resource

Example: 1
Responses
chevron-right
200

Cancellation plan details

application/json
get
/api/v1/cancellation_plans/{id}/

Get Cancellation Plan Statuses

get

Returns a list of available cancellation plan statuses

Authorizations
AuthorizationstringRequired
Responses
chevron-right
200

List of cancellation plan statuses

application/json
get
/api/v1/cancellation_plans/cancellation_plan_statuses/

List Cancellation Plans

get

Returns a list of cancellation plans

Authorizations
AuthorizationstringRequired
Query parameters
pageinteger · min: 1Optional

Specifies the page number of the current dataset

Default: 1
limitinteger · min: 1Optional

Indicates the number of rows on the current page.

Default: 10
plan_typestring · enumOptional

Type of cancellation plan

Example: cancelPossible values:
statusstring · enumOptional

Filter by the export status.

Example: completedPossible values:
order_idintegerOptional

Order ID

order_numberstringOptional

Filter by order number

Example: ORD123456
channel_typestring · enumOptional

Type of the channel

Example: sales_channelPossible values:
channel_id__ininteger[]Optional

List of sales channel IDs

Example: 1
invoice_numberstringOptional

Invoice number associated with the cancellation plan

Example: INV-123456
invoice_datestring · dateOptional

Date of the invoice associated with the cancellation plan

Example: 2024-01-01T00:00:00Z
created_byintegerOptional

ID of the user who created the cancellation plan

Example: 1
modified_byintegerOptional

ID of the user who last modified the cancellation plan

Example: 1
staff_remote_idstringOptional

Remote ID of the staff member associated with the cancellation plan

Example: 654321
retail_store_remote_idstringOptional

Remote ID of the retail store associated with the cancellation plan

Example: 123456
related_cancellationplanstringOptional

Filter by related cancellation plan (exact match)

Example: 1
related_cancellation_plan__plan_typestring · enumOptional

Type of cancellation plan

Example: cancelPossible values:
created_datestring · date-timeOptional

Filter by creation date using supported lookup expressions (e.g., gt, gte, lt, lte, date__gt, etc.).

Example: created_date__gt=2024-01-01T00:00:00Z
modified_datestring · date-timeOptional

Filter by modification date using supported lookup expressions (e.g., gt, gte, lt, lte, date__gt, etc.).

Example: modified_date__lt=2024-01-01T00:00:00Z
pkintegerOptional

Filters by primary key

pk__ininteger[]Optional

Filter by multiple primary key values (comma-separated list of integers)

ordernumberOptional

Filter by order ID.

Example: 123
customer_idintegerOptional

Filter by customer ID.

Example: 123
tagstringOptional

Filter by tag name.

tag__excludestringOptional

Exclude by tag name.

export_formatstring · enumOptional

Export format for the report

Default: csvPossible values:
Responses
chevron-right
200

List of cancellation plans

application/json
get
/api/v1/cancellation_plans/

Update Cancellation Plan Status

post

Updates the status of a cancellation plan

Authorizations
AuthorizationstringRequired
Path parameters
idintegerRequired

Unique identifier of the resource

Example: 1
Body
anyOptional
Responses
chevron-right
200

Status updated successfully

application/json
post
/api/v1/cancellation_plans/{id}/update_status/

Last updated

Was this helpful?