Skip to main content
POST
Split or duplicate an existing subscription contract

Headers

X-API-Key
string
required

API Key

Query Parameters

api_key
string

API Key (Deprecated)

contractId
integer<int64>
required

Subscription contract ID

isSplitContract
boolean
default:false

Split or duplicate mode

attemptBilling
boolean
default:false

Attempt billing immediately

Body

application/json

Response

Contract successfully split/duplicated

billingAttempts
object
billingPolicy
object
createdAt
object
customAttributes
object[]
customer
object
customerPaymentMethod
object
deliveryMethod
object
deliveryPolicy
object
deliveryPrice
object
discounts
object
get__typename
string
id
string
lastPaymentStatus
enum<string>
Available options:
SUCCEEDED,
FAILED,
$UNKNOWN
lines
object
nextBillingDate
object
note
string
originOrder
object
status
enum<string>
Available options:
ACTIVE,
PAUSED,
CANCELLED,
EXPIRED,
FAILED,
$UNKNOWN
updatedAt
object