Order (1.0)
Download OpenAPI specification:Download
API to manage monetize orders
Get items
Authorizations:
query Parameters
required | object (Pageable) |
predicate required | object |
target | string |
endUser.email | any Filter orders by endUser email |
endUser.country | any Filter orders by endUser country |
endUser.accountCreated | any Filter orders by endUser accountCreated |
customer.id | any Filter orders by customer id |
lineItem.id | any Filter orders by lineItem id |
lineItem.previousLineItemId | any Filter orders by lineItem previousLineItemId |
lineItem.subscriptionTemplate | any Filter orders by lineItem subscriptionTemplate |
lineItem.subscriptionId | any Filter orders by lineItem subscriptionId |
lineItem.publisherRefId | any Filter orders by lineItem publisherRefId |
lineItem.nexwayFulfillmentId | any Filter orders by lineItem nexwayFulfillmentId |
lineItem.publisherFulfillmentId | any Filter orders by lineItem publisherFulfillmentId |
lineItem.fulfillmentTemplate | any Filter orders by lineItem fulfillmentTemplate |
lineItem.activationCode | any Filter orders by lineItem activationCode |
email.emailId | any Filter orders by emailId |
invoice.id | any Filter orders by invoice id |
creditNote.id | any Filter orders by creditNote id |
creditNote.cancellationReason | any Filter orders creditNote cancellationReason |
creditNote.date | any Filter orders creditNote date |
currency | any Filter orders by currency |
cartId | any Filter orders by cartId |
subscriptionId | any Filter orders by subscriptionId |
generationId | any Filter orders by generationId |
status | any Filter orders by status (CANCELED_WITH_ERROR/CANCEL_PENDING/CANCELED/PARTIAL_CANCELED/PARTIAL_COMPLETED/COMPLETED/ABORTED/PENDING_WITH_ERROR/PENDING/FRAUD_PENDING/PAYMENT_PENDING/PAYMENT_REFUSED/CREATED/FORCE_COMPLETED/FORCE_CANCELED) |
source | any Filter orders by source (PURCHASE/SUBSCRIPTION/MANUAL_RENEWAL/BILLING_PLAN) |
catalogId | any Filter orders by catalogId |
consentId | any Filter orders by consentId |
billingPlanId | any Filter orders by billingPlanId |
billingPlanPeriod | any Filter orders by billingPlanPeriod You can use date ranges by using < or << operator, examples: billingPlanPeriod=XXXX< will return orders starting after XXXX, billingPlanPeriod=<XXXX will return orders starting before XXXX, billingPlanPeriod=XXXX<<YYYYY will return orders starting between XXXX and YYYY |
lifeCycleStatus | any Filter orders by status (PREBILLING_PENDING/PREBILLING_FAILED/PREBILLING_FAILED/WAITING_FOR_PAYMENT/PARTIAL_COMPLETED/PAYMENT_PENDING/INVOICE_PENDING/ENDUSER_PENDING/SUBSCRIPTION_PENDING/FULFILLMENT_PENDING/EMAILCONFIRMATION_PENDING/COMPLETED_WITH_ERROR/COMPLETED/CANCEL_PENDING/CANCELED_WITH_ERROR/CANCELED/FORCE_COMPLETED/FORCE_CANCELED/FORCE_ABORTED) |
Responses
Response samples
- 200
- 401
- 403
- 404
- 500
{- "items": [
- {
- "allowPaymentMethodRegistration": false,
- "avaTaxStatus": "NONE",
- "billingPlanId": "25aaceea-5a34-11eb-ae93-0242ac130002",
- "billingPlanPeriod": "2023-12",
- "cancelPeriod": 14,
- "cartId": "f3fb782e-5969-11eb-ae93-0242ac130002",
- "cartIp": "127.0.0.1",
- "catalogId": "88960ca8-5af8-11eb-ae93-0242ac130002",
- "consentFlags": {
- "newsletterOptin": true
}, - "consentId": "64f2d71c-5af9-11eb-ae93-0242ac130002",
- "createDate": "2019-08-24T14:15:22Z",
- "creditNotes": [
- {
- "cancellationReason": "string",
- "date": "2019-08-24T14:15:22Z",
- "id": "string",
- "type": "PARTIAL"
}
], - "currency": "EUR, USD, GBP ...",
- "customer": {
- "features": {
- "createInvoice": true,
- "sendOrderConfirmationEmail": true,
- "usingFulfillmentV1": true,
- "usingSubscriptionV1": true
}, - "id": "string",
- "name": "string",
- "status": "string"
}, - "customerName": "string",
- "dbVersion": 0,
- "electronicInvoiceStatus": "NONE",
- "emailCancellationStatus": "NONE",
- "emailConfirmationStatus": "NONE",
- "emails": [
- {
- "createDate": 0,
- "emailId": "string",
- "message": "string",
- "paymentId": "string",
- "preorderProductId": "string",
- "recipient": "string",
- "templateDefinitionName": "string",
- "templateName": "string"
}
], - "endUser": {
- "accountCreated": true,
- "accountExists": true,
- "birthDate": "2019-08-24T14:15:22Z",
- "city": "Nîmes",
- "company": {
- "apeCode": "string",
- "cnpj": "string",
- "companyName": "string",
- "fullRegistrationNumber": "string",
- "registrationNumber": "string",
- "vatNumber": "string"
}, - "consumerType": "company",
- "country": "FR",
- "cpf": "string",
- "firstName": "John",
- "id": "0da71031-d6e5-48b4-bd28-7094f3c71a0b",
- "lastName": "Doe",
- "locale": "fr-FR",
- "phone": "07 00 00 00 00",
- "recipientCode": "string",
- "region": "Occitanie",
- "storeId": "9762480d-4c3d-4aea-9a75-236eb5f482c3",
- "streetAddress": "19 Avenue Feuchères",
- "taxExemptionEligible": true,
- "title": "M",
- "token": "string",
- "type": "string",
- "zipCode": "30000"
}, - "endUserCreationStatus": "NONE",
- "endUserIp": "127.0.0.1",
- "externalContext": "myExternalContext",
- "fulfillmentStatus": "NONE",
- "fullCreditNoteStatus": "NONE",
- "fullTotalAmount": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "generationId": "1",
- "geoZones": "Africa",
- "id": "string",
- "initialCurrency": "EUR, USD, GBP ...",
- "invoice": {
- "date": "2019-08-24T14:15:22Z",
- "id": "string",
- "type": "string"
}, - "invoiceStatus": "NONE",
- "lastUpdateReason": "string",
- "layout": "string",
- "layoutName": "string",
- "lifeCycleStatus": "PREBILLING_PENDING",
- "lineItems": [
- {
- "activationLink": {
- "enabled": true,
- "providerId": "string",
- "qrCodeBase64": [
- "string"
], - "qrCodeDisabled": true,
- "url": "string"
}, - "amount": 0.1,
- "businessSegment": "string",
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "customFieldsId": "string",
- "discountAmount": 0.1,
- "discountPlan": {
- "discountStep": 0,
- "ignorePurchaseDiscount": true,
- "tag": "string"
}, - "discountRate": 0.1,
- "emailDesc": "string",
- "existingLicenseId": "string",
- "expirationDate": "2019-08-24T14:15:22Z",
- "externalContext": "string",
- "fraudPoints": 0,
- "fulfillmentTemplate": "string",
- "fulfillmentTemplateName": "string",
- "id": "string",
- "initialAmount": 0.1,
- "initialNetAmount": 0.1,
- "initialVatAmount": 0.1,
- "licenseId": "string",
- "licenseNextExpirationDate": "string",
- "lifeTime": "string",
- "longDesc": "string",
- "multipleLicensesFulfillment": true,
- "name": "string",
- "netAmount": 0.1,
- "numberOfDaysBeforeRenewalRemote": 0,
- "physical": true,
- "price": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": null,
- "code": null,
- "discountExternalContext": null,
- "id": null,
- "label": null
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "priceFunctionParameters": {
- "property1": "string",
- "property2": "string"
}, - "productFamily": "string",
- "productId": "string",
- "productType": "string",
- "publisherRefId": "string",
- "quantity": 0,
- "relatedContents": [
- {
- "file": "string",
- "label": "string"
}
], - "releaseDate": "2019-08-24T14:15:22Z",
- "remoteLicenseExpirationDate": "2019-08-24T14:15:22Z",
- "renewingPrice": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": null,
- "code": null,
- "discountExternalContext": null,
- "id": null,
- "label": null
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "shortDesc": "string",
- "signedProduct": "string",
- "subscriptionTemplate": "string",
- "taxCode": "string",
- "taxExempt": true,
- "thankYouDesc": "string",
- "trial": true,
- "trialDuration": 0,
- "unitPrice": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": null,
- "code": null,
- "discountExternalContext": null,
- "id": null,
- "label": null
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "variablesDetails": {
- "property1": {
- "desc": "string",
- "label": "string",
- "value": { }
}, - "property2": {
- "desc": "string",
- "label": "string",
- "value": { }
}
}, - "vatAmount": 0.1,
- "vatRate": 0.1
}
], - "marketingCampaignNames": [
- "mktop1"
], - "maxPaymentsParts": 1,
- "minPartialPaymentAmount": 5,
- "modelVersion": "string",
- "numberOfInstallments": 1,
- "offerSubSource": "RESUME | SUSPEND",
- "parentOrderId": "2G4NAYY4K23",
- "payment": {
- "actionRequired": true,
- "amount": 0.1,
- "asyncContext": "string",
- "captured": true,
- "delayToNotify": 0,
- "externalContext": "string",
- "informativeDPStatus": "string",
- "informativeFraudCheck": true,
- "magicalCardDetected": true,
- "mailPaymentConfirmationStatus": "NONE",
- "mailPaymentFailureStatus": "NONE",
- "methodId": "string",
- "methodType": "string",
- "onPaymentClickRedirectUrl": "string",
- "paymentId": "string",
- "paymentTypeId": "string",
- "previousOrderId": "string",
- "processingEvent": [
- {
- "createDate": 0,
- "message": "string",
- "metadata": {
- "property1": { },
- "property2": { }
}, - "name": "string",
- "source": "string",
- "status": "string"
}
], - "proformaError": "string",
- "proformaId": "string",
- "refundStatus": "NONE",
- "remitteds": [
- {
- "id": "string",
- "name": "string",
- "remittanceAmount": 0.1,
- "remittanceRate": 0.1,
- "round": 0
}
], - "replayedTransactionId": "string",
- "status": "NONE",
- "transactionId": "string",
- "transitionPaymentDate": "2019-08-24T14:15:22Z"
}, - "paymentDeadline": 1616143889109,
- "paymentDeadlineReached": true,
- "paymentOfflineReminderSent": true,
- "paymentStatus": "NONE",
- "payments": [
- {
- "actionRequired": true,
- "amount": 0.1,
- "asyncContext": "string",
- "captured": true,
- "delayToNotify": 0,
- "externalContext": "string",
- "informativeDPStatus": "string",
- "informativeFraudCheck": true,
- "magicalCardDetected": true,
- "mailPaymentConfirmationStatus": "NONE",
- "mailPaymentFailureStatus": "NONE",
- "methodId": "string",
- "methodType": "string",
- "onPaymentClickRedirectUrl": "string",
- "paymentId": "string",
- "paymentTypeId": "string",
- "previousOrderId": "string",
- "processingEvent": [
- {
- "createDate": 0,
- "message": "string",
- "metadata": {
- "property1": { },
- "property2": { }
}, - "name": "string",
- "source": "string",
- "status": "string"
}
], - "proformaError": "string",
- "proformaId": "string",
- "refundStatus": "NONE",
- "remitteds": [
- {
- "id": "string",
- "name": "string",
- "remittanceAmount": 0.1,
- "remittanceRate": 0.1,
- "round": 0
}
], - "replayedTransactionId": "string",
- "status": "NONE",
- "transactionId": "string",
- "transitionPaymentDate": "2019-08-24T14:15:22Z"
}
], - "prebillingStatus": "NONE",
- "promoteOneClickPayment": false,
- "registerPaymentMethodStatus": "NONE",
- "remainingTotalAmount": 0.1,
- "remitteds": [
- {
- "id": "string",
- "name": "string",
- "remittanceAmount": 0.1,
- "remittanceRate": 0.1,
- "round": 0
}
], - "salesFlag": "string",
- "salesFlags": [
- "string"
], - "scenario": "acquisition",
- "source": "PURCHASE | SUBSCRIPTION | MANUAL_RENEWAL | BILLING_PLAN | OFFER | UPGRADE",
- "status": "CANCELED_WITH_ERROR",
- "store": {
- "allowOrderDetailsOnCheckoutConfirmation": true,
- "bannerInvoice": "string",
- "bannerOrderConfEmail": "string",
- "id": "string",
- "name": "string"
}, - "storeHostname": "mystore.nexway.com",
- "subscriptionId": "119e3e2a-596a-11eb-ae93-0242ac130002",
- "subscriptionLayout": true,
- "subscriptionStatus": "NONE",
- "subscriptionSubSource": "TRIAL_CONVERSION | RENEWAL",
- "subsidiaryId": "d4beee32-5969-11eb-ae93-0242ac130002",
- "taxDeclaration": {
- "additionalProperties": {
- "property1": "string",
- "property2": "string"
}, - "broker": "AVALARA",
- "refundStatus": "FAILED",
- "refundTransactionId": "FR-20-001261481",
- "status": "COMPLETED",
- "transactionId": "FR-21-001514102"
}, - "taxTransactionId": "288d5056-d9c5-46c7-b7d8-954f45f399a4",
- "taxTypes": [
- {
- "amount": 0.1,
- "rate": 0.1,
- "taxName": "string"
}
], - "testOrder": false,
- "totalAmount": 102.5,
- "updateDate": "2019-08-24T14:15:22Z",
- "vatRate": 0.2,
- "warnings": [
- {
- "field": "string",
- "message": "string"
}
]
}
], - "last": true,
- "number": 0,
- "size": 0,
- "totalItems": 0,
- "totalPages": 0
}
Create an item
Authorizations:
Request Body schema: application/jsonrequired
allowPaymentMethodRegistration | boolean Payment method registration authorized |
cartId | string Reference ID of cart service |
cartVersion | integer <int64> Cart version |
endUserId | string Reference ID of the end-user |
endUserIp | string End-user IP used during purchase |
generationId | string Declarative reference ID of the generation of the subscription |
layout | string Define if we used a subscription layout on cart |
layoutName | string Real layout name defined in NC |
paymentDeadline | integer <int64> Payment deadline (timestamp) |
paymentMethodId | string Payment method reference ID of end-user wallet payment method to use to process payment |
previousOrderId | string Previous order reference ID to re-use payment method to process payment |
subscriptionId | string Reference ID of subscription service |
subscriptionLayout | boolean Only used for receipt confirmation if true |
subscriptionSubSource | string Enum: "TRIAL_CONVERSION" "RENEWAL" Purchase's sub source |
withPrebilling | boolean Request pre-billing step execution |
Responses
Request samples
- Payload
{- "allowPaymentMethodRegistration": true,
- "cartId": "string",
- "cartVersion": 0,
- "endUserId": "string",
- "endUserIp": "string",
- "generationId": "string",
- "layout": "string",
- "layoutName": "string",
- "paymentDeadline": 0,
- "paymentMethodId": "string",
- "previousOrderId": "string",
- "subscriptionId": "string",
- "subscriptionLayout": true,
- "subscriptionSubSource": "TRIAL_CONVERSION,RENEWAL",
- "withPrebilling": true
}
Response samples
- 201
- 401
- 403
- 404
- 500
{- "allowPaymentMethodRegistration": false,
- "avaTaxStatus": "NONE",
- "billingPlanId": "25aaceea-5a34-11eb-ae93-0242ac130002",
- "billingPlanPeriod": "2023-12",
- "cancelPeriod": 14,
- "cartId": "f3fb782e-5969-11eb-ae93-0242ac130002",
- "cartIp": "127.0.0.1",
- "catalogId": "88960ca8-5af8-11eb-ae93-0242ac130002",
- "consentFlags": {
- "newsletterOptin": true
}, - "consentId": "64f2d71c-5af9-11eb-ae93-0242ac130002",
- "createDate": "2019-08-24T14:15:22Z",
- "creditNotes": [
- {
- "cancellationReason": "string",
- "date": "2019-08-24T14:15:22Z",
- "id": "string",
- "type": "PARTIAL"
}
], - "currency": "EUR, USD, GBP ...",
- "customer": {
- "features": {
- "createInvoice": true,
- "sendOrderConfirmationEmail": true,
- "usingFulfillmentV1": true,
- "usingSubscriptionV1": true
}, - "id": "string",
- "name": "string",
- "status": "string"
}, - "customerName": "string",
- "dbVersion": 0,
- "electronicInvoiceStatus": "NONE",
- "emailCancellationStatus": "NONE",
- "emailConfirmationStatus": "NONE",
- "emails": [
- {
- "createDate": 0,
- "emailId": "string",
- "message": "string",
- "paymentId": "string",
- "preorderProductId": "string",
- "recipient": "string",
- "templateDefinitionName": "string",
- "templateName": "string"
}
], - "endUser": {
- "accountCreated": true,
- "accountExists": true,
- "birthDate": "2019-08-24T14:15:22Z",
- "city": "Nîmes",
- "company": {
- "apeCode": "string",
- "cnpj": "string",
- "companyName": "string",
- "fullRegistrationNumber": "string",
- "registrationNumber": "string",
- "vatNumber": "string"
}, - "consumerType": "company",
- "country": "FR",
- "cpf": "string",
- "firstName": "John",
- "id": "0da71031-d6e5-48b4-bd28-7094f3c71a0b",
- "lastName": "Doe",
- "locale": "fr-FR",
- "phone": "07 00 00 00 00",
- "recipientCode": "string",
- "region": "Occitanie",
- "storeId": "9762480d-4c3d-4aea-9a75-236eb5f482c3",
- "streetAddress": "19 Avenue Feuchères",
- "taxExemptionEligible": true,
- "title": "M",
- "token": "string",
- "type": "string",
- "zipCode": "30000"
}, - "endUserCreationStatus": "NONE",
- "endUserIp": "127.0.0.1",
- "externalContext": "myExternalContext",
- "fulfillmentStatus": "NONE",
- "fullCreditNoteStatus": "NONE",
- "fullTotalAmount": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "generationId": "1",
- "geoZones": "Africa",
- "id": "string",
- "initialCurrency": "EUR, USD, GBP ...",
- "invoice": {
- "date": "2019-08-24T14:15:22Z",
- "id": "string",
- "type": "string"
}, - "invoiceStatus": "NONE",
- "lastUpdateReason": "string",
- "layout": "string",
- "layoutName": "string",
- "lifeCycleStatus": "PREBILLING_PENDING",
- "lineItems": [
- {
- "activationLink": {
- "enabled": true,
- "providerId": "string",
- "qrCodeBase64": [
- "string"
], - "qrCodeDisabled": true,
- "url": "string"
}, - "amount": 0.1,
- "businessSegment": "string",
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "customFieldsId": "string",
- "discountAmount": 0.1,
- "discountPlan": {
- "discountStep": 0,
- "ignorePurchaseDiscount": true,
- "tag": "string"
}, - "discountRate": 0.1,
- "emailDesc": "string",
- "existingLicenseId": "string",
- "expirationDate": "2019-08-24T14:15:22Z",
- "externalContext": "string",
- "fraudPoints": 0,
- "fulfillmentTemplate": "string",
- "fulfillmentTemplateName": "string",
- "id": "string",
- "initialAmount": 0.1,
- "initialNetAmount": 0.1,
- "initialVatAmount": 0.1,
- "licenseId": "string",
- "licenseNextExpirationDate": "string",
- "lifeTime": "string",
- "longDesc": "string",
- "multipleLicensesFulfillment": true,
- "name": "string",
- "netAmount": 0.1,
- "numberOfDaysBeforeRenewalRemote": 0,
- "physical": true,
- "price": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "priceFunctionParameters": {
- "property1": "string",
- "property2": "string"
}, - "productFamily": "string",
- "productId": "string",
- "productType": "string",
- "publisherRefId": "string",
- "quantity": 0,
- "relatedContents": [
- {
- "file": "string",
- "label": "string"
}
], - "releaseDate": "2019-08-24T14:15:22Z",
- "remoteLicenseExpirationDate": "2019-08-24T14:15:22Z",
- "renewingPrice": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "shortDesc": "string",
- "signedProduct": "string",
- "subscriptionTemplate": "string",
- "taxCode": "string",
- "taxExempt": true,
- "thankYouDesc": "string",
- "trial": true,
- "trialDuration": 0,
- "unitPrice": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "variablesDetails": {
- "property1": {
- "desc": "string",
- "label": "string",
- "value": { }
}, - "property2": {
- "desc": "string",
- "label": "string",
- "value": { }
}
}, - "vatAmount": 0.1,
- "vatRate": 0.1
}
], - "marketingCampaignNames": [
- "mktop1"
], - "maxPaymentsParts": 1,
- "minPartialPaymentAmount": 5,
- "modelVersion": "string",
- "numberOfInstallments": 1,
- "offerSubSource": "RESUME | SUSPEND",
- "parentOrderId": "2G4NAYY4K23",
- "payment": {
- "actionRequired": true,
- "amount": 0.1,
- "asyncContext": "string",
- "captured": true,
- "delayToNotify": 0,
- "externalContext": "string",
- "informativeDPStatus": "string",
- "informativeFraudCheck": true,
- "magicalCardDetected": true,
- "mailPaymentConfirmationStatus": "NONE",
- "mailPaymentFailureStatus": "NONE",
- "methodId": "string",
- "methodType": "string",
- "onPaymentClickRedirectUrl": "string",
- "paymentId": "string",
- "paymentTypeId": "string",
- "previousOrderId": "string",
- "processingEvent": [
- {
- "createDate": 0,
- "message": "string",
- "metadata": {
- "property1": { },
- "property2": { }
}, - "name": "string",
- "source": "string",
- "status": "string"
}
], - "proformaError": "string",
- "proformaId": "string",
- "refundStatus": "NONE",
- "remitteds": [
- {
- "id": "string",
- "name": "string",
- "remittanceAmount": 0.1,
- "remittanceRate": 0.1,
- "round": 0
}
], - "replayedTransactionId": "string",
- "status": "NONE",
- "transactionId": "string",
- "transitionPaymentDate": "2019-08-24T14:15:22Z"
}, - "paymentDeadline": 1616143889109,
- "paymentDeadlineReached": true,
- "paymentOfflineReminderSent": true,
- "paymentStatus": "NONE",
- "payments": [
- {
- "actionRequired": true,
- "amount": 0.1,
- "asyncContext": "string",
- "captured": true,
- "delayToNotify": 0,
- "externalContext": "string",
- "informativeDPStatus": "string",
- "informativeFraudCheck": true,
- "magicalCardDetected": true,
- "mailPaymentConfirmationStatus": "NONE",
- "mailPaymentFailureStatus": "NONE",
- "methodId": "string",
- "methodType": "string",
- "onPaymentClickRedirectUrl": "string",
- "paymentId": "string",
- "paymentTypeId": "string",
- "previousOrderId": "string",
- "processingEvent": [
- {
- "createDate": 0,
- "message": "string",
- "metadata": {
- "property1": { },
- "property2": { }
}, - "name": "string",
- "source": "string",
- "status": "string"
}
], - "proformaError": "string",
- "proformaId": "string",
- "refundStatus": "NONE",
- "remitteds": [
- {
- "id": "string",
- "name": "string",
- "remittanceAmount": 0.1,
- "remittanceRate": 0.1,
- "round": 0
}
], - "replayedTransactionId": "string",
- "status": "NONE",
- "transactionId": "string",
- "transitionPaymentDate": "2019-08-24T14:15:22Z"
}
], - "prebillingStatus": "NONE",
- "promoteOneClickPayment": false,
- "registerPaymentMethodStatus": "NONE",
- "remainingTotalAmount": 0.1,
- "remitteds": [
- {
- "id": "string",
- "name": "string",
- "remittanceAmount": 0.1,
- "remittanceRate": 0.1,
- "round": 0
}
], - "salesFlag": "string",
- "salesFlags": [
- "string"
], - "scenario": "acquisition",
- "source": "PURCHASE | SUBSCRIPTION | MANUAL_RENEWAL | BILLING_PLAN | OFFER | UPGRADE",
- "status": "CANCELED_WITH_ERROR",
- "store": {
- "allowOrderDetailsOnCheckoutConfirmation": true,
- "bannerInvoice": "string",
- "bannerOrderConfEmail": "string",
- "id": "string",
- "name": "string"
}, - "storeHostname": "mystore.nexway.com",
- "subscriptionId": "119e3e2a-596a-11eb-ae93-0242ac130002",
- "subscriptionLayout": true,
- "subscriptionStatus": "NONE",
- "subscriptionSubSource": "TRIAL_CONVERSION | RENEWAL",
- "subsidiaryId": "d4beee32-5969-11eb-ae93-0242ac130002",
- "taxDeclaration": {
- "additionalProperties": {
- "property1": "string",
- "property2": "string"
}, - "broker": "AVALARA",
- "refundStatus": "FAILED",
- "refundTransactionId": "FR-20-001261481",
- "status": "COMPLETED",
- "transactionId": "FR-21-001514102"
}, - "taxTransactionId": "288d5056-d9c5-46c7-b7d8-954f45f399a4",
- "taxTypes": [
- {
- "amount": 0.1,
- "rate": 0.1,
- "taxName": "string"
}
], - "testOrder": false,
- "totalAmount": 102.5,
- "updateDate": "2019-08-24T14:15:22Z",
- "vatRate": 0.2,
- "warnings": [
- {
- "field": "string",
- "message": "string"
}
]
}
Update one line item data
Authorizations:
path Parameters
lineItemDataId required | string |
query Parameters
reason | string Default: "resource update thru REST Api" |
Request Body schema: application/jsonrequired
object | |||
|
Responses
Request samples
- Payload
[- {
- "metadata": {
- "property1": { },
- "property2": { }
}
}
]
Response samples
- 200
- 401
- 403
- 404
- 500
{- "activationCode": "string",
- "activationFileFulfillment": true,
- "activationLink": "string",
- "compatId": "string",
- "createDate": "2019-08-24T14:15:22Z",
- "creditNoteProcessingStatus": "NONE",
- "customerId": "string",
- "dbVersion": 0,
- "enduserId": "string",
- "fulfillmentOperationId": "string",
- "fulfillmentProcessingStatus": "NONE",
- "id": "string",
- "lastUpdateReason": "string",
- "lineItemId": "string",
- "modelVersion": "string",
- "nexwayFulfillmentId": "string",
- "orderId": "string",
- "preorderReleaseNotificationNeeded": true,
- "previousLineItemDataId": "string",
- "processingEvent": [
- {
- "createDate": 0,
- "message": "string",
- "metadata": {
- "property1": { },
- "property2": { }
}, - "name": "string",
- "source": "string",
- "status": "string"
}
], - "processingStatus": "CANCELED",
- "productId": "string",
- "publisherFulfillmentId": "string",
- "qrCodeBase64": "string",
- "reminderDays": 7,
- "subscriptionId": "string",
- "subscriptionProcessingStatus": "NONE",
- "updateDate": "2019-08-24T14:15:22Z"
}
Update one sub line item data
Authorizations:
path Parameters
lineItemDataId required | string |
subLineItemDataId required | string |
query Parameters
reason | string Default: "resource update thru REST Api" |
Request Body schema: application/jsonrequired
object | |||
|
Responses
Request samples
- Payload
[- {
- "metadata": {
- "property1": { },
- "property2": { }
}
}
]
Response samples
- 200
- 401
- 403
- 404
- 500
{- "activationCode": "string",
- "activationFileFulfillment": true,
- "activationLink": "string",
- "compatId": "string",
- "createDate": "2019-08-24T14:15:22Z",
- "creditNoteProcessingStatus": "NONE",
- "customerId": "string",
- "dbVersion": 0,
- "enduserId": "string",
- "fulfillmentOperationId": "string",
- "fulfillmentProcessingStatus": "NONE",
- "id": "string",
- "lastUpdateReason": "string",
- "lineItemId": "string",
- "modelVersion": "string",
- "nexwayFulfillmentId": "string",
- "orderId": "string",
- "preorderReleaseNotificationNeeded": true,
- "previousLineItemDataId": "string",
- "processingEvent": [
- {
- "createDate": 0,
- "message": "string",
- "metadata": {
- "property1": { },
- "property2": { }
}, - "name": "string",
- "source": "string",
- "status": "string"
}
], - "processingStatus": "CANCELED",
- "productId": "string",
- "publisherFulfillmentId": "string",
- "qrCodeBase64": "string",
- "reminderDays": 7,
- "subscriptionId": "string",
- "subscriptionProcessingStatus": "NONE",
- "updateDate": "2019-08-24T14:15:22Z"
}
Start order migration
Authorizations:
query Parameters
reason | string Default: "migration thru REST Api" |
Responses
Response samples
- 401
- 403
- 404
- 500
{- "details": [
- {
- "errorType": "string",
- "resourceDisplayName": "string",
- "resourceId": "string",
- "resourceType": "string",
- "specific": { }
}
], - "error": "string",
- "message": "string",
- "status": 0,
- "timestamp": 0
}
Start order migration by timeframe
Authorizations:
path Parameters
startDate required | string |
endDate required | string |
query Parameters
reason | string Default: "migration thru REST Api" |
Responses
Response samples
- 401
- 403
- 404
- 500
{- "details": [
- {
- "errorType": "string",
- "resourceDisplayName": "string",
- "resourceId": "string",
- "resourceType": "string",
- "specific": { }
}
], - "error": "string",
- "message": "string",
- "status": 0,
- "timestamp": 0
}
Start order migration by timeframe
Authorizations:
path Parameters
endDate required | string |
query Parameters
reason | string Default: "migration thru REST Api" |
Responses
Response samples
- 401
- 403
- 404
- 500
{- "details": [
- {
- "errorType": "string",
- "resourceDisplayName": "string",
- "resourceId": "string",
- "resourceType": "string",
- "specific": { }
}
], - "error": "string",
- "message": "string",
- "status": 0,
- "timestamp": 0
}
Start order migration by timeframe
Authorizations:
path Parameters
orderId required | string |
query Parameters
reason | string Default: "migration thru REST Api" |
Responses
Response samples
- 401
- 403
- 404
- 500
{- "details": [
- {
- "errorType": "string",
- "resourceDisplayName": "string",
- "resourceId": "string",
- "resourceType": "string",
- "specific": { }
}
], - "error": "string",
- "message": "string",
- "status": 0,
- "timestamp": 0
}
Get recap quantities for a given field
Authorizations:
query Parameters
target required | string |
required | object (Pageable) |
predicate required | object |
Responses
Response samples
- 200
- 401
- 403
- 404
- 500
{- "items": [
- {
- "count": 0,
- "targetValue": "string"
}
], - "last": true,
- "number": 0,
- "size": 0,
- "totalItems": 0,
- "totalPages": 0
}
Response samples
- 401
- 403
- 404
- 500
{- "details": [
- {
- "errorType": "string",
- "resourceDisplayName": "string",
- "resourceId": "string",
- "resourceType": "string",
- "specific": { }
}
], - "error": "string",
- "message": "string",
- "status": 0,
- "timestamp": 0
}
Resync order v2 to v1
Authorizations:
path Parameters
orderId required | string |
query Parameters
reason | string Default: "sync thru REST Api" |
Responses
Response samples
- 401
- 403
- 404
- 500
{- "details": [
- {
- "errorType": "string",
- "resourceDisplayName": "string",
- "resourceId": "string",
- "resourceType": "string",
- "specific": { }
}
], - "error": "string",
- "message": "string",
- "status": 0,
- "timestamp": 0
}
Create a subscription order Deprecated
Authorizations:
query Parameters
reason | string Default: "resource creation thru REST Api" |
Request Body schema: application/jsonrequired
Array of objects (LineItemData) | |
object (Order) |
Responses
Request samples
- Payload
{- "lineItemDataList": [
- {
- "activationCode": "string",
- "activationFileFulfillment": true,
- "activationLink": "string",
- "compatId": "string",
- "createDate": "2019-08-24T14:15:22Z",
- "creditNoteProcessingStatus": "NONE",
- "customerId": "string",
- "dbVersion": 0,
- "enduserId": "string",
- "fulfillmentOperationId": "string",
- "fulfillmentProcessingStatus": "NONE",
- "id": "string",
- "lastUpdateReason": "string",
- "lineItemId": "string",
- "modelVersion": "string",
- "nexwayFulfillmentId": "string",
- "orderId": "string",
- "originalId": "string",
- "preorderReleaseNotificationNeeded": true,
- "previousLineItemDataId": "string",
- "processingEvent": [
- {
- "metadata": {
- "property1": { },
- "property2": { }
}
}
], - "processingStatus": "CANCELED",
- "productId": "string",
- "publisherFulfillmentId": "string",
- "qrCodeBase64": "string",
- "reminderDays": 7,
- "subscriptionId": "string",
- "subscriptionProcessingStatus": "NONE",
- "updateDate": "2019-08-24T14:15:22Z"
}
], - "order": {
- "allowPaymentMethodRegistration": false,
- "avaTaxStatus": "NONE",
- "billingPlanId": "25aaceea-5a34-11eb-ae93-0242ac130002",
- "billingPlanPeriod": "2023-12",
- "cancelPeriod": 14,
- "cartId": "f3fb782e-5969-11eb-ae93-0242ac130002",
- "cartIp": "127.0.0.1",
- "catalogId": "88960ca8-5af8-11eb-ae93-0242ac130002",
- "consentFlags": {
- "newsletterOptin": true
}, - "consentId": "64f2d71c-5af9-11eb-ae93-0242ac130002",
- "createDate": "2019-08-24T14:15:22Z",
- "creditNoteDate": "string",
- "creditNotes": [
- {
- "cancellationReason": "string",
- "date": "2019-08-24T14:15:22Z",
- "id": "string",
- "type": "PARTIAL"
}
], - "currency": "EUR, USD, GBP ...",
- "customer": {
- "features": {
- "createInvoice": true,
- "sendOrderConfirmationEmail": true,
- "usingFulfillmentV1": true,
- "usingSubscriptionV1": true
}, - "multiplePaymentsValidityDuration": 0,
- "name": "string",
- "quoteSubscriptionValidityDuration": 0,
- "quoteValidityDuration": 0,
- "retryPaymentValidityDuration": 0
}, - "customerName": "string",
- "dbVersion": 0,
- "electronicInvoiceStatus": "NONE",
- "emailCancellationStatus": "NONE",
- "emailConfirmationStatus": "NONE",
- "emails": [
- {
- "createDate": 0,
- "emailId": "string",
- "message": "string",
- "paymentId": "string",
- "preorderProductId": "string",
- "recipient": "string",
- "templateDefinitionName": "string",
- "templateName": "string"
}
], - "endUser": {
- "accountCreated": true,
- "accountExists": true,
- "birthDate": "2019-08-24T14:15:22Z",
- "city": "Nîmes",
- "company": {
- "apeCode": "string",
- "cnpj": "string",
- "companyName": "string",
- "fullRegistrationNumber": "string",
- "registrationNumber": "string",
- "vatNumber": "string"
}, - "consumerType": "company",
- "country": "FR",
- "cpf": "string",
- "firstName": "John",
- "id": "0da71031-d6e5-48b4-bd28-7094f3c71a0b",
- "lastName": "Doe",
- "locale": "fr-FR",
- "phone": "07 00 00 00 00",
- "recipientCode": "string",
- "region": "Occitanie",
- "storeId": "9762480d-4c3d-4aea-9a75-236eb5f482c3",
- "streetAddress": "19 Avenue Feuchères",
- "taxExemptionEligible": true,
- "title": "M",
- "token": "string",
- "type": "string",
- "zipCode": "30000"
}, - "endUserCreationStatus": "NONE",
- "endUserIp": "127.0.0.1",
- "externalContext": "myExternalContext",
- "fulfillmentStatus": "NONE",
- "fullCreditNoteStatus": "NONE",
- "fullTotalAmount": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "netPrice": 0.1,
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatRate": 0.1
}, - "generationId": "1",
- "geoZones": "Africa",
- "id": "string",
- "initialCurrency": "EUR, USD, GBP ...",
- "invoice": {
- "date": "2019-08-24T14:15:22Z",
- "id": "string",
- "type": "string"
}, - "invoiceStatus": "NONE",
- "lastUpdateReason": "string",
- "layout": "string",
- "layoutName": "string",
- "lifeCycleStatus": "PREBILLING_PENDING",
- "lineItems": [
- {
- "activationLink": {
- "enabled": true,
- "providerId": "string",
- "qrCodeBase64": [
- "string"
], - "qrCodeDisabled": true,
- "url": "string"
}, - "amount": 0.1,
- "businessSegment": "string",
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "customFieldsId": "string",
- "discountAmount": 0.1,
- "discountPlan": {
- "discountStep": 0,
- "ignorePurchaseDiscount": true,
- "tag": "string"
}, - "discountRate": 0.1,
- "emailDesc": "string",
- "existingLicenseId": "string",
- "expirationDate": "2019-08-24T14:15:22Z",
- "externalContext": "string",
- "fraudPoints": 0,
- "fulfillmentTemplate": "string",
- "fulfillmentTemplateName": "string",
- "id": "string",
- "initialAmount": 0.1,
- "initialNetAmount": 0.1,
- "initialVatAmount": 0.1,
- "licenseId": "string",
- "licenseNextExpirationDate": "string",
- "lifeTime": "string",
- "longDesc": "string",
- "multipleLicensesFulfillment": true,
- "name": "string",
- "netAmount": 0.1,
- "numberOfDaysBeforeRenewalRemote": 0,
- "physical": true,
- "price": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "netPrice": 0.1,
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatRate": 0.1
}, - "priceFunctionParameters": {
- "property1": "string",
- "property2": "string"
}, - "productFamily": "string",
- "productId": "string",
- "productType": "string",
- "publisherRefId": "string",
- "quantity": 0,
- "relatedContents": [
- {
- "file": "string",
- "label": "string"
}
], - "releaseDate": "2019-08-24T14:15:22Z",
- "remoteLicenseExpirationDate": "2019-08-24T14:15:22Z",
- "renewingPrice": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "netPrice": 0.1,
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatRate": 0.1
}, - "shortDesc": "string",
- "signedProduct": "string",
- "subscriptionTemplate": "string",
- "taxCode": "string",
- "taxExempt": true,
- "thankYouDesc": "string",
- "trial": true,
- "trialDuration": 0,
- "unitPrice": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "netPrice": 0.1,
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatRate": 0.1
}, - "variablesDetails": {
- "property1": {
- "desc": "string",
- "label": "string",
- "value": { }
}, - "property2": {
- "desc": "string",
- "label": "string",
- "value": { }
}
}, - "vatAmount": 0.1,
- "vatRate": 0.1
}
], - "marketingCampaignNames": [
- "mktop1"
], - "maxPaymentsParts": 1,
- "minPartialPaymentAmount": 5,
- "modelVersion": "string",
- "numberOfInstallments": 1,
- "offerSubSource": "RESUME | SUSPEND",
- "originalId": "string",
- "parentOrderId": "2G4NAYY4K23",
- "payment": {
- "actionRequired": true,
- "amount": 0.1,
- "asyncContext": "string",
- "captured": true,
- "delayToNotify": 0,
- "externalContext": "string",
- "informativeDPStatus": "string",
- "informativeFraudCheck": true,
- "magicalCardDetected": true,
- "mailPaymentConfirmationStatus": "NONE",
- "mailPaymentFailureStatus": "NONE",
- "methodId": "string",
- "methodType": "string",
- "onPaymentClickRedirectUrl": "string",
- "paymentId": "string",
- "paymentTypeId": "string",
- "previousOrderId": "string",
- "processingEvent": [
- {
- "metadata": {
- "property1": { },
- "property2": { }
}
}
], - "proformaError": "string",
- "proformaId": "string",
- "refundStatus": "NONE",
- "remitteds": [
- {
- "id": "string",
- "name": "string",
- "remittanceAmount": 0.1,
- "remittanceRate": 0.1,
- "round": 0
}
], - "replayedTransactionId": "string",
- "status": "NONE",
- "transactionId": "string",
- "transitionPaymentDate": "2019-08-24T14:15:22Z"
}, - "paymentDeadline": 1616143889109,
- "paymentDeadlineReached": true,
- "paymentOfflineReminderSent": true,
- "paymentStatus": "NONE",
- "payments": [
- {
- "actionRequired": true,
- "amount": 0.1,
- "asyncContext": "string",
- "captured": true,
- "delayToNotify": 0,
- "externalContext": "string",
- "informativeDPStatus": "string",
- "informativeFraudCheck": true,
- "magicalCardDetected": true,
- "mailPaymentConfirmationStatus": "NONE",
- "mailPaymentFailureStatus": "NONE",
- "methodId": "string",
- "methodType": "string",
- "onPaymentClickRedirectUrl": "string",
- "paymentId": "string",
- "paymentTypeId": "string",
- "previousOrderId": "string",
- "processingEvent": [
- {
- "metadata": {
- "property1": { },
- "property2": { }
}
}
], - "proformaError": "string",
- "proformaId": "string",
- "refundStatus": "NONE",
- "remitteds": [
- {
- "id": "string",
- "name": "string",
- "remittanceAmount": 0.1,
- "remittanceRate": 0.1,
- "round": 0
}
], - "replayedTransactionId": "string",
- "status": "NONE",
- "transactionId": "string",
- "transitionPaymentDate": "2019-08-24T14:15:22Z"
}
], - "prebillingStatus": "NONE",
- "price": "string",
- "promoteOneClickPayment": false,
- "registerPaymentMethodStatus": "NONE",
- "remainingTotalAmount": 0.1,
- "remitteds": [
- {
- "id": "string",
- "name": "string",
- "remittanceAmount": 0.1,
- "remittanceRate": 0.1,
- "round": 0
}
], - "salesFlag": "string",
- "salesFlags": [
- "string"
], - "scenario": "acquisition",
- "source": "PURCHASE | SUBSCRIPTION | MANUAL_RENEWAL | BILLING_PLAN | OFFER | UPGRADE",
- "status": "CANCELED_WITH_ERROR",
- "store": {
- "allowOrderDetailsOnCheckoutConfirmation": true,
- "allowQuotes": true,
- "bannerInvoice": "string",
- "bannerOrderConfEmail": "string",
- "id": "string",
- "multiplePaymentsValidityDuration": 0,
- "name": "string",
- "quoteSubscriptionValidityDuration": 0,
- "quoteValidityDuration": 0,
- "retryPaymentValidityDuration": 0,
- "routes": [
- {
- "hostname": "string",
- "pathPrefix": "string"
}
]
}, - "storeHostname": "mystore.nexway.com",
- "subscriptionId": "119e3e2a-596a-11eb-ae93-0242ac130002",
- "subscriptionLayout": true,
- "subscriptionStatus": "NONE",
- "subscriptionSubSource": "TRIAL_CONVERSION | RENEWAL",
- "subsidiaryId": "d4beee32-5969-11eb-ae93-0242ac130002",
- "taxDeclaration": {
- "additionalProperties": {
- "property1": "string",
- "property2": "string"
}, - "broker": "AVALARA",
- "refundStatus": "FAILED",
- "refundTransactionId": "FR-20-001261481",
- "status": "COMPLETED",
- "transactionId": "FR-21-001514102"
}, - "taxTransactionId": "288d5056-d9c5-46c7-b7d8-954f45f399a4",
- "taxTypes": [
- {
- "amount": 0.1,
- "rate": 0.1,
- "taxName": "string"
}
], - "testOrder": false,
- "totalAmount": 102.5,
- "updateDate": "2019-08-24T14:15:22Z",
- "vatRate": 0.2,
- "warnings": [
- {
- "field": "string",
- "message": "string"
}
]
}
}
Response samples
- 201
- 401
- 403
- 404
- 500
{- "allowPaymentMethodRegistration": false,
- "avaTaxStatus": "NONE",
- "billingPlanId": "25aaceea-5a34-11eb-ae93-0242ac130002",
- "billingPlanPeriod": "2023-12",
- "cancelPeriod": 14,
- "cartId": "f3fb782e-5969-11eb-ae93-0242ac130002",
- "cartIp": "127.0.0.1",
- "catalogId": "88960ca8-5af8-11eb-ae93-0242ac130002",
- "consentFlags": {
- "newsletterOptin": true
}, - "consentId": "64f2d71c-5af9-11eb-ae93-0242ac130002",
- "createDate": "2019-08-24T14:15:22Z",
- "creditNotes": [
- {
- "cancellationReason": "string",
- "date": "2019-08-24T14:15:22Z",
- "id": "string",
- "type": "PARTIAL"
}
], - "currency": "EUR, USD, GBP ...",
- "customer": {
- "features": {
- "createInvoice": true,
- "sendOrderConfirmationEmail": true,
- "usingFulfillmentV1": true,
- "usingSubscriptionV1": true
}, - "id": "string",
- "name": "string",
- "status": "string"
}, - "customerName": "string",
- "dbVersion": 0,
- "electronicInvoiceStatus": "NONE",
- "emailCancellationStatus": "NONE",
- "emailConfirmationStatus": "NONE",
- "emails": [
- {
- "createDate": 0,
- "emailId": "string",
- "message": "string",
- "paymentId": "string",
- "preorderProductId": "string",
- "recipient": "string",
- "templateDefinitionName": "string",
- "templateName": "string"
}
], - "endUser": {
- "accountCreated": true,
- "accountExists": true,
- "birthDate": "2019-08-24T14:15:22Z",
- "city": "Nîmes",
- "company": {
- "apeCode": "string",
- "cnpj": "string",
- "companyName": "string",
- "fullRegistrationNumber": "string",
- "registrationNumber": "string",
- "vatNumber": "string"
}, - "consumerType": "company",
- "country": "FR",
- "cpf": "string",
- "firstName": "John",
- "id": "0da71031-d6e5-48b4-bd28-7094f3c71a0b",
- "lastName": "Doe",
- "locale": "fr-FR",
- "phone": "07 00 00 00 00",
- "recipientCode": "string",
- "region": "Occitanie",
- "storeId": "9762480d-4c3d-4aea-9a75-236eb5f482c3",
- "streetAddress": "19 Avenue Feuchères",
- "taxExemptionEligible": true,
- "title": "M",
- "token": "string",
- "type": "string",
- "zipCode": "30000"
}, - "endUserCreationStatus": "NONE",
- "endUserIp": "127.0.0.1",
- "externalContext": "myExternalContext",
- "fulfillmentStatus": "NONE",
- "fullCreditNoteStatus": "NONE",
- "fullTotalAmount": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "generationId": "1",
- "geoZones": "Africa",
- "id": "string",
- "initialCurrency": "EUR, USD, GBP ...",
- "invoice": {
- "date": "2019-08-24T14:15:22Z",
- "id": "string",
- "type": "string"
}, - "invoiceStatus": "NONE",
- "lastUpdateReason": "string",
- "layout": "string",
- "layoutName": "string",
- "lifeCycleStatus": "PREBILLING_PENDING",
- "lineItems": [
- {
- "activationLink": {
- "enabled": true,
- "providerId": "string",
- "qrCodeBase64": [
- "string"
], - "qrCodeDisabled": true,
- "url": "string"
}, - "amount": 0.1,
- "businessSegment": "string",
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "customFieldsId": "string",
- "discountAmount": 0.1,
- "discountPlan": {
- "discountStep": 0,
- "ignorePurchaseDiscount": true,
- "tag": "string"
}, - "discountRate": 0.1,
- "emailDesc": "string",
- "existingLicenseId": "string",
- "expirationDate": "2019-08-24T14:15:22Z",
- "externalContext": "string",
- "fraudPoints": 0,
- "fulfillmentTemplate": "string",
- "fulfillmentTemplateName": "string",
- "id": "string",
- "initialAmount": 0.1,
- "initialNetAmount": 0.1,
- "initialVatAmount": 0.1,
- "licenseId": "string",
- "licenseNextExpirationDate": "string",
- "lifeTime": "string",
- "longDesc": "string",
- "multipleLicensesFulfillment": true,
- "name": "string",
- "netAmount": 0.1,
- "numberOfDaysBeforeRenewalRemote": 0,
- "physical": true,
- "price": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "priceFunctionParameters": {
- "property1": "string",
- "property2": "string"
}, - "productFamily": "string",
- "productId": "string",
- "productType": "string",
- "publisherRefId": "string",
- "quantity": 0,
- "relatedContents": [
- {
- "file": "string",
- "label": "string"
}
], - "releaseDate": "2019-08-24T14:15:22Z",
- "remoteLicenseExpirationDate": "2019-08-24T14:15:22Z",
- "renewingPrice": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "shortDesc": "string",
- "signedProduct": "string",
- "subscriptionTemplate": "string",
- "taxCode": "string",
- "taxExempt": true,
- "thankYouDesc": "string",
- "trial": true,
- "trialDuration": 0,
- "unitPrice": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "variablesDetails": {
- "property1": {
- "desc": "string",
- "label": "string",
- "value": { }
}, - "property2": {
- "desc": "string",
- "label": "string",
- "value": { }
}
}, - "vatAmount": 0.1,
- "vatRate": 0.1
}
], - "marketingCampaignNames": [
- "mktop1"
], - "maxPaymentsParts": 1,
- "minPartialPaymentAmount": 5,
- "modelVersion": "string",
- "numberOfInstallments": 1,
- "offerSubSource": "RESUME | SUSPEND",
- "parentOrderId": "2G4NAYY4K23",
- "payment": {
- "actionRequired": true,
- "amount": 0.1,
- "asyncContext": "string",
- "captured": true,
- "delayToNotify": 0,
- "externalContext": "string",
- "informativeDPStatus": "string",
- "informativeFraudCheck": true,
- "magicalCardDetected": true,
- "mailPaymentConfirmationStatus": "NONE",
- "mailPaymentFailureStatus": "NONE",
- "methodId": "string",
- "methodType": "string",
- "onPaymentClickRedirectUrl": "string",
- "paymentId": "string",
- "paymentTypeId": "string",
- "previousOrderId": "string",
- "processingEvent": [
- {
- "createDate": 0,
- "message": "string",
- "metadata": {
- "property1": { },
- "property2": { }
}, - "name": "string",
- "source": "string",
- "status": "string"
}
], - "proformaError": "string",
- "proformaId": "string",
- "refundStatus": "NONE",
- "remitteds": [
- {
- "id": "string",
- "name": "string",
- "remittanceAmount": 0.1,
- "remittanceRate": 0.1,
- "round": 0
}
], - "replayedTransactionId": "string",
- "status": "NONE",
- "transactionId": "string",
- "transitionPaymentDate": "2019-08-24T14:15:22Z"
}, - "paymentDeadline": 1616143889109,
- "paymentDeadlineReached": true,
- "paymentOfflineReminderSent": true,
- "paymentStatus": "NONE",
- "payments": [
- {
- "actionRequired": true,
- "amount": 0.1,
- "asyncContext": "string",
- "captured": true,
- "delayToNotify": 0,
- "externalContext": "string",
- "informativeDPStatus": "string",
- "informativeFraudCheck": true,
- "magicalCardDetected": true,
- "mailPaymentConfirmationStatus": "NONE",
- "mailPaymentFailureStatus": "NONE",
- "methodId": "string",
- "methodType": "string",
- "onPaymentClickRedirectUrl": "string",
- "paymentId": "string",
- "paymentTypeId": "string",
- "previousOrderId": "string",
- "processingEvent": [
- {
- "createDate": 0,
- "message": "string",
- "metadata": {
- "property1": { },
- "property2": { }
}, - "name": "string",
- "source": "string",
- "status": "string"
}
], - "proformaError": "string",
- "proformaId": "string",
- "refundStatus": "NONE",
- "remitteds": [
- {
- "id": "string",
- "name": "string",
- "remittanceAmount": 0.1,
- "remittanceRate": 0.1,
- "round": 0
}
], - "replayedTransactionId": "string",
- "status": "NONE",
- "transactionId": "string",
- "transitionPaymentDate": "2019-08-24T14:15:22Z"
}
], - "prebillingStatus": "NONE",
- "promoteOneClickPayment": false,
- "registerPaymentMethodStatus": "NONE",
- "remainingTotalAmount": 0.1,
- "remitteds": [
- {
- "id": "string",
- "name": "string",
- "remittanceAmount": 0.1,
- "remittanceRate": 0.1,
- "round": 0
}
], - "salesFlag": "string",
- "salesFlags": [
- "string"
], - "scenario": "acquisition",
- "source": "PURCHASE | SUBSCRIPTION | MANUAL_RENEWAL | BILLING_PLAN | OFFER | UPGRADE",
- "status": "CANCELED_WITH_ERROR",
- "store": {
- "allowOrderDetailsOnCheckoutConfirmation": true,
- "bannerInvoice": "string",
- "bannerOrderConfEmail": "string",
- "id": "string",
- "name": "string"
}, - "storeHostname": "mystore.nexway.com",
- "subscriptionId": "119e3e2a-596a-11eb-ae93-0242ac130002",
- "subscriptionLayout": true,
- "subscriptionStatus": "NONE",
- "subscriptionSubSource": "TRIAL_CONVERSION | RENEWAL",
- "subsidiaryId": "d4beee32-5969-11eb-ae93-0242ac130002",
- "taxDeclaration": {
- "additionalProperties": {
- "property1": "string",
- "property2": "string"
}, - "broker": "AVALARA",
- "refundStatus": "FAILED",
- "refundTransactionId": "FR-20-001261481",
- "status": "COMPLETED",
- "transactionId": "FR-21-001514102"
}, - "taxTransactionId": "288d5056-d9c5-46c7-b7d8-954f45f399a4",
- "taxTypes": [
- {
- "amount": 0.1,
- "rate": 0.1,
- "taxName": "string"
}
], - "testOrder": false,
- "totalAmount": 102.5,
- "updateDate": "2019-08-24T14:15:22Z",
- "vatRate": 0.2,
- "warnings": [
- {
- "field": "string",
- "message": "string"
}
]
}
Get order by subscriptionId and generation
return order by subscriptionId and generation, if generation is not provided it return the last order attached to the subscriptionId
Authorizations:
path Parameters
subscriptionId required | string |
query Parameters
generation | string |
Responses
Response samples
- 200
- 401
- 403
- 404
- 500
{- "allowPaymentMethodRegistration": false,
- "avaTaxStatus": "NONE",
- "billingPlanId": "25aaceea-5a34-11eb-ae93-0242ac130002",
- "billingPlanPeriod": "2023-12",
- "cancelPeriod": 14,
- "cartId": "f3fb782e-5969-11eb-ae93-0242ac130002",
- "cartIp": "127.0.0.1",
- "catalogId": "88960ca8-5af8-11eb-ae93-0242ac130002",
- "consentFlags": {
- "newsletterOptin": true
}, - "consentId": "64f2d71c-5af9-11eb-ae93-0242ac130002",
- "createDate": "2019-08-24T14:15:22Z",
- "creditNotes": [
- {
- "cancellationReason": "string",
- "date": "2019-08-24T14:15:22Z",
- "id": "string",
- "type": "PARTIAL"
}
], - "currency": "EUR, USD, GBP ...",
- "customer": {
- "features": {
- "createInvoice": true,
- "sendOrderConfirmationEmail": true,
- "usingFulfillmentV1": true,
- "usingSubscriptionV1": true
}, - "id": "string",
- "name": "string",
- "status": "string"
}, - "customerName": "string",
- "dbVersion": 0,
- "electronicInvoiceStatus": "NONE",
- "emailCancellationStatus": "NONE",
- "emailConfirmationStatus": "NONE",
- "emails": [
- {
- "createDate": 0,
- "emailId": "string",
- "message": "string",
- "paymentId": "string",
- "preorderProductId": "string",
- "recipient": "string",
- "templateDefinitionName": "string",
- "templateName": "string"
}
], - "endUser": {
- "accountCreated": true,
- "accountExists": true,
- "birthDate": "2019-08-24T14:15:22Z",
- "city": "Nîmes",
- "company": {
- "apeCode": "string",
- "cnpj": "string",
- "companyName": "string",
- "fullRegistrationNumber": "string",
- "registrationNumber": "string",
- "vatNumber": "string"
}, - "consumerType": "company",
- "country": "FR",
- "cpf": "string",
- "firstName": "John",
- "id": "0da71031-d6e5-48b4-bd28-7094f3c71a0b",
- "lastName": "Doe",
- "locale": "fr-FR",
- "phone": "07 00 00 00 00",
- "recipientCode": "string",
- "region": "Occitanie",
- "storeId": "9762480d-4c3d-4aea-9a75-236eb5f482c3",
- "streetAddress": "19 Avenue Feuchères",
- "taxExemptionEligible": true,
- "title": "M",
- "token": "string",
- "type": "string",
- "zipCode": "30000"
}, - "endUserCreationStatus": "NONE",
- "endUserIp": "127.0.0.1",
- "externalContext": "myExternalContext",
- "fulfillmentStatus": "NONE",
- "fullCreditNoteStatus": "NONE",
- "fullTotalAmount": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "generationId": "1",
- "geoZones": "Africa",
- "id": "string",
- "initialCurrency": "EUR, USD, GBP ...",
- "invoice": {
- "date": "2019-08-24T14:15:22Z",
- "id": "string",
- "type": "string"
}, - "invoiceStatus": "NONE",
- "lastUpdateReason": "string",
- "layout": "string",
- "layoutName": "string",
- "lifeCycleStatus": "PREBILLING_PENDING",
- "lineItems": [
- {
- "activationLink": {
- "enabled": true,
- "providerId": "string",
- "qrCodeBase64": [
- "string"
], - "qrCodeDisabled": true,
- "url": "string"
}, - "amount": 0.1,
- "businessSegment": "string",
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "customFieldsId": "string",
- "discountAmount": 0.1,
- "discountPlan": {
- "discountStep": 0,
- "ignorePurchaseDiscount": true,
- "tag": "string"
}, - "discountRate": 0.1,
- "emailDesc": "string",
- "existingLicenseId": "string",
- "expirationDate": "2019-08-24T14:15:22Z",
- "externalContext": "string",
- "fraudPoints": 0,
- "fulfillmentTemplate": "string",
- "fulfillmentTemplateName": "string",
- "id": "string",
- "initialAmount": 0.1,
- "initialNetAmount": 0.1,
- "initialVatAmount": 0.1,
- "licenseId": "string",
- "licenseNextExpirationDate": "string",
- "lifeTime": "string",
- "longDesc": "string",
- "multipleLicensesFulfillment": true,
- "name": "string",
- "netAmount": 0.1,
- "numberOfDaysBeforeRenewalRemote": 0,
- "physical": true,
- "price": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "priceFunctionParameters": {
- "property1": "string",
- "property2": "string"
}, - "productFamily": "string",
- "productId": "string",
- "productType": "string",
- "publisherRefId": "string",
- "quantity": 0,
- "relatedContents": [
- {
- "file": "string",
- "label": "string"
}
], - "releaseDate": "2019-08-24T14:15:22Z",
- "remoteLicenseExpirationDate": "2019-08-24T14:15:22Z",
- "renewingPrice": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "shortDesc": "string",
- "signedProduct": "string",
- "subscriptionTemplate": "string",
- "taxCode": "string",
- "taxExempt": true,
- "thankYouDesc": "string",
- "trial": true,
- "trialDuration": 0,
- "unitPrice": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "variablesDetails": {
- "property1": {
- "desc": "string",
- "label": "string",
- "value": { }
}, - "property2": {
- "desc": "string",
- "label": "string",
- "value": { }
}
}, - "vatAmount": 0.1,
- "vatRate": 0.1
}
], - "marketingCampaignNames": [
- "mktop1"
], - "maxPaymentsParts": 1,
- "minPartialPaymentAmount": 5,
- "modelVersion": "string",
- "numberOfInstallments": 1,
- "offerSubSource": "RESUME | SUSPEND",
- "parentOrderId": "2G4NAYY4K23",
- "payment": {
- "actionRequired": true,
- "amount": 0.1,
- "asyncContext": "string",
- "captured": true,
- "delayToNotify": 0,
- "externalContext": "string",
- "informativeDPStatus": "string",
- "informativeFraudCheck": true,
- "magicalCardDetected": true,
- "mailPaymentConfirmationStatus": "NONE",
- "mailPaymentFailureStatus": "NONE",
- "methodId": "string",
- "methodType": "string",
- "onPaymentClickRedirectUrl": "string",
- "paymentId": "string",
- "paymentTypeId": "string",
- "previousOrderId": "string",
- "processingEvent": [
- {
- "createDate": 0,
- "message": "string",
- "metadata": {
- "property1": { },
- "property2": { }
}, - "name": "string",
- "source": "string",
- "status": "string"
}
], - "proformaError": "string",
- "proformaId": "string",
- "refundStatus": "NONE",
- "remitteds": [
- {
- "id": "string",
- "name": "string",
- "remittanceAmount": 0.1,
- "remittanceRate": 0.1,
- "round": 0
}
], - "replayedTransactionId": "string",
- "status": "NONE",
- "transactionId": "string",
- "transitionPaymentDate": "2019-08-24T14:15:22Z"
}, - "paymentDeadline": 1616143889109,
- "paymentDeadlineReached": true,
- "paymentOfflineReminderSent": true,
- "paymentStatus": "NONE",
- "payments": [
- {
- "actionRequired": true,
- "amount": 0.1,
- "asyncContext": "string",
- "captured": true,
- "delayToNotify": 0,
- "externalContext": "string",
- "informativeDPStatus": "string",
- "informativeFraudCheck": true,
- "magicalCardDetected": true,
- "mailPaymentConfirmationStatus": "NONE",
- "mailPaymentFailureStatus": "NONE",
- "methodId": "string",
- "methodType": "string",
- "onPaymentClickRedirectUrl": "string",
- "paymentId": "string",
- "paymentTypeId": "string",
- "previousOrderId": "string",
- "processingEvent": [
- {
- "createDate": 0,
- "message": "string",
- "metadata": {
- "property1": { },
- "property2": { }
}, - "name": "string",
- "source": "string",
- "status": "string"
}
], - "proformaError": "string",
- "proformaId": "string",
- "refundStatus": "NONE",
- "remitteds": [
- {
- "id": "string",
- "name": "string",
- "remittanceAmount": 0.1,
- "remittanceRate": 0.1,
- "round": 0
}
], - "replayedTransactionId": "string",
- "status": "NONE",
- "transactionId": "string",
- "transitionPaymentDate": "2019-08-24T14:15:22Z"
}
], - "prebillingStatus": "NONE",
- "promoteOneClickPayment": false,
- "registerPaymentMethodStatus": "NONE",
- "remainingTotalAmount": 0.1,
- "remitteds": [
- {
- "id": "string",
- "name": "string",
- "remittanceAmount": 0.1,
- "remittanceRate": 0.1,
- "round": 0
}
], - "salesFlag": "string",
- "salesFlags": [
- "string"
], - "scenario": "acquisition",
- "source": "PURCHASE | SUBSCRIPTION | MANUAL_RENEWAL | BILLING_PLAN | OFFER | UPGRADE",
- "status": "CANCELED_WITH_ERROR",
- "store": {
- "allowOrderDetailsOnCheckoutConfirmation": true,
- "bannerInvoice": "string",
- "bannerOrderConfEmail": "string",
- "id": "string",
- "name": "string"
}, - "storeHostname": "mystore.nexway.com",
- "subscriptionId": "119e3e2a-596a-11eb-ae93-0242ac130002",
- "subscriptionLayout": true,
- "subscriptionStatus": "NONE",
- "subscriptionSubSource": "TRIAL_CONVERSION | RENEWAL",
- "subsidiaryId": "d4beee32-5969-11eb-ae93-0242ac130002",
- "taxDeclaration": {
- "additionalProperties": {
- "property1": "string",
- "property2": "string"
}, - "broker": "AVALARA",
- "refundStatus": "FAILED",
- "refundTransactionId": "FR-20-001261481",
- "status": "COMPLETED",
- "transactionId": "FR-21-001514102"
}, - "taxTransactionId": "288d5056-d9c5-46c7-b7d8-954f45f399a4",
- "taxTypes": [
- {
- "amount": 0.1,
- "rate": 0.1,
- "taxName": "string"
}
], - "testOrder": false,
- "totalAmount": 102.5,
- "updateDate": "2019-08-24T14:15:22Z",
- "vatRate": 0.2,
- "warnings": [
- {
- "field": "string",
- "message": "string"
}
]
}
Get subscription renewal price (applicable before the prebilling )
Authorizations:
Request Body schema: application/jsonrequired
generation | string |
object (Subscription) |
Responses
Request samples
- Payload
{- "generation": "string",
- "subscription": {
- "amount": 0.1,
- "billingPlanId": "string",
- "billingPlanPeriod": "string",
- "cancelPeriod": 0,
- "cartIp": "string",
- "catalogId": "string",
- "consentFlags": {
- "newsletterOptin": true
}, - "country": "string",
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "customerId": "string",
- "discountPlan": {
- "startingStep": 0,
- "tag": "string"
}, - "endUser": {
- "accountCreated": true,
- "accountExists": true,
- "birthDate": "2019-08-24T14:15:22Z",
- "city": "Nîmes",
- "company": {
- "apeCode": "string",
- "cnpj": "string",
- "companyName": "string",
- "fullRegistrationNumber": "string",
- "registrationNumber": "string",
- "vatNumber": "string"
}, - "consumerType": "company",
- "country": "FR",
- "cpf": "string",
- "firstName": "John",
- "id": "0da71031-d6e5-48b4-bd28-7094f3c71a0b",
- "lastName": "Doe",
- "locale": "fr-FR",
- "phone": "07 00 00 00 00",
- "recipientCode": "string",
- "region": "Occitanie",
- "storeId": "9762480d-4c3d-4aea-9a75-236eb5f482c3",
- "streetAddress": "19 Avenue Feuchères",
- "taxExemptionEligible": true,
- "title": "M",
- "token": "string",
- "type": "string",
- "zipCode": "30000"
}, - "endUserId": "string",
- "enduserId": "string",
- "expirationDate": "2019-08-24T14:15:22Z",
- "externalContext": "string",
- "generationId": "string",
- "id": "string",
- "initialCurrency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "lifecycle": {
- "generation": 0,
- "paymentDeadline": 0,
- "sgSubId": "string"
}, - "locale": "string",
- "maxPaymentsParts": 0,
- "minPartialPaymentAmount": 0.1,
- "nextProducts": [
- {
- "discountPlan": {
- "discountStep": 0,
- "ignorePurchaseDiscount": true,
- "tag": "string"
}, - "id": "string",
- "licenseId": "string",
- "lineItemId": "string",
- "previousLineItemId": "string",
- "priceFunctionParameters": {
- "property1": "string",
- "property2": "string"
}, - "quantity": 0
}
], - "notReadyForOrderCauseMessage": "string",
- "numberOfInstallments": 0,
- "offerSubSource": "SUSPEND",
- "onPaymentClickRedirectUrl": "string",
- "paymentDeadline": 0,
- "price": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "netPrice": 0.1,
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatRate": 0.1
}, - "products": [
- {
- "discountPlan": {
- "discountStep": 0,
- "ignorePurchaseDiscount": true,
- "tag": "string"
}, - "id": "string",
- "licenseId": "string",
- "lineItemId": "string",
- "previousLineItemId": "string",
- "priceFunctionParameters": {
- "property1": "string",
- "property2": "string"
}, - "quantity": 0
}
], - "promoteOneClickPayment": true,
- "remitteds": [
- {
- "id": "string",
- "name": "string",
- "remittanceAmount": 0.1,
- "remittanceRate": 0.1,
- "round": 0
}
], - "salesFlags": [
- "string"
], - "scenario": "string",
- "source": "BILLING_PLAN",
- "storeHostname": "string",
- "storeId": "string",
- "subscriptionId": "string",
- "subsidiaryId": "string",
- "taxTypes": [
- {
- "amount": 0.1,
- "rate": 0.1,
- "taxName": "string"
}
], - "totalAmount": 0.1
}
}
Response samples
- 200
- 401
- 403
- 404
- 500
{- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}
Search unwind for a given field
Authorizations:
query Parameters
target required | string |
required | object (Pageable) |
predicate required | object |
Responses
Response samples
- 200
- 401
- 403
- 404
- 500
{- "items": [
- {
- "empty": true,
- "property1": { },
- "property2": { }
}
], - "last": true,
- "number": 0,
- "size": 0,
- "totalItems": 0,
- "totalPages": 0
}
getOrders
Authorizations:
query Parameters
required | object (OrderCriteria) |
required | object (Pageable) |
Responses
Response samples
- 200
- 401
- 403
- 404
- 500
{- "items": [
- {
- "createdDate": "2019-08-24T14:15:22Z",
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "id": "string",
- "initialCurrency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "lifeCycleStatus": "PREBILLING_PENDING",
- "lineItems": [
- {
- "businessSegment": "string",
- "id": "string",
- "name": "string",
- "price": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "grossPrice": 0.1,
- "mandateValue": 0.1,
- "netPrice": 0.1,
- "vatAmount": 0.1,
- "vatRate": 0.1
}, - "quantity": 0
}
], - "status": "CANCELED_WITH_ERROR",
- "totalAmount": 0.1
}
], - "last": true,
- "number": 0,
- "size": 0,
- "totalItems": 0,
- "totalPages": 0
}
Response samples
- 200
- 401
- 403
- 404
- 500
[- {
- "amount": 0.1,
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}
}
]
getOldestOrderBySubscriptionId
Authorizations:
path Parameters
subscriptionId required | string |
query Parameters
lifeCycleStatus required | string Enum: "PREBILLING_PENDING" "PREBILLING_FAILED" "WAITING_FOR_PAYMENT" "PAYMENT_PENDING" "INVOICE_PENDING" "ELECTRONIC_INVOICE_PENDING" "ENDUSER_PENDING" "SUBSCRIPTION_PENDING" "FULFILLMENT_PENDING" "EMAILCONFIRMATION_PENDING" "COMPLETED_WITH_ERROR" "COMPLETED" "CANCEL_PENDING" "CANCELED_WITH_ERROR" "CANCELED" "FORCE_COMPLETED" "FORCE_CANCELED" "FORCE_ABORTED" |
generationId | string |
Responses
Response samples
- 200
- 401
- 403
- 404
- 500
{- "allowPaymentMethodRegistration": false,
- "avaTaxStatus": "NONE",
- "billingPlanId": "25aaceea-5a34-11eb-ae93-0242ac130002",
- "billingPlanPeriod": "2023-12",
- "cancelPeriod": 14,
- "cartId": "f3fb782e-5969-11eb-ae93-0242ac130002",
- "cartIp": "127.0.0.1",
- "catalogId": "88960ca8-5af8-11eb-ae93-0242ac130002",
- "consentFlags": {
- "newsletterOptin": true
}, - "consentId": "64f2d71c-5af9-11eb-ae93-0242ac130002",
- "createDate": "2019-08-24T14:15:22Z",
- "creditNotes": [
- {
- "cancellationReason": "string",
- "date": "2019-08-24T14:15:22Z",
- "id": "string",
- "type": "PARTIAL"
}
], - "currency": "EUR, USD, GBP ...",
- "customer": {
- "features": {
- "createInvoice": true,
- "sendOrderConfirmationEmail": true,
- "usingFulfillmentV1": true,
- "usingSubscriptionV1": true
}, - "id": "string",
- "name": "string",
- "status": "string"
}, - "customerName": "string",
- "dbVersion": 0,
- "electronicInvoiceStatus": "NONE",
- "emailCancellationStatus": "NONE",
- "emailConfirmationStatus": "NONE",
- "emails": [
- {
- "createDate": 0,
- "emailId": "string",
- "message": "string",
- "paymentId": "string",
- "preorderProductId": "string",
- "recipient": "string",
- "templateDefinitionName": "string",
- "templateName": "string"
}
], - "endUser": {
- "accountCreated": true,
- "accountExists": true,
- "birthDate": "2019-08-24T14:15:22Z",
- "city": "Nîmes",
- "company": {
- "apeCode": "string",
- "cnpj": "string",
- "companyName": "string",
- "fullRegistrationNumber": "string",
- "registrationNumber": "string",
- "vatNumber": "string"
}, - "consumerType": "company",
- "country": "FR",
- "cpf": "string",
- "firstName": "John",
- "id": "0da71031-d6e5-48b4-bd28-7094f3c71a0b",
- "lastName": "Doe",
- "locale": "fr-FR",
- "phone": "07 00 00 00 00",
- "recipientCode": "string",
- "region": "Occitanie",
- "storeId": "9762480d-4c3d-4aea-9a75-236eb5f482c3",
- "streetAddress": "19 Avenue Feuchères",
- "taxExemptionEligible": true,
- "title": "M",
- "token": "string",
- "type": "string",
- "zipCode": "30000"
}, - "endUserCreationStatus": "NONE",
- "endUserIp": "127.0.0.1",
- "externalContext": "myExternalContext",
- "fulfillmentStatus": "NONE",
- "fullCreditNoteStatus": "NONE",
- "fullTotalAmount": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "generationId": "1",
- "geoZones": "Africa",
- "id": "string",
- "initialCurrency": "EUR, USD, GBP ...",
- "invoice": {
- "date": "2019-08-24T14:15:22Z",
- "id": "string",
- "type": "string"
}, - "invoiceStatus": "NONE",
- "lastUpdateReason": "string",
- "layout": "string",
- "layoutName": "string",
- "lifeCycleStatus": "PREBILLING_PENDING",
- "lineItems": [
- {
- "activationLink": {
- "enabled": true,
- "providerId": "string",
- "qrCodeBase64": [
- "string"
], - "qrCodeDisabled": true,
- "url": "string"
}, - "amount": 0.1,
- "businessSegment": "string",
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "customFieldsId": "string",
- "discountAmount": 0.1,
- "discountPlan": {
- "discountStep": 0,
- "ignorePurchaseDiscount": true,
- "tag": "string"
}, - "discountRate": 0.1,
- "emailDesc": "string",
- "existingLicenseId": "string",
- "expirationDate": "2019-08-24T14:15:22Z",
- "externalContext": "string",
- "fraudPoints": 0,
- "fulfillmentTemplate": "string",
- "fulfillmentTemplateName": "string",
- "id": "string",
- "initialAmount": 0.1,
- "initialNetAmount": 0.1,
- "initialVatAmount": 0.1,
- "licenseId": "string",
- "licenseNextExpirationDate": "string",
- "lifeTime": "string",
- "longDesc": "string",
- "multipleLicensesFulfillment": true,
- "name": "string",
- "netAmount": 0.1,
- "numberOfDaysBeforeRenewalRemote": 0,
- "physical": true,
- "price": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "priceFunctionParameters": {
- "property1": "string",
- "property2": "string"
}, - "productFamily": "string",
- "productId": "string",
- "productType": "string",
- "publisherRefId": "string",
- "quantity": 0,
- "relatedContents": [
- {
- "file": "string",
- "label": "string"
}
], - "releaseDate": "2019-08-24T14:15:22Z",
- "remoteLicenseExpirationDate": "2019-08-24T14:15:22Z",
- "renewingPrice": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "shortDesc": "string",
- "signedProduct": "string",
- "subscriptionTemplate": "string",
- "taxCode": "string",
- "taxExempt": true,
- "thankYouDesc": "string",
- "trial": true,
- "trialDuration": 0,
- "unitPrice": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "variablesDetails": {
- "property1": {
- "desc": "string",
- "label": "string",
- "value": { }
}, - "property2": {
- "desc": "string",
- "label": "string",
- "value": { }
}
}, - "vatAmount": 0.1,
- "vatRate": 0.1
}
], - "marketingCampaignNames": [
- "mktop1"
], - "maxPaymentsParts": 1,
- "minPartialPaymentAmount": 5,
- "modelVersion": "string",
- "numberOfInstallments": 1,
- "offerSubSource": "RESUME | SUSPEND",
- "parentOrderId": "2G4NAYY4K23",
- "payment": {
- "actionRequired": true,
- "amount": 0.1,
- "asyncContext": "string",
- "captured": true,
- "delayToNotify": 0,
- "externalContext": "string",
- "informativeDPStatus": "string",
- "informativeFraudCheck": true,
- "magicalCardDetected": true,
- "mailPaymentConfirmationStatus": "NONE",
- "mailPaymentFailureStatus": "NONE",
- "methodId": "string",
- "methodType": "string",
- "onPaymentClickRedirectUrl": "string",
- "paymentId": "string",
- "paymentTypeId": "string",
- "previousOrderId": "string",
- "processingEvent": [
- {
- "createDate": 0,
- "message": "string",
- "metadata": {
- "property1": { },
- "property2": { }
}, - "name": "string",
- "source": "string",
- "status": "string"
}
], - "proformaError": "string",
- "proformaId": "string",
- "refundStatus": "NONE",
- "remitteds": [
- {
- "id": "string",
- "name": "string",
- "remittanceAmount": 0.1,
- "remittanceRate": 0.1,
- "round": 0
}
], - "replayedTransactionId": "string",
- "status": "NONE",
- "transactionId": "string",
- "transitionPaymentDate": "2019-08-24T14:15:22Z"
}, - "paymentDeadline": 1616143889109,
- "paymentDeadlineReached": true,
- "paymentOfflineReminderSent": true,
- "paymentStatus": "NONE",
- "payments": [
- {
- "actionRequired": true,
- "amount": 0.1,
- "asyncContext": "string",
- "captured": true,
- "delayToNotify": 0,
- "externalContext": "string",
- "informativeDPStatus": "string",
- "informativeFraudCheck": true,
- "magicalCardDetected": true,
- "mailPaymentConfirmationStatus": "NONE",
- "mailPaymentFailureStatus": "NONE",
- "methodId": "string",
- "methodType": "string",
- "onPaymentClickRedirectUrl": "string",
- "paymentId": "string",
- "paymentTypeId": "string",
- "previousOrderId": "string",
- "processingEvent": [
- {
- "createDate": 0,
- "message": "string",
- "metadata": {
- "property1": { },
- "property2": { }
}, - "name": "string",
- "source": "string",
- "status": "string"
}
], - "proformaError": "string",
- "proformaId": "string",
- "refundStatus": "NONE",
- "remitteds": [
- {
- "id": "string",
- "name": "string",
- "remittanceAmount": 0.1,
- "remittanceRate": 0.1,
- "round": 0
}
], - "replayedTransactionId": "string",
- "status": "NONE",
- "transactionId": "string",
- "transitionPaymentDate": "2019-08-24T14:15:22Z"
}
], - "prebillingStatus": "NONE",
- "promoteOneClickPayment": false,
- "registerPaymentMethodStatus": "NONE",
- "remainingTotalAmount": 0.1,
- "remitteds": [
- {
- "id": "string",
- "name": "string",
- "remittanceAmount": 0.1,
- "remittanceRate": 0.1,
- "round": 0
}
], - "salesFlag": "string",
- "salesFlags": [
- "string"
], - "scenario": "acquisition",
- "source": "PURCHASE | SUBSCRIPTION | MANUAL_RENEWAL | BILLING_PLAN | OFFER | UPGRADE",
- "status": "CANCELED_WITH_ERROR",
- "store": {
- "allowOrderDetailsOnCheckoutConfirmation": true,
- "bannerInvoice": "string",
- "bannerOrderConfEmail": "string",
- "id": "string",
- "name": "string"
}, - "storeHostname": "mystore.nexway.com",
- "subscriptionId": "119e3e2a-596a-11eb-ae93-0242ac130002",
- "subscriptionLayout": true,
- "subscriptionStatus": "NONE",
- "subscriptionSubSource": "TRIAL_CONVERSION | RENEWAL",
- "subsidiaryId": "d4beee32-5969-11eb-ae93-0242ac130002",
- "taxDeclaration": {
- "additionalProperties": {
- "property1": "string",
- "property2": "string"
}, - "broker": "AVALARA",
- "refundStatus": "FAILED",
- "refundTransactionId": "FR-20-001261481",
- "status": "COMPLETED",
- "transactionId": "FR-21-001514102"
}, - "taxTransactionId": "288d5056-d9c5-46c7-b7d8-954f45f399a4",
- "taxTypes": [
- {
- "amount": 0.1,
- "rate": 0.1,
- "taxName": "string"
}
], - "testOrder": false,
- "totalAmount": 102.5,
- "updateDate": "2019-08-24T14:15:22Z",
- "vatRate": 0.2,
- "warnings": [
- {
- "field": "string",
- "message": "string"
}
]
}
Response samples
- 200
- 401
- 403
- 404
- 500
{- "billingPlanId": "string",
- "billingPlanPeriod": "string",
- "consentId": "string",
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "customerId": "string",
- "enduserId": "string",
- "exportActivationCodeFileUrl": "string",
- "fullCreditNodeId": "string",
- "fullTotalAmount": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "id": "string",
- "initialCurrency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "invoiceId": "string",
- "lifeCycleStatus": "PREBILLING_PENDING",
- "products": [
- {
- "fulfillments": [
- {
- "activationCode": "string",
- "activationFileFulfillment": true,
- "activationLink": "string",
- "expirationDate": "2019-08-24T14:15:22Z",
- "licenseId": "string",
- "lineItemDataId": "string",
- "lineItemId": "string",
- "multipleLicensesFulfillment": true,
- "operationId": "string",
- "preorder": true
}
], - "fullPrice": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "id": "string",
- "priceFunctionParameters": {
- "property1": "string",
- "property2": "string"
}, - "quantity": 0,
- "trial": true,
- "trialDuration": 0,
- "unitPrice": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}
}
], - "status": "CANCELED_WITH_ERROR",
- "storeId": "string",
- "subscriptionId": "string"
}
findPreviousGenerationLineItemByOrderAndSubscription
Authorizations:
path Parameters
orderId required | string |
subscriptionId required | string |
Responses
Response samples
- 200
- 401
- 403
- 404
- 500
{- "activationLink": {
- "enabled": true,
- "providerId": "string",
- "qrCodeBase64": [
- "string"
], - "qrCodeDisabled": true,
- "url": "string"
}, - "amount": 0.1,
- "businessSegment": "string",
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "customFieldsId": "string",
- "discountAmount": 0.1,
- "discountPlan": {
- "discountStep": 0,
- "ignorePurchaseDiscount": true,
- "tag": "string"
}, - "discountRate": 0.1,
- "emailDesc": "string",
- "existingLicenseId": "string",
- "expirationDate": "2019-08-24T14:15:22Z",
- "externalContext": "string",
- "fraudPoints": 0,
- "fulfillmentTemplate": "string",
- "fulfillmentTemplateName": "string",
- "id": "string",
- "initialAmount": 0.1,
- "initialNetAmount": 0.1,
- "initialVatAmount": 0.1,
- "licenseId": "string",
- "licenseNextExpirationDate": "string",
- "lifeTime": "string",
- "longDesc": "string",
- "multipleLicensesFulfillment": true,
- "name": "string",
- "netAmount": 0.1,
- "numberOfDaysBeforeRenewalRemote": 0,
- "physical": true,
- "price": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "priceFunctionParameters": {
- "property1": "string",
- "property2": "string"
}, - "productFamily": "string",
- "productId": "string",
- "productType": "string",
- "publisherRefId": "string",
- "quantity": 0,
- "relatedContents": [
- {
- "file": "string",
- "label": "string"
}
], - "releaseDate": "2019-08-24T14:15:22Z",
- "remoteLicenseExpirationDate": "2019-08-24T14:15:22Z",
- "renewingPrice": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "shortDesc": "string",
- "signedProduct": "string",
- "subscriptionTemplate": "string",
- "taxCode": "string",
- "taxExempt": true,
- "thankYouDesc": "string",
- "trial": true,
- "trialDuration": 0,
- "unitPrice": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "variablesDetails": {
- "property1": {
- "desc": "string",
- "label": "string",
- "value": { }
}, - "property2": {
- "desc": "string",
- "label": "string",
- "value": { }
}
}, - "vatAmount": 0.1,
- "vatRate": 0.1
}
Response samples
- 200
- 401
- 403
- 404
- 500
{- "allowPaymentMethodRegistration": false,
- "avaTaxStatus": "NONE",
- "billingPlanId": "25aaceea-5a34-11eb-ae93-0242ac130002",
- "billingPlanPeriod": "2023-12",
- "cancelPeriod": 14,
- "cartId": "f3fb782e-5969-11eb-ae93-0242ac130002",
- "cartIp": "127.0.0.1",
- "catalogId": "88960ca8-5af8-11eb-ae93-0242ac130002",
- "consentFlags": {
- "newsletterOptin": true
}, - "consentId": "64f2d71c-5af9-11eb-ae93-0242ac130002",
- "createDate": "2019-08-24T14:15:22Z",
- "creditNotes": [
- {
- "cancellationReason": "string",
- "date": "2019-08-24T14:15:22Z",
- "id": "string",
- "type": "PARTIAL"
}
], - "currency": "EUR, USD, GBP ...",
- "customer": {
- "features": {
- "createInvoice": true,
- "sendOrderConfirmationEmail": true,
- "usingFulfillmentV1": true,
- "usingSubscriptionV1": true
}, - "id": "string",
- "name": "string",
- "status": "string"
}, - "customerName": "string",
- "dbVersion": 0,
- "electronicInvoiceStatus": "NONE",
- "emailCancellationStatus": "NONE",
- "emailConfirmationStatus": "NONE",
- "emails": [
- {
- "createDate": 0,
- "emailId": "string",
- "message": "string",
- "paymentId": "string",
- "preorderProductId": "string",
- "recipient": "string",
- "templateDefinitionName": "string",
- "templateName": "string"
}
], - "endUser": {
- "accountCreated": true,
- "accountExists": true,
- "birthDate": "2019-08-24T14:15:22Z",
- "city": "Nîmes",
- "company": {
- "apeCode": "string",
- "cnpj": "string",
- "companyName": "string",
- "fullRegistrationNumber": "string",
- "registrationNumber": "string",
- "vatNumber": "string"
}, - "consumerType": "company",
- "country": "FR",
- "cpf": "string",
- "firstName": "John",
- "id": "0da71031-d6e5-48b4-bd28-7094f3c71a0b",
- "lastName": "Doe",
- "locale": "fr-FR",
- "phone": "07 00 00 00 00",
- "recipientCode": "string",
- "region": "Occitanie",
- "storeId": "9762480d-4c3d-4aea-9a75-236eb5f482c3",
- "streetAddress": "19 Avenue Feuchères",
- "taxExemptionEligible": true,
- "title": "M",
- "token": "string",
- "type": "string",
- "zipCode": "30000"
}, - "endUserCreationStatus": "NONE",
- "endUserIp": "127.0.0.1",
- "externalContext": "myExternalContext",
- "fulfillmentStatus": "NONE",
- "fullCreditNoteStatus": "NONE",
- "fullTotalAmount": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "generationId": "1",
- "geoZones": "Africa",
- "id": "string",
- "initialCurrency": "EUR, USD, GBP ...",
- "invoice": {
- "date": "2019-08-24T14:15:22Z",
- "id": "string",
- "type": "string"
}, - "invoiceStatus": "NONE",
- "lastUpdateReason": "string",
- "layout": "string",
- "layoutName": "string",
- "lifeCycleStatus": "PREBILLING_PENDING",
- "lineItems": [
- {
- "activationLink": {
- "enabled": true,
- "providerId": "string",
- "qrCodeBase64": [
- "string"
], - "qrCodeDisabled": true,
- "url": "string"
}, - "amount": 0.1,
- "businessSegment": "string",
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "customFieldsId": "string",
- "discountAmount": 0.1,
- "discountPlan": {
- "discountStep": 0,
- "ignorePurchaseDiscount": true,
- "tag": "string"
}, - "discountRate": 0.1,
- "emailDesc": "string",
- "existingLicenseId": "string",
- "expirationDate": "2019-08-24T14:15:22Z",
- "externalContext": "string",
- "fraudPoints": 0,
- "fulfillmentTemplate": "string",
- "fulfillmentTemplateName": "string",
- "id": "string",
- "initialAmount": 0.1,
- "initialNetAmount": 0.1,
- "initialVatAmount": 0.1,
- "licenseId": "string",
- "licenseNextExpirationDate": "string",
- "lifeTime": "string",
- "longDesc": "string",
- "multipleLicensesFulfillment": true,
- "name": "string",
- "netAmount": 0.1,
- "numberOfDaysBeforeRenewalRemote": 0,
- "physical": true,
- "price": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "priceFunctionParameters": {
- "property1": "string",
- "property2": "string"
}, - "productFamily": "string",
- "productId": "string",
- "productType": "string",
- "publisherRefId": "string",
- "quantity": 0,
- "relatedContents": [
- {
- "file": "string",
- "label": "string"
}
], - "releaseDate": "2019-08-24T14:15:22Z",
- "remoteLicenseExpirationDate": "2019-08-24T14:15:22Z",
- "renewingPrice": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "shortDesc": "string",
- "signedProduct": "string",
- "subscriptionTemplate": "string",
- "taxCode": "string",
- "taxExempt": true,
- "thankYouDesc": "string",
- "trial": true,
- "trialDuration": 0,
- "unitPrice": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "variablesDetails": {
- "property1": {
- "desc": "string",
- "label": "string",
- "value": { }
}, - "property2": {
- "desc": "string",
- "label": "string",
- "value": { }
}
}, - "vatAmount": 0.1,
- "vatRate": 0.1
}
], - "marketingCampaignNames": [
- "mktop1"
], - "maxPaymentsParts": 1,
- "minPartialPaymentAmount": 5,
- "modelVersion": "string",
- "numberOfInstallments": 1,
- "offerSubSource": "RESUME | SUSPEND",
- "parentOrderId": "2G4NAYY4K23",
- "payment": {
- "actionRequired": true,
- "amount": 0.1,
- "asyncContext": "string",
- "captured": true,
- "delayToNotify": 0,
- "externalContext": "string",
- "informativeDPStatus": "string",
- "informativeFraudCheck": true,
- "magicalCardDetected": true,
- "mailPaymentConfirmationStatus": "NONE",
- "mailPaymentFailureStatus": "NONE",
- "methodId": "string",
- "methodType": "string",
- "onPaymentClickRedirectUrl": "string",
- "paymentId": "string",
- "paymentTypeId": "string",
- "previousOrderId": "string",
- "processingEvent": [
- {
- "createDate": 0,
- "message": "string",
- "metadata": {
- "property1": { },
- "property2": { }
}, - "name": "string",
- "source": "string",
- "status": "string"
}
], - "proformaError": "string",
- "proformaId": "string",
- "refundStatus": "NONE",
- "remitteds": [
- {
- "id": "string",
- "name": "string",
- "remittanceAmount": 0.1,
- "remittanceRate": 0.1,
- "round": 0
}
], - "replayedTransactionId": "string",
- "status": "NONE",
- "transactionId": "string",
- "transitionPaymentDate": "2019-08-24T14:15:22Z"
}, - "paymentDeadline": 1616143889109,
- "paymentDeadlineReached": true,
- "paymentOfflineReminderSent": true,
- "paymentStatus": "NONE",
- "payments": [
- {
- "actionRequired": true,
- "amount": 0.1,
- "asyncContext": "string",
- "captured": true,
- "delayToNotify": 0,
- "externalContext": "string",
- "informativeDPStatus": "string",
- "informativeFraudCheck": true,
- "magicalCardDetected": true,
- "mailPaymentConfirmationStatus": "NONE",
- "mailPaymentFailureStatus": "NONE",
- "methodId": "string",
- "methodType": "string",
- "onPaymentClickRedirectUrl": "string",
- "paymentId": "string",
- "paymentTypeId": "string",
- "previousOrderId": "string",
- "processingEvent": [
- {
- "createDate": 0,
- "message": "string",
- "metadata": {
- "property1": { },
- "property2": { }
}, - "name": "string",
- "source": "string",
- "status": "string"
}
], - "proformaError": "string",
- "proformaId": "string",
- "refundStatus": "NONE",
- "remitteds": [
- {
- "id": "string",
- "name": "string",
- "remittanceAmount": 0.1,
- "remittanceRate": 0.1,
- "round": 0
}
], - "replayedTransactionId": "string",
- "status": "NONE",
- "transactionId": "string",
- "transitionPaymentDate": "2019-08-24T14:15:22Z"
}
], - "prebillingStatus": "NONE",
- "promoteOneClickPayment": false,
- "registerPaymentMethodStatus": "NONE",
- "remainingTotalAmount": 0.1,
- "remitteds": [
- {
- "id": "string",
- "name": "string",
- "remittanceAmount": 0.1,
- "remittanceRate": 0.1,
- "round": 0
}
], - "salesFlag": "string",
- "salesFlags": [
- "string"
], - "scenario": "acquisition",
- "source": "PURCHASE | SUBSCRIPTION | MANUAL_RENEWAL | BILLING_PLAN | OFFER | UPGRADE",
- "status": "CANCELED_WITH_ERROR",
- "store": {
- "allowOrderDetailsOnCheckoutConfirmation": true,
- "bannerInvoice": "string",
- "bannerOrderConfEmail": "string",
- "id": "string",
- "name": "string"
}, - "storeHostname": "mystore.nexway.com",
- "subscriptionId": "119e3e2a-596a-11eb-ae93-0242ac130002",
- "subscriptionLayout": true,
- "subscriptionStatus": "NONE",
- "subscriptionSubSource": "TRIAL_CONVERSION | RENEWAL",
- "subsidiaryId": "d4beee32-5969-11eb-ae93-0242ac130002",
- "taxDeclaration": {
- "additionalProperties": {
- "property1": "string",
- "property2": "string"
}, - "broker": "AVALARA",
- "refundStatus": "FAILED",
- "refundTransactionId": "FR-20-001261481",
- "status": "COMPLETED",
- "transactionId": "FR-21-001514102"
}, - "taxTransactionId": "288d5056-d9c5-46c7-b7d8-954f45f399a4",
- "taxTypes": [
- {
- "amount": 0.1,
- "rate": 0.1,
- "taxName": "string"
}
], - "testOrder": false,
- "totalAmount": 102.5,
- "updateDate": "2019-08-24T14:15:22Z",
- "vatRate": 0.2,
- "warnings": [
- {
- "field": "string",
- "message": "string"
}
]
}
Update item
Authorizations:
path Parameters
id required | string |
Request Body schema: application/jsonrequired
Responses
Request samples
- Payload
{ }
Response samples
- 200
- 401
- 403
- 404
- 500
{- "allowPaymentMethodRegistration": false,
- "avaTaxStatus": "NONE",
- "billingPlanId": "25aaceea-5a34-11eb-ae93-0242ac130002",
- "billingPlanPeriod": "2023-12",
- "cancelPeriod": 14,
- "cartId": "f3fb782e-5969-11eb-ae93-0242ac130002",
- "cartIp": "127.0.0.1",
- "catalogId": "88960ca8-5af8-11eb-ae93-0242ac130002",
- "consentFlags": {
- "newsletterOptin": true
}, - "consentId": "64f2d71c-5af9-11eb-ae93-0242ac130002",
- "createDate": "2019-08-24T14:15:22Z",
- "creditNotes": [
- {
- "cancellationReason": "string",
- "date": "2019-08-24T14:15:22Z",
- "id": "string",
- "type": "PARTIAL"
}
], - "currency": "EUR, USD, GBP ...",
- "customer": {
- "features": {
- "createInvoice": true,
- "sendOrderConfirmationEmail": true,
- "usingFulfillmentV1": true,
- "usingSubscriptionV1": true
}, - "id": "string",
- "name": "string",
- "status": "string"
}, - "customerName": "string",
- "dbVersion": 0,
- "electronicInvoiceStatus": "NONE",
- "emailCancellationStatus": "NONE",
- "emailConfirmationStatus": "NONE",
- "emails": [
- {
- "createDate": 0,
- "emailId": "string",
- "message": "string",
- "paymentId": "string",
- "preorderProductId": "string",
- "recipient": "string",
- "templateDefinitionName": "string",
- "templateName": "string"
}
], - "endUser": {
- "accountCreated": true,
- "accountExists": true,
- "birthDate": "2019-08-24T14:15:22Z",
- "city": "Nîmes",
- "company": {
- "apeCode": "string",
- "cnpj": "string",
- "companyName": "string",
- "fullRegistrationNumber": "string",
- "registrationNumber": "string",
- "vatNumber": "string"
}, - "consumerType": "company",
- "country": "FR",
- "cpf": "string",
- "firstName": "John",
- "id": "0da71031-d6e5-48b4-bd28-7094f3c71a0b",
- "lastName": "Doe",
- "locale": "fr-FR",
- "phone": "07 00 00 00 00",
- "recipientCode": "string",
- "region": "Occitanie",
- "storeId": "9762480d-4c3d-4aea-9a75-236eb5f482c3",
- "streetAddress": "19 Avenue Feuchères",
- "taxExemptionEligible": true,
- "title": "M",
- "token": "string",
- "type": "string",
- "zipCode": "30000"
}, - "endUserCreationStatus": "NONE",
- "endUserIp": "127.0.0.1",
- "externalContext": "myExternalContext",
- "fulfillmentStatus": "NONE",
- "fullCreditNoteStatus": "NONE",
- "fullTotalAmount": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "generationId": "1",
- "geoZones": "Africa",
- "id": "string",
- "initialCurrency": "EUR, USD, GBP ...",
- "invoice": {
- "date": "2019-08-24T14:15:22Z",
- "id": "string",
- "type": "string"
}, - "invoiceStatus": "NONE",
- "lastUpdateReason": "string",
- "layout": "string",
- "layoutName": "string",
- "lifeCycleStatus": "PREBILLING_PENDING",
- "lineItems": [
- {
- "activationLink": {
- "enabled": true,
- "providerId": "string",
- "qrCodeBase64": [
- "string"
], - "qrCodeDisabled": true,
- "url": "string"
}, - "amount": 0.1,
- "businessSegment": "string",
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "customFieldsId": "string",
- "discountAmount": 0.1,
- "discountPlan": {
- "discountStep": 0,
- "ignorePurchaseDiscount": true,
- "tag": "string"
}, - "discountRate": 0.1,
- "emailDesc": "string",
- "existingLicenseId": "string",
- "expirationDate": "2019-08-24T14:15:22Z",
- "externalContext": "string",
- "fraudPoints": 0,
- "fulfillmentTemplate": "string",
- "fulfillmentTemplateName": "string",
- "id": "string",
- "initialAmount": 0.1,
- "initialNetAmount": 0.1,
- "initialVatAmount": 0.1,
- "licenseId": "string",
- "licenseNextExpirationDate": "string",
- "lifeTime": "string",
- "longDesc": "string",
- "multipleLicensesFulfillment": true,
- "name": "string",
- "netAmount": 0.1,
- "numberOfDaysBeforeRenewalRemote": 0,
- "physical": true,
- "price": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "priceFunctionParameters": {
- "property1": "string",
- "property2": "string"
}, - "productFamily": "string",
- "productId": "string",
- "productType": "string",
- "publisherRefId": "string",
- "quantity": 0,
- "relatedContents": [
- {
- "file": "string",
- "label": "string"
}
], - "releaseDate": "2019-08-24T14:15:22Z",
- "remoteLicenseExpirationDate": "2019-08-24T14:15:22Z",
- "renewingPrice": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "shortDesc": "string",
- "signedProduct": "string",
- "subscriptionTemplate": "string",
- "taxCode": "string",
- "taxExempt": true,
- "thankYouDesc": "string",
- "trial": true,
- "trialDuration": 0,
- "unitPrice": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "variablesDetails": {
- "property1": {
- "desc": "string",
- "label": "string",
- "value": { }
}, - "property2": {
- "desc": "string",
- "label": "string",
- "value": { }
}
}, - "vatAmount": 0.1,
- "vatRate": 0.1
}
], - "marketingCampaignNames": [
- "mktop1"
], - "maxPaymentsParts": 1,
- "minPartialPaymentAmount": 5,
- "modelVersion": "string",
- "numberOfInstallments": 1,
- "offerSubSource": "RESUME | SUSPEND",
- "parentOrderId": "2G4NAYY4K23",
- "payment": {
- "actionRequired": true,
- "amount": 0.1,
- "asyncContext": "string",
- "captured": true,
- "delayToNotify": 0,
- "externalContext": "string",
- "informativeDPStatus": "string",
- "informativeFraudCheck": true,
- "magicalCardDetected": true,
- "mailPaymentConfirmationStatus": "NONE",
- "mailPaymentFailureStatus": "NONE",
- "methodId": "string",
- "methodType": "string",
- "onPaymentClickRedirectUrl": "string",
- "paymentId": "string",
- "paymentTypeId": "string",
- "previousOrderId": "string",
- "processingEvent": [
- {
- "createDate": 0,
- "message": "string",
- "metadata": {
- "property1": { },
- "property2": { }
}, - "name": "string",
- "source": "string",
- "status": "string"
}
], - "proformaError": "string",
- "proformaId": "string",
- "refundStatus": "NONE",
- "remitteds": [
- {
- "id": "string",
- "name": "string",
- "remittanceAmount": 0.1,
- "remittanceRate": 0.1,
- "round": 0
}
], - "replayedTransactionId": "string",
- "status": "NONE",
- "transactionId": "string",
- "transitionPaymentDate": "2019-08-24T14:15:22Z"
}, - "paymentDeadline": 1616143889109,
- "paymentDeadlineReached": true,
- "paymentOfflineReminderSent": true,
- "paymentStatus": "NONE",
- "payments": [
- {
- "actionRequired": true,
- "amount": 0.1,
- "asyncContext": "string",
- "captured": true,
- "delayToNotify": 0,
- "externalContext": "string",
- "informativeDPStatus": "string",
- "informativeFraudCheck": true,
- "magicalCardDetected": true,
- "mailPaymentConfirmationStatus": "NONE",
- "mailPaymentFailureStatus": "NONE",
- "methodId": "string",
- "methodType": "string",
- "onPaymentClickRedirectUrl": "string",
- "paymentId": "string",
- "paymentTypeId": "string",
- "previousOrderId": "string",
- "processingEvent": [
- {
- "createDate": 0,
- "message": "string",
- "metadata": {
- "property1": { },
- "property2": { }
}, - "name": "string",
- "source": "string",
- "status": "string"
}
], - "proformaError": "string",
- "proformaId": "string",
- "refundStatus": "NONE",
- "remitteds": [
- {
- "id": "string",
- "name": "string",
- "remittanceAmount": 0.1,
- "remittanceRate": 0.1,
- "round": 0
}
], - "replayedTransactionId": "string",
- "status": "NONE",
- "transactionId": "string",
- "transitionPaymentDate": "2019-08-24T14:15:22Z"
}
], - "prebillingStatus": "NONE",
- "promoteOneClickPayment": false,
- "registerPaymentMethodStatus": "NONE",
- "remainingTotalAmount": 0.1,
- "remitteds": [
- {
- "id": "string",
- "name": "string",
- "remittanceAmount": 0.1,
- "remittanceRate": 0.1,
- "round": 0
}
], - "salesFlag": "string",
- "salesFlags": [
- "string"
], - "scenario": "acquisition",
- "source": "PURCHASE | SUBSCRIPTION | MANUAL_RENEWAL | BILLING_PLAN | OFFER | UPGRADE",
- "status": "CANCELED_WITH_ERROR",
- "store": {
- "allowOrderDetailsOnCheckoutConfirmation": true,
- "bannerInvoice": "string",
- "bannerOrderConfEmail": "string",
- "id": "string",
- "name": "string"
}, - "storeHostname": "mystore.nexway.com",
- "subscriptionId": "119e3e2a-596a-11eb-ae93-0242ac130002",
- "subscriptionLayout": true,
- "subscriptionStatus": "NONE",
- "subscriptionSubSource": "TRIAL_CONVERSION | RENEWAL",
- "subsidiaryId": "d4beee32-5969-11eb-ae93-0242ac130002",
- "taxDeclaration": {
- "additionalProperties": {
- "property1": "string",
- "property2": "string"
}, - "broker": "AVALARA",
- "refundStatus": "FAILED",
- "refundTransactionId": "FR-20-001261481",
- "status": "COMPLETED",
- "transactionId": "FR-21-001514102"
}, - "taxTransactionId": "288d5056-d9c5-46c7-b7d8-954f45f399a4",
- "taxTypes": [
- {
- "amount": 0.1,
- "rate": 0.1,
- "taxName": "string"
}
], - "testOrder": false,
- "totalAmount": 102.5,
- "updateDate": "2019-08-24T14:15:22Z",
- "vatRate": 0.2,
- "warnings": [
- {
- "field": "string",
- "message": "string"
}
]
}
Add event to order
Authorizations:
path Parameters
id required | string |
query Parameters
dbVersion | integer <int64> |
reason | string Default: "additional event thru REST Api" |
Request Body schema: application/jsonrequired
object | |||
|
Responses
Request samples
- Payload
{- "metadata": {
- "property1": { },
- "property2": { }
}
}
Response samples
- 200
- 401
- 403
- 404
- 500
{- "allowPaymentMethodRegistration": false,
- "avaTaxStatus": "NONE",
- "billingPlanId": "25aaceea-5a34-11eb-ae93-0242ac130002",
- "billingPlanPeriod": "2023-12",
- "cancelPeriod": 14,
- "cartId": "f3fb782e-5969-11eb-ae93-0242ac130002",
- "cartIp": "127.0.0.1",
- "catalogId": "88960ca8-5af8-11eb-ae93-0242ac130002",
- "consentFlags": {
- "newsletterOptin": true
}, - "consentId": "64f2d71c-5af9-11eb-ae93-0242ac130002",
- "createDate": "2019-08-24T14:15:22Z",
- "creditNotes": [
- {
- "cancellationReason": "string",
- "date": "2019-08-24T14:15:22Z",
- "id": "string",
- "type": "PARTIAL"
}
], - "currency": "EUR, USD, GBP ...",
- "customer": {
- "features": {
- "createInvoice": true,
- "sendOrderConfirmationEmail": true,
- "usingFulfillmentV1": true,
- "usingSubscriptionV1": true
}, - "id": "string",
- "name": "string",
- "status": "string"
}, - "customerName": "string",
- "dbVersion": 0,
- "electronicInvoiceStatus": "NONE",
- "emailCancellationStatus": "NONE",
- "emailConfirmationStatus": "NONE",
- "emails": [
- {
- "createDate": 0,
- "emailId": "string",
- "message": "string",
- "paymentId": "string",
- "preorderProductId": "string",
- "recipient": "string",
- "templateDefinitionName": "string",
- "templateName": "string"
}
], - "endUser": {
- "accountCreated": true,
- "accountExists": true,
- "birthDate": "2019-08-24T14:15:22Z",
- "city": "Nîmes",
- "company": {
- "apeCode": "string",
- "cnpj": "string",
- "companyName": "string",
- "fullRegistrationNumber": "string",
- "registrationNumber": "string",
- "vatNumber": "string"
}, - "consumerType": "company",
- "country": "FR",
- "cpf": "string",
- "firstName": "John",
- "id": "0da71031-d6e5-48b4-bd28-7094f3c71a0b",
- "lastName": "Doe",
- "locale": "fr-FR",
- "phone": "07 00 00 00 00",
- "recipientCode": "string",
- "region": "Occitanie",
- "storeId": "9762480d-4c3d-4aea-9a75-236eb5f482c3",
- "streetAddress": "19 Avenue Feuchères",
- "taxExemptionEligible": true,
- "title": "M",
- "token": "string",
- "type": "string",
- "zipCode": "30000"
}, - "endUserCreationStatus": "NONE",
- "endUserIp": "127.0.0.1",
- "externalContext": "myExternalContext",
- "fulfillmentStatus": "NONE",
- "fullCreditNoteStatus": "NONE",
- "fullTotalAmount": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "generationId": "1",
- "geoZones": "Africa",
- "id": "string",
- "initialCurrency": "EUR, USD, GBP ...",
- "invoice": {
- "date": "2019-08-24T14:15:22Z",
- "id": "string",
- "type": "string"
}, - "invoiceStatus": "NONE",
- "lastUpdateReason": "string",
- "layout": "string",
- "layoutName": "string",
- "lifeCycleStatus": "PREBILLING_PENDING",
- "lineItems": [
- {
- "activationLink": {
- "enabled": true,
- "providerId": "string",
- "qrCodeBase64": [
- "string"
], - "qrCodeDisabled": true,
- "url": "string"
}, - "amount": 0.1,
- "businessSegment": "string",
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "customFieldsId": "string",
- "discountAmount": 0.1,
- "discountPlan": {
- "discountStep": 0,
- "ignorePurchaseDiscount": true,
- "tag": "string"
}, - "discountRate": 0.1,
- "emailDesc": "string",
- "existingLicenseId": "string",
- "expirationDate": "2019-08-24T14:15:22Z",
- "externalContext": "string",
- "fraudPoints": 0,
- "fulfillmentTemplate": "string",
- "fulfillmentTemplateName": "string",
- "id": "string",
- "initialAmount": 0.1,
- "initialNetAmount": 0.1,
- "initialVatAmount": 0.1,
- "licenseId": "string",
- "licenseNextExpirationDate": "string",
- "lifeTime": "string",
- "longDesc": "string",
- "multipleLicensesFulfillment": true,
- "name": "string",
- "netAmount": 0.1,
- "numberOfDaysBeforeRenewalRemote": 0,
- "physical": true,
- "price": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "priceFunctionParameters": {
- "property1": "string",
- "property2": "string"
}, - "productFamily": "string",
- "productId": "string",
- "productType": "string",
- "publisherRefId": "string",
- "quantity": 0,
- "relatedContents": [
- {
- "file": "string",
- "label": "string"
}
], - "releaseDate": "2019-08-24T14:15:22Z",
- "remoteLicenseExpirationDate": "2019-08-24T14:15:22Z",
- "renewingPrice": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "shortDesc": "string",
- "signedProduct": "string",
- "subscriptionTemplate": "string",
- "taxCode": "string",
- "taxExempt": true,
- "thankYouDesc": "string",
- "trial": true,
- "trialDuration": 0,
- "unitPrice": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "variablesDetails": {
- "property1": {
- "desc": "string",
- "label": "string",
- "value": { }
}, - "property2": {
- "desc": "string",
- "label": "string",
- "value": { }
}
}, - "vatAmount": 0.1,
- "vatRate": 0.1
}
], - "marketingCampaignNames": [
- "mktop1"
], - "maxPaymentsParts": 1,
- "minPartialPaymentAmount": 5,
- "modelVersion": "string",
- "numberOfInstallments": 1,
- "offerSubSource": "RESUME | SUSPEND",
- "parentOrderId": "2G4NAYY4K23",
- "payment": {
- "actionRequired": true,
- "amount": 0.1,
- "asyncContext": "string",
- "captured": true,
- "delayToNotify": 0,
- "externalContext": "string",
- "informativeDPStatus": "string",
- "informativeFraudCheck": true,
- "magicalCardDetected": true,
- "mailPaymentConfirmationStatus": "NONE",
- "mailPaymentFailureStatus": "NONE",
- "methodId": "string",
- "methodType": "string",
- "onPaymentClickRedirectUrl": "string",
- "paymentId": "string",
- "paymentTypeId": "string",
- "previousOrderId": "string",
- "processingEvent": [
- {
- "createDate": 0,
- "message": "string",
- "metadata": {
- "property1": { },
- "property2": { }
}, - "name": "string",
- "source": "string",
- "status": "string"
}
], - "proformaError": "string",
- "proformaId": "string",
- "refundStatus": "NONE",
- "remitteds": [
- {
- "id": "string",
- "name": "string",
- "remittanceAmount": 0.1,
- "remittanceRate": 0.1,
- "round": 0
}
], - "replayedTransactionId": "string",
- "status": "NONE",
- "transactionId": "string",
- "transitionPaymentDate": "2019-08-24T14:15:22Z"
}, - "paymentDeadline": 1616143889109,
- "paymentDeadlineReached": true,
- "paymentOfflineReminderSent": true,
- "paymentStatus": "NONE",
- "payments": [
- {
- "actionRequired": true,
- "amount": 0.1,
- "asyncContext": "string",
- "captured": true,
- "delayToNotify": 0,
- "externalContext": "string",
- "informativeDPStatus": "string",
- "informativeFraudCheck": true,
- "magicalCardDetected": true,
- "mailPaymentConfirmationStatus": "NONE",
- "mailPaymentFailureStatus": "NONE",
- "methodId": "string",
- "methodType": "string",
- "onPaymentClickRedirectUrl": "string",
- "paymentId": "string",
- "paymentTypeId": "string",
- "previousOrderId": "string",
- "processingEvent": [
- {
- "createDate": 0,
- "message": "string",
- "metadata": {
- "property1": { },
- "property2": { }
}, - "name": "string",
- "source": "string",
- "status": "string"
}
], - "proformaError": "string",
- "proformaId": "string",
- "refundStatus": "NONE",
- "remitteds": [
- {
- "id": "string",
- "name": "string",
- "remittanceAmount": 0.1,
- "remittanceRate": 0.1,
- "round": 0
}
], - "replayedTransactionId": "string",
- "status": "NONE",
- "transactionId": "string",
- "transitionPaymentDate": "2019-08-24T14:15:22Z"
}
], - "prebillingStatus": "NONE",
- "promoteOneClickPayment": false,
- "registerPaymentMethodStatus": "NONE",
- "remainingTotalAmount": 0.1,
- "remitteds": [
- {
- "id": "string",
- "name": "string",
- "remittanceAmount": 0.1,
- "remittanceRate": 0.1,
- "round": 0
}
], - "salesFlag": "string",
- "salesFlags": [
- "string"
], - "scenario": "acquisition",
- "source": "PURCHASE | SUBSCRIPTION | MANUAL_RENEWAL | BILLING_PLAN | OFFER | UPGRADE",
- "status": "CANCELED_WITH_ERROR",
- "store": {
- "allowOrderDetailsOnCheckoutConfirmation": true,
- "bannerInvoice": "string",
- "bannerOrderConfEmail": "string",
- "id": "string",
- "name": "string"
}, - "storeHostname": "mystore.nexway.com",
- "subscriptionId": "119e3e2a-596a-11eb-ae93-0242ac130002",
- "subscriptionLayout": true,
- "subscriptionStatus": "NONE",
- "subscriptionSubSource": "TRIAL_CONVERSION | RENEWAL",
- "subsidiaryId": "d4beee32-5969-11eb-ae93-0242ac130002",
- "taxDeclaration": {
- "additionalProperties": {
- "property1": "string",
- "property2": "string"
}, - "broker": "AVALARA",
- "refundStatus": "FAILED",
- "refundTransactionId": "FR-20-001261481",
- "status": "COMPLETED",
- "transactionId": "FR-21-001514102"
}, - "taxTransactionId": "288d5056-d9c5-46c7-b7d8-954f45f399a4",
- "taxTypes": [
- {
- "amount": 0.1,
- "rate": 0.1,
- "taxName": "string"
}
], - "testOrder": false,
- "totalAmount": 102.5,
- "updateDate": "2019-08-24T14:15:22Z",
- "vatRate": 0.2,
- "warnings": [
- {
- "field": "string",
- "message": "string"
}
]
}
Resend email of the order
Authorizations:
path Parameters
id required | string |
query Parameters
reason | string Default: "send email thru REST Api" |
Request Body schema: application/jsonrequired
cancellationReason | string Cancellation reason |
paymentId | string Payment id |
preorderProductId | string Product if the email is about specific product (preorder case) |
Responses
Request samples
- Payload
{- "cancellationReason": "string",
- "paymentId": "string",
- "preorderProductId": "string"
}
Response samples
- 200
- 202
- 401
- 403
- 404
- 500
{- "allowPaymentMethodRegistration": false,
- "avaTaxStatus": "NONE",
- "billingPlanId": "25aaceea-5a34-11eb-ae93-0242ac130002",
- "billingPlanPeriod": "2023-12",
- "cancelPeriod": 14,
- "cartId": "f3fb782e-5969-11eb-ae93-0242ac130002",
- "cartIp": "127.0.0.1",
- "catalogId": "88960ca8-5af8-11eb-ae93-0242ac130002",
- "consentFlags": {
- "newsletterOptin": true
}, - "consentId": "64f2d71c-5af9-11eb-ae93-0242ac130002",
- "createDate": "2019-08-24T14:15:22Z",
- "creditNotes": [
- {
- "cancellationReason": "string",
- "date": "2019-08-24T14:15:22Z",
- "id": "string",
- "type": "PARTIAL"
}
], - "currency": "EUR, USD, GBP ...",
- "customer": {
- "features": {
- "createInvoice": true,
- "sendOrderConfirmationEmail": true,
- "usingFulfillmentV1": true,
- "usingSubscriptionV1": true
}, - "id": "string",
- "name": "string",
- "status": "string"
}, - "customerName": "string",
- "dbVersion": 0,
- "electronicInvoiceStatus": "NONE",
- "emailCancellationStatus": "NONE",
- "emailConfirmationStatus": "NONE",
- "emails": [
- {
- "createDate": 0,
- "emailId": "string",
- "message": "string",
- "paymentId": "string",
- "preorderProductId": "string",
- "recipient": "string",
- "templateDefinitionName": "string",
- "templateName": "string"
}
], - "endUser": {
- "accountCreated": true,
- "accountExists": true,
- "birthDate": "2019-08-24T14:15:22Z",
- "city": "Nîmes",
- "company": {
- "apeCode": "string",
- "cnpj": "string",
- "companyName": "string",
- "fullRegistrationNumber": "string",
- "registrationNumber": "string",
- "vatNumber": "string"
}, - "consumerType": "company",
- "country": "FR",
- "cpf": "string",
- "firstName": "John",
- "id": "0da71031-d6e5-48b4-bd28-7094f3c71a0b",
- "lastName": "Doe",
- "locale": "fr-FR",
- "phone": "07 00 00 00 00",
- "recipientCode": "string",
- "region": "Occitanie",
- "storeId": "9762480d-4c3d-4aea-9a75-236eb5f482c3",
- "streetAddress": "19 Avenue Feuchères",
- "taxExemptionEligible": true,
- "title": "M",
- "token": "string",
- "type": "string",
- "zipCode": "30000"
}, - "endUserCreationStatus": "NONE",
- "endUserIp": "127.0.0.1",
- "externalContext": "myExternalContext",
- "fulfillmentStatus": "NONE",
- "fullCreditNoteStatus": "NONE",
- "fullTotalAmount": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "generationId": "1",
- "geoZones": "Africa",
- "id": "string",
- "initialCurrency": "EUR, USD, GBP ...",
- "invoice": {
- "date": "2019-08-24T14:15:22Z",
- "id": "string",
- "type": "string"
}, - "invoiceStatus": "NONE",
- "lastUpdateReason": "string",
- "layout": "string",
- "layoutName": "string",
- "lifeCycleStatus": "PREBILLING_PENDING",
- "lineItems": [
- {
- "activationLink": {
- "enabled": true,
- "providerId": "string",
- "qrCodeBase64": [
- "string"
], - "qrCodeDisabled": true,
- "url": "string"
}, - "amount": 0.1,
- "businessSegment": "string",
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "customFieldsId": "string",
- "discountAmount": 0.1,
- "discountPlan": {
- "discountStep": 0,
- "ignorePurchaseDiscount": true,
- "tag": "string"
}, - "discountRate": 0.1,
- "emailDesc": "string",
- "existingLicenseId": "string",
- "expirationDate": "2019-08-24T14:15:22Z",
- "externalContext": "string",
- "fraudPoints": 0,
- "fulfillmentTemplate": "string",
- "fulfillmentTemplateName": "string",
- "id": "string",
- "initialAmount": 0.1,
- "initialNetAmount": 0.1,
- "initialVatAmount": 0.1,
- "licenseId": "string",
- "licenseNextExpirationDate": "string",
- "lifeTime": "string",
- "longDesc": "string",
- "multipleLicensesFulfillment": true,
- "name": "string",
- "netAmount": 0.1,
- "numberOfDaysBeforeRenewalRemote": 0,
- "physical": true,
- "price": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "priceFunctionParameters": {
- "property1": "string",
- "property2": "string"
}, - "productFamily": "string",
- "productId": "string",
- "productType": "string",
- "publisherRefId": "string",
- "quantity": 0,
- "relatedContents": [
- {
- "file": "string",
- "label": "string"
}
], - "releaseDate": "2019-08-24T14:15:22Z",
- "remoteLicenseExpirationDate": "2019-08-24T14:15:22Z",
- "renewingPrice": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "shortDesc": "string",
- "signedProduct": "string",
- "subscriptionTemplate": "string",
- "taxCode": "string",
- "taxExempt": true,
- "thankYouDesc": "string",
- "trial": true,
- "trialDuration": 0,
- "unitPrice": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "variablesDetails": {
- "property1": {
- "desc": "string",
- "label": "string",
- "value": { }
}, - "property2": {
- "desc": "string",
- "label": "string",
- "value": { }
}
}, - "vatAmount": 0.1,
- "vatRate": 0.1
}
], - "marketingCampaignNames": [
- "mktop1"
], - "maxPaymentsParts": 1,
- "minPartialPaymentAmount": 5,
- "modelVersion": "string",
- "numberOfInstallments": 1,
- "offerSubSource": "RESUME | SUSPEND",
- "parentOrderId": "2G4NAYY4K23",
- "payment": {
- "actionRequired": true,
- "amount": 0.1,
- "asyncContext": "string",
- "captured": true,
- "delayToNotify": 0,
- "externalContext": "string",
- "informativeDPStatus": "string",
- "informativeFraudCheck": true,
- "magicalCardDetected": true,
- "mailPaymentConfirmationStatus": "NONE",
- "mailPaymentFailureStatus": "NONE",
- "methodId": "string",
- "methodType": "string",
- "onPaymentClickRedirectUrl": "string",
- "paymentId": "string",
- "paymentTypeId": "string",
- "previousOrderId": "string",
- "processingEvent": [
- {
- "createDate": 0,
- "message": "string",
- "metadata": {
- "property1": { },
- "property2": { }
}, - "name": "string",
- "source": "string",
- "status": "string"
}
], - "proformaError": "string",
- "proformaId": "string",
- "refundStatus": "NONE",
- "remitteds": [
- {
- "id": "string",
- "name": "string",
- "remittanceAmount": 0.1,
- "remittanceRate": 0.1,
- "round": 0
}
], - "replayedTransactionId": "string",
- "status": "NONE",
- "transactionId": "string",
- "transitionPaymentDate": "2019-08-24T14:15:22Z"
}, - "paymentDeadline": 1616143889109,
- "paymentDeadlineReached": true,
- "paymentOfflineReminderSent": true,
- "paymentStatus": "NONE",
- "payments": [
- {
- "actionRequired": true,
- "amount": 0.1,
- "asyncContext": "string",
- "captured": true,
- "delayToNotify": 0,
- "externalContext": "string",
- "informativeDPStatus": "string",
- "informativeFraudCheck": true,
- "magicalCardDetected": true,
- "mailPaymentConfirmationStatus": "NONE",
- "mailPaymentFailureStatus": "NONE",
- "methodId": "string",
- "methodType": "string",
- "onPaymentClickRedirectUrl": "string",
- "paymentId": "string",
- "paymentTypeId": "string",
- "previousOrderId": "string",
- "processingEvent": [
- {
- "createDate": 0,
- "message": "string",
- "metadata": {
- "property1": { },
- "property2": { }
}, - "name": "string",
- "source": "string",
- "status": "string"
}
], - "proformaError": "string",
- "proformaId": "string",
- "refundStatus": "NONE",
- "remitteds": [
- {
- "id": "string",
- "name": "string",
- "remittanceAmount": 0.1,
- "remittanceRate": 0.1,
- "round": 0
}
], - "replayedTransactionId": "string",
- "status": "NONE",
- "transactionId": "string",
- "transitionPaymentDate": "2019-08-24T14:15:22Z"
}
], - "prebillingStatus": "NONE",
- "promoteOneClickPayment": false,
- "registerPaymentMethodStatus": "NONE",
- "remainingTotalAmount": 0.1,
- "remitteds": [
- {
- "id": "string",
- "name": "string",
- "remittanceAmount": 0.1,
- "remittanceRate": 0.1,
- "round": 0
}
], - "salesFlag": "string",
- "salesFlags": [
- "string"
], - "scenario": "acquisition",
- "source": "PURCHASE | SUBSCRIPTION | MANUAL_RENEWAL | BILLING_PLAN | OFFER | UPGRADE",
- "status": "CANCELED_WITH_ERROR",
- "store": {
- "allowOrderDetailsOnCheckoutConfirmation": true,
- "bannerInvoice": "string",
- "bannerOrderConfEmail": "string",
- "id": "string",
- "name": "string"
}, - "storeHostname": "mystore.nexway.com",
- "subscriptionId": "119e3e2a-596a-11eb-ae93-0242ac130002",
- "subscriptionLayout": true,
- "subscriptionStatus": "NONE",
- "subscriptionSubSource": "TRIAL_CONVERSION | RENEWAL",
- "subsidiaryId": "d4beee32-5969-11eb-ae93-0242ac130002",
- "taxDeclaration": {
- "additionalProperties": {
- "property1": "string",
- "property2": "string"
}, - "broker": "AVALARA",
- "refundStatus": "FAILED",
- "refundTransactionId": "FR-20-001261481",
- "status": "COMPLETED",
- "transactionId": "FR-21-001514102"
}, - "taxTransactionId": "288d5056-d9c5-46c7-b7d8-954f45f399a4",
- "taxTypes": [
- {
- "amount": 0.1,
- "rate": 0.1,
- "taxName": "string"
}
], - "testOrder": false,
- "totalAmount": 102.5,
- "updateDate": "2019-08-24T14:15:22Z",
- "vatRate": 0.2,
- "warnings": [
- {
- "field": "string",
- "message": "string"
}
]
}
Cancel completely an order
Authorizations:
path Parameters
id required | string |
query Parameters
dbVersion required | integer <int64> |
cancellationReason | string Default: "OCL" |
reason | string Default: "full cancel thru REST Api" |
Responses
Response samples
- 202
- 401
- 403
- 404
- 500
{- "allowPaymentMethodRegistration": false,
- "avaTaxStatus": "NONE",
- "billingPlanId": "25aaceea-5a34-11eb-ae93-0242ac130002",
- "billingPlanPeriod": "2023-12",
- "cancelPeriod": 14,
- "cartId": "f3fb782e-5969-11eb-ae93-0242ac130002",
- "cartIp": "127.0.0.1",
- "catalogId": "88960ca8-5af8-11eb-ae93-0242ac130002",
- "consentFlags": {
- "newsletterOptin": true
}, - "consentId": "64f2d71c-5af9-11eb-ae93-0242ac130002",
- "createDate": "2019-08-24T14:15:22Z",
- "creditNotes": [
- {
- "cancellationReason": "string",
- "date": "2019-08-24T14:15:22Z",
- "id": "string",
- "type": "PARTIAL"
}
], - "currency": "EUR, USD, GBP ...",
- "customer": {
- "features": {
- "createInvoice": true,
- "sendOrderConfirmationEmail": true,
- "usingFulfillmentV1": true,
- "usingSubscriptionV1": true
}, - "id": "string",
- "name": "string",
- "status": "string"
}, - "customerName": "string",
- "dbVersion": 0,
- "electronicInvoiceStatus": "NONE",
- "emailCancellationStatus": "NONE",
- "emailConfirmationStatus": "NONE",
- "emails": [
- {
- "createDate": 0,
- "emailId": "string",
- "message": "string",
- "paymentId": "string",
- "preorderProductId": "string",
- "recipient": "string",
- "templateDefinitionName": "string",
- "templateName": "string"
}
], - "endUser": {
- "accountCreated": true,
- "accountExists": true,
- "birthDate": "2019-08-24T14:15:22Z",
- "city": "Nîmes",
- "company": {
- "apeCode": "string",
- "cnpj": "string",
- "companyName": "string",
- "fullRegistrationNumber": "string",
- "registrationNumber": "string",
- "vatNumber": "string"
}, - "consumerType": "company",
- "country": "FR",
- "cpf": "string",
- "firstName": "John",
- "id": "0da71031-d6e5-48b4-bd28-7094f3c71a0b",
- "lastName": "Doe",
- "locale": "fr-FR",
- "phone": "07 00 00 00 00",
- "recipientCode": "string",
- "region": "Occitanie",
- "storeId": "9762480d-4c3d-4aea-9a75-236eb5f482c3",
- "streetAddress": "19 Avenue Feuchères",
- "taxExemptionEligible": true,
- "title": "M",
- "token": "string",
- "type": "string",
- "zipCode": "30000"
}, - "endUserCreationStatus": "NONE",
- "endUserIp": "127.0.0.1",
- "externalContext": "myExternalContext",
- "fulfillmentStatus": "NONE",
- "fullCreditNoteStatus": "NONE",
- "fullTotalAmount": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "generationId": "1",
- "geoZones": "Africa",
- "id": "string",
- "initialCurrency": "EUR, USD, GBP ...",
- "invoice": {
- "date": "2019-08-24T14:15:22Z",
- "id": "string",
- "type": "string"
}, - "invoiceStatus": "NONE",
- "lastUpdateReason": "string",
- "layout": "string",
- "layoutName": "string",
- "lifeCycleStatus": "PREBILLING_PENDING",
- "lineItems": [
- {
- "activationLink": {
- "enabled": true,
- "providerId": "string",
- "qrCodeBase64": [
- "string"
], - "qrCodeDisabled": true,
- "url": "string"
}, - "amount": 0.1,
- "businessSegment": "string",
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "customFieldsId": "string",
- "discountAmount": 0.1,
- "discountPlan": {
- "discountStep": 0,
- "ignorePurchaseDiscount": true,
- "tag": "string"
}, - "discountRate": 0.1,
- "emailDesc": "string",
- "existingLicenseId": "string",
- "expirationDate": "2019-08-24T14:15:22Z",
- "externalContext": "string",
- "fraudPoints": 0,
- "fulfillmentTemplate": "string",
- "fulfillmentTemplateName": "string",
- "id": "string",
- "initialAmount": 0.1,
- "initialNetAmount": 0.1,
- "initialVatAmount": 0.1,
- "licenseId": "string",
- "licenseNextExpirationDate": "string",
- "lifeTime": "string",
- "longDesc": "string",
- "multipleLicensesFulfillment": true,
- "name": "string",
- "netAmount": 0.1,
- "numberOfDaysBeforeRenewalRemote": 0,
- "physical": true,
- "price": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "priceFunctionParameters": {
- "property1": "string",
- "property2": "string"
}, - "productFamily": "string",
- "productId": "string",
- "productType": "string",
- "publisherRefId": "string",
- "quantity": 0,
- "relatedContents": [
- {
- "file": "string",
- "label": "string"
}
], - "releaseDate": "2019-08-24T14:15:22Z",
- "remoteLicenseExpirationDate": "2019-08-24T14:15:22Z",
- "renewingPrice": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "shortDesc": "string",
- "signedProduct": "string",
- "subscriptionTemplate": "string",
- "taxCode": "string",
- "taxExempt": true,
- "thankYouDesc": "string",
- "trial": true,
- "trialDuration": 0,
- "unitPrice": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "variablesDetails": {
- "property1": {
- "desc": "string",
- "label": "string",
- "value": { }
}, - "property2": {
- "desc": "string",
- "label": "string",
- "value": { }
}
}, - "vatAmount": 0.1,
- "vatRate": 0.1
}
], - "marketingCampaignNames": [
- "mktop1"
], - "maxPaymentsParts": 1,
- "minPartialPaymentAmount": 5,
- "modelVersion": "string",
- "numberOfInstallments": 1,
- "offerSubSource": "RESUME | SUSPEND",
- "parentOrderId": "2G4NAYY4K23",
- "payment": {
- "actionRequired": true,
- "amount": 0.1,
- "asyncContext": "string",
- "captured": true,
- "delayToNotify": 0,
- "externalContext": "string",
- "informativeDPStatus": "string",
- "informativeFraudCheck": true,
- "magicalCardDetected": true,
- "mailPaymentConfirmationStatus": "NONE",
- "mailPaymentFailureStatus": "NONE",
- "methodId": "string",
- "methodType": "string",
- "onPaymentClickRedirectUrl": "string",
- "paymentId": "string",
- "paymentTypeId": "string",
- "previousOrderId": "string",
- "processingEvent": [
- {
- "createDate": 0,
- "message": "string",
- "metadata": {
- "property1": { },
- "property2": { }
}, - "name": "string",
- "source": "string",
- "status": "string"
}
], - "proformaError": "string",
- "proformaId": "string",
- "refundStatus": "NONE",
- "remitteds": [
- {
- "id": "string",
- "name": "string",
- "remittanceAmount": 0.1,
- "remittanceRate": 0.1,
- "round": 0
}
], - "replayedTransactionId": "string",
- "status": "NONE",
- "transactionId": "string",
- "transitionPaymentDate": "2019-08-24T14:15:22Z"
}, - "paymentDeadline": 1616143889109,
- "paymentDeadlineReached": true,
- "paymentOfflineReminderSent": true,
- "paymentStatus": "NONE",
- "payments": [
- {
- "actionRequired": true,
- "amount": 0.1,
- "asyncContext": "string",
- "captured": true,
- "delayToNotify": 0,
- "externalContext": "string",
- "informativeDPStatus": "string",
- "informativeFraudCheck": true,
- "magicalCardDetected": true,
- "mailPaymentConfirmationStatus": "NONE",
- "mailPaymentFailureStatus": "NONE",
- "methodId": "string",
- "methodType": "string",
- "onPaymentClickRedirectUrl": "string",
- "paymentId": "string",
- "paymentTypeId": "string",
- "previousOrderId": "string",
- "processingEvent": [
- {
- "createDate": 0,
- "message": "string",
- "metadata": {
- "property1": { },
- "property2": { }
}, - "name": "string",
- "source": "string",
- "status": "string"
}
], - "proformaError": "string",
- "proformaId": "string",
- "refundStatus": "NONE",
- "remitteds": [
- {
- "id": "string",
- "name": "string",
- "remittanceAmount": 0.1,
- "remittanceRate": 0.1,
- "round": 0
}
], - "replayedTransactionId": "string",
- "status": "NONE",
- "transactionId": "string",
- "transitionPaymentDate": "2019-08-24T14:15:22Z"
}
], - "prebillingStatus": "NONE",
- "promoteOneClickPayment": false,
- "registerPaymentMethodStatus": "NONE",
- "remainingTotalAmount": 0.1,
- "remitteds": [
- {
- "id": "string",
- "name": "string",
- "remittanceAmount": 0.1,
- "remittanceRate": 0.1,
- "round": 0
}
], - "salesFlag": "string",
- "salesFlags": [
- "string"
], - "scenario": "acquisition",
- "source": "PURCHASE | SUBSCRIPTION | MANUAL_RENEWAL | BILLING_PLAN | OFFER | UPGRADE",
- "status": "CANCELED_WITH_ERROR",
- "store": {
- "allowOrderDetailsOnCheckoutConfirmation": true,
- "bannerInvoice": "string",
- "bannerOrderConfEmail": "string",
- "id": "string",
- "name": "string"
}, - "storeHostname": "mystore.nexway.com",
- "subscriptionId": "119e3e2a-596a-11eb-ae93-0242ac130002",
- "subscriptionLayout": true,
- "subscriptionStatus": "NONE",
- "subscriptionSubSource": "TRIAL_CONVERSION | RENEWAL",
- "subsidiaryId": "d4beee32-5969-11eb-ae93-0242ac130002",
- "taxDeclaration": {
- "additionalProperties": {
- "property1": "string",
- "property2": "string"
}, - "broker": "AVALARA",
- "refundStatus": "FAILED",
- "refundTransactionId": "FR-20-001261481",
- "status": "COMPLETED",
- "transactionId": "FR-21-001514102"
}, - "taxTransactionId": "288d5056-d9c5-46c7-b7d8-954f45f399a4",
- "taxTypes": [
- {
- "amount": 0.1,
- "rate": 0.1,
- "taxName": "string"
}
], - "testOrder": false,
- "totalAmount": 102.5,
- "updateDate": "2019-08-24T14:15:22Z",
- "vatRate": 0.2,
- "warnings": [
- {
- "field": "string",
- "message": "string"
}
]
}
Prepare an order for repair
Authorizations:
path Parameters
id required | string |
query Parameters
reason | string Default: "preparation for repair thru REST Api" |
Request Body schema: application/jsonrequired
object (EndUser) End-user information | |
object (ResetFulfillmentCancellationRequest) | |
resetInvoice | boolean |
resyncCustomer | boolean |
resyncEndUser | boolean |
resyncProducts | boolean |
resyncStore | boolean |
subsidiaryId | string^[0-9]{1,3}$ |
updateEndUser | boolean |
updateLayout | boolean |
object (UpdateLayoutRequest) | |
object (UpdatePaymentDeadlineRequest) |
Responses
Request samples
- Payload
{- "endUser": {
- "accountCreated": true,
- "accountExists": true,
- "birthDate": "2019-08-24T14:15:22Z",
- "city": "Nîmes",
- "company": {
- "apeCode": "string",
- "cnpj": "string",
- "companyName": "string",
- "fullRegistrationNumber": "string",
- "registrationNumber": "string",
- "vatNumber": "string"
}, - "consumerType": "company",
- "country": "FR",
- "cpf": "string",
- "firstName": "John",
- "id": "0da71031-d6e5-48b4-bd28-7094f3c71a0b",
- "lastName": "Doe",
- "locale": "fr-FR",
- "phone": "07 00 00 00 00",
- "recipientCode": "string",
- "region": "Occitanie",
- "storeId": "9762480d-4c3d-4aea-9a75-236eb5f482c3",
- "streetAddress": "19 Avenue Feuchères",
- "taxExemptionEligible": true,
- "title": "M",
- "token": "string",
- "type": "string",
- "zipCode": "30000"
}, - "resetFulfillmentCancellationRequest": {
- "lineItemDataIdToReset": "string",
- "resetFulfillmentCancellation": true,
- "subLineItemDataIdToReset": "string"
}, - "resetInvoice": true,
- "resyncCustomer": true,
- "resyncEndUser": true,
- "resyncProducts": true,
- "resyncStore": true,
- "subsidiaryId": "string",
- "updateEndUser": true,
- "updateLayout": true,
- "updateLayoutRequest": {
- "layout": "string",
- "removeLayout": true
}, - "updatePaymentDeadlineRequest": {
- "paymentDeadline": 0,
- "updatePaymentDeadline": true
}
}
Response samples
- 200
- 401
- 403
- 404
- 500
{- "allowPaymentMethodRegistration": false,
- "avaTaxStatus": "NONE",
- "billingPlanId": "25aaceea-5a34-11eb-ae93-0242ac130002",
- "billingPlanPeriod": "2023-12",
- "cancelPeriod": 14,
- "cartId": "f3fb782e-5969-11eb-ae93-0242ac130002",
- "cartIp": "127.0.0.1",
- "catalogId": "88960ca8-5af8-11eb-ae93-0242ac130002",
- "consentFlags": {
- "newsletterOptin": true
}, - "consentId": "64f2d71c-5af9-11eb-ae93-0242ac130002",
- "createDate": "2019-08-24T14:15:22Z",
- "creditNotes": [
- {
- "cancellationReason": "string",
- "date": "2019-08-24T14:15:22Z",
- "id": "string",
- "type": "PARTIAL"
}
], - "currency": "EUR, USD, GBP ...",
- "customer": {
- "features": {
- "createInvoice": true,
- "sendOrderConfirmationEmail": true,
- "usingFulfillmentV1": true,
- "usingSubscriptionV1": true
}, - "id": "string",
- "name": "string",
- "status": "string"
}, - "customerName": "string",
- "dbVersion": 0,
- "electronicInvoiceStatus": "NONE",
- "emailCancellationStatus": "NONE",
- "emailConfirmationStatus": "NONE",
- "emails": [
- {
- "createDate": 0,
- "emailId": "string",
- "message": "string",
- "paymentId": "string",
- "preorderProductId": "string",
- "recipient": "string",
- "templateDefinitionName": "string",
- "templateName": "string"
}
], - "endUser": {
- "accountCreated": true,
- "accountExists": true,
- "birthDate": "2019-08-24T14:15:22Z",
- "city": "Nîmes",
- "company": {
- "apeCode": "string",
- "cnpj": "string",
- "companyName": "string",
- "fullRegistrationNumber": "string",
- "registrationNumber": "string",
- "vatNumber": "string"
}, - "consumerType": "company",
- "country": "FR",
- "cpf": "string",
- "firstName": "John",
- "id": "0da71031-d6e5-48b4-bd28-7094f3c71a0b",
- "lastName": "Doe",
- "locale": "fr-FR",
- "phone": "07 00 00 00 00",
- "recipientCode": "string",
- "region": "Occitanie",
- "storeId": "9762480d-4c3d-4aea-9a75-236eb5f482c3",
- "streetAddress": "19 Avenue Feuchères",
- "taxExemptionEligible": true,
- "title": "M",
- "token": "string",
- "type": "string",
- "zipCode": "30000"
}, - "endUserCreationStatus": "NONE",
- "endUserIp": "127.0.0.1",
- "externalContext": "myExternalContext",
- "fulfillmentStatus": "NONE",
- "fullCreditNoteStatus": "NONE",
- "fullTotalAmount": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "generationId": "1",
- "geoZones": "Africa",
- "id": "string",
- "initialCurrency": "EUR, USD, GBP ...",
- "invoice": {
- "date": "2019-08-24T14:15:22Z",
- "id": "string",
- "type": "string"
}, - "invoiceStatus": "NONE",
- "lastUpdateReason": "string",
- "layout": "string",
- "layoutName": "string",
- "lifeCycleStatus": "PREBILLING_PENDING",
- "lineItems": [
- {
- "activationLink": {
- "enabled": true,
- "providerId": "string",
- "qrCodeBase64": [
- "string"
], - "qrCodeDisabled": true,
- "url": "string"
}, - "amount": 0.1,
- "businessSegment": "string",
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "customFieldsId": "string",
- "discountAmount": 0.1,
- "discountPlan": {
- "discountStep": 0,
- "ignorePurchaseDiscount": true,
- "tag": "string"
}, - "discountRate": 0.1,
- "emailDesc": "string",
- "existingLicenseId": "string",
- "expirationDate": "2019-08-24T14:15:22Z",
- "externalContext": "string",
- "fraudPoints": 0,
- "fulfillmentTemplate": "string",
- "fulfillmentTemplateName": "string",
- "id": "string",
- "initialAmount": 0.1,
- "initialNetAmount": 0.1,
- "initialVatAmount": 0.1,
- "licenseId": "string",
- "licenseNextExpirationDate": "string",
- "lifeTime": "string",
- "longDesc": "string",
- "multipleLicensesFulfillment": true,
- "name": "string",
- "netAmount": 0.1,
- "numberOfDaysBeforeRenewalRemote": 0,
- "physical": true,
- "price": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "priceFunctionParameters": {
- "property1": "string",
- "property2": "string"
}, - "productFamily": "string",
- "productId": "string",
- "productType": "string",
- "publisherRefId": "string",
- "quantity": 0,
- "relatedContents": [
- {
- "file": "string",
- "label": "string"
}
], - "releaseDate": "2019-08-24T14:15:22Z",
- "remoteLicenseExpirationDate": "2019-08-24T14:15:22Z",
- "renewingPrice": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "shortDesc": "string",
- "signedProduct": "string",
- "subscriptionTemplate": "string",
- "taxCode": "string",
- "taxExempt": true,
- "thankYouDesc": "string",
- "trial": true,
- "trialDuration": 0,
- "unitPrice": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "variablesDetails": {
- "property1": {
- "desc": "string",
- "label": "string",
- "value": { }
}, - "property2": {
- "desc": "string",
- "label": "string",
- "value": { }
}
}, - "vatAmount": 0.1,
- "vatRate": 0.1
}
], - "marketingCampaignNames": [
- "mktop1"
], - "maxPaymentsParts": 1,
- "minPartialPaymentAmount": 5,
- "modelVersion": "string",
- "numberOfInstallments": 1,
- "offerSubSource": "RESUME | SUSPEND",
- "parentOrderId": "2G4NAYY4K23",
- "payment": {
- "actionRequired": true,
- "amount": 0.1,
- "asyncContext": "string",
- "captured": true,
- "delayToNotify": 0,
- "externalContext": "string",
- "informativeDPStatus": "string",
- "informativeFraudCheck": true,
- "magicalCardDetected": true,
- "mailPaymentConfirmationStatus": "NONE",
- "mailPaymentFailureStatus": "NONE",
- "methodId": "string",
- "methodType": "string",
- "onPaymentClickRedirectUrl": "string",
- "paymentId": "string",
- "paymentTypeId": "string",
- "previousOrderId": "string",
- "processingEvent": [
- {
- "createDate": 0,
- "message": "string",
- "metadata": {
- "property1": { },
- "property2": { }
}, - "name": "string",
- "source": "string",
- "status": "string"
}
], - "proformaError": "string",
- "proformaId": "string",
- "refundStatus": "NONE",
- "remitteds": [
- {
- "id": "string",
- "name": "string",
- "remittanceAmount": 0.1,
- "remittanceRate": 0.1,
- "round": 0
}
], - "replayedTransactionId": "string",
- "status": "NONE",
- "transactionId": "string",
- "transitionPaymentDate": "2019-08-24T14:15:22Z"
}, - "paymentDeadline": 1616143889109,
- "paymentDeadlineReached": true,
- "paymentOfflineReminderSent": true,
- "paymentStatus": "NONE",
- "payments": [
- {
- "actionRequired": true,
- "amount": 0.1,
- "asyncContext": "string",
- "captured": true,
- "delayToNotify": 0,
- "externalContext": "string",
- "informativeDPStatus": "string",
- "informativeFraudCheck": true,
- "magicalCardDetected": true,
- "mailPaymentConfirmationStatus": "NONE",
- "mailPaymentFailureStatus": "NONE",
- "methodId": "string",
- "methodType": "string",
- "onPaymentClickRedirectUrl": "string",
- "paymentId": "string",
- "paymentTypeId": "string",
- "previousOrderId": "string",
- "processingEvent": [
- {
- "createDate": 0,
- "message": "string",
- "metadata": {
- "property1": { },
- "property2": { }
}, - "name": "string",
- "source": "string",
- "status": "string"
}
], - "proformaError": "string",
- "proformaId": "string",
- "refundStatus": "NONE",
- "remitteds": [
- {
- "id": "string",
- "name": "string",
- "remittanceAmount": 0.1,
- "remittanceRate": 0.1,
- "round": 0
}
], - "replayedTransactionId": "string",
- "status": "NONE",
- "transactionId": "string",
- "transitionPaymentDate": "2019-08-24T14:15:22Z"
}
], - "prebillingStatus": "NONE",
- "promoteOneClickPayment": false,
- "registerPaymentMethodStatus": "NONE",
- "remainingTotalAmount": 0.1,
- "remitteds": [
- {
- "id": "string",
- "name": "string",
- "remittanceAmount": 0.1,
- "remittanceRate": 0.1,
- "round": 0
}
], - "salesFlag": "string",
- "salesFlags": [
- "string"
], - "scenario": "acquisition",
- "source": "PURCHASE | SUBSCRIPTION | MANUAL_RENEWAL | BILLING_PLAN | OFFER | UPGRADE",
- "status": "CANCELED_WITH_ERROR",
- "store": {
- "allowOrderDetailsOnCheckoutConfirmation": true,
- "bannerInvoice": "string",
- "bannerOrderConfEmail": "string",
- "id": "string",
- "name": "string"
}, - "storeHostname": "mystore.nexway.com",
- "subscriptionId": "119e3e2a-596a-11eb-ae93-0242ac130002",
- "subscriptionLayout": true,
- "subscriptionStatus": "NONE",
- "subscriptionSubSource": "TRIAL_CONVERSION | RENEWAL",
- "subsidiaryId": "d4beee32-5969-11eb-ae93-0242ac130002",
- "taxDeclaration": {
- "additionalProperties": {
- "property1": "string",
- "property2": "string"
}, - "broker": "AVALARA",
- "refundStatus": "FAILED",
- "refundTransactionId": "FR-20-001261481",
- "status": "COMPLETED",
- "transactionId": "FR-21-001514102"
}, - "taxTransactionId": "288d5056-d9c5-46c7-b7d8-954f45f399a4",
- "taxTypes": [
- {
- "amount": 0.1,
- "rate": 0.1,
- "taxName": "string"
}
], - "testOrder": false,
- "totalAmount": 102.5,
- "updateDate": "2019-08-24T14:15:22Z",
- "vatRate": 0.2,
- "warnings": [
- {
- "field": "string",
- "message": "string"
}
]
}
Repair an order
Authorizations:
path Parameters
id required | string |
query Parameters
dbVersion required | integer <int64> |
forceRepair | boolean Default: false |
reason | string Default: "repair thru REST Api" |
Responses
Response samples
- 200
- 401
- 403
- 404
- 500
{- "allowPaymentMethodRegistration": false,
- "avaTaxStatus": "NONE",
- "billingPlanId": "25aaceea-5a34-11eb-ae93-0242ac130002",
- "billingPlanPeriod": "2023-12",
- "cancelPeriod": 14,
- "cartId": "f3fb782e-5969-11eb-ae93-0242ac130002",
- "cartIp": "127.0.0.1",
- "catalogId": "88960ca8-5af8-11eb-ae93-0242ac130002",
- "consentFlags": {
- "newsletterOptin": true
}, - "consentId": "64f2d71c-5af9-11eb-ae93-0242ac130002",
- "createDate": "2019-08-24T14:15:22Z",
- "creditNotes": [
- {
- "cancellationReason": "string",
- "date": "2019-08-24T14:15:22Z",
- "id": "string",
- "type": "PARTIAL"
}
], - "currency": "EUR, USD, GBP ...",
- "customer": {
- "features": {
- "createInvoice": true,
- "sendOrderConfirmationEmail": true,
- "usingFulfillmentV1": true,
- "usingSubscriptionV1": true
}, - "id": "string",
- "name": "string",
- "status": "string"
}, - "customerName": "string",
- "dbVersion": 0,
- "electronicInvoiceStatus": "NONE",
- "emailCancellationStatus": "NONE",
- "emailConfirmationStatus": "NONE",
- "emails": [
- {
- "createDate": 0,
- "emailId": "string",
- "message": "string",
- "paymentId": "string",
- "preorderProductId": "string",
- "recipient": "string",
- "templateDefinitionName": "string",
- "templateName": "string"
}
], - "endUser": {
- "accountCreated": true,
- "accountExists": true,
- "birthDate": "2019-08-24T14:15:22Z",
- "city": "Nîmes",
- "company": {
- "apeCode": "string",
- "cnpj": "string",
- "companyName": "string",
- "fullRegistrationNumber": "string",
- "registrationNumber": "string",
- "vatNumber": "string"
}, - "consumerType": "company",
- "country": "FR",
- "cpf": "string",
- "firstName": "John",
- "id": "0da71031-d6e5-48b4-bd28-7094f3c71a0b",
- "lastName": "Doe",
- "locale": "fr-FR",
- "phone": "07 00 00 00 00",
- "recipientCode": "string",
- "region": "Occitanie",
- "storeId": "9762480d-4c3d-4aea-9a75-236eb5f482c3",
- "streetAddress": "19 Avenue Feuchères",
- "taxExemptionEligible": true,
- "title": "M",
- "token": "string",
- "type": "string",
- "zipCode": "30000"
}, - "endUserCreationStatus": "NONE",
- "endUserIp": "127.0.0.1",
- "externalContext": "myExternalContext",
- "fulfillmentStatus": "NONE",
- "fullCreditNoteStatus": "NONE",
- "fullTotalAmount": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "generationId": "1",
- "geoZones": "Africa",
- "id": "string",
- "initialCurrency": "EUR, USD, GBP ...",
- "invoice": {
- "date": "2019-08-24T14:15:22Z",
- "id": "string",
- "type": "string"
}, - "invoiceStatus": "NONE",
- "lastUpdateReason": "string",
- "layout": "string",
- "layoutName": "string",
- "lifeCycleStatus": "PREBILLING_PENDING",
- "lineItems": [
- {
- "activationLink": {
- "enabled": true,
- "providerId": "string",
- "qrCodeBase64": [
- "string"
], - "qrCodeDisabled": true,
- "url": "string"
}, - "amount": 0.1,
- "businessSegment": "string",
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "customFieldsId": "string",
- "discountAmount": 0.1,
- "discountPlan": {
- "discountStep": 0,
- "ignorePurchaseDiscount": true,
- "tag": "string"
}, - "discountRate": 0.1,
- "emailDesc": "string",
- "existingLicenseId": "string",
- "expirationDate": "2019-08-24T14:15:22Z",
- "externalContext": "string",
- "fraudPoints": 0,
- "fulfillmentTemplate": "string",
- "fulfillmentTemplateName": "string",
- "id": "string",
- "initialAmount": 0.1,
- "initialNetAmount": 0.1,
- "initialVatAmount": 0.1,
- "licenseId": "string",
- "licenseNextExpirationDate": "string",
- "lifeTime": "string",
- "longDesc": "string",
- "multipleLicensesFulfillment": true,
- "name": "string",
- "netAmount": 0.1,
- "numberOfDaysBeforeRenewalRemote": 0,
- "physical": true,
- "price": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "priceFunctionParameters": {
- "property1": "string",
- "property2": "string"
}, - "productFamily": "string",
- "productId": "string",
- "productType": "string",
- "publisherRefId": "string",
- "quantity": 0,
- "relatedContents": [
- {
- "file": "string",
- "label": "string"
}
], - "releaseDate": "2019-08-24T14:15:22Z",
- "remoteLicenseExpirationDate": "2019-08-24T14:15:22Z",
- "renewingPrice": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "shortDesc": "string",
- "signedProduct": "string",
- "subscriptionTemplate": "string",
- "taxCode": "string",
- "taxExempt": true,
- "thankYouDesc": "string",
- "trial": true,
- "trialDuration": 0,
- "unitPrice": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "variablesDetails": {
- "property1": {
- "desc": "string",
- "label": "string",
- "value": { }
}, - "property2": {
- "desc": "string",
- "label": "string",
- "value": { }
}
}, - "vatAmount": 0.1,
- "vatRate": 0.1
}
], - "marketingCampaignNames": [
- "mktop1"
], - "maxPaymentsParts": 1,
- "minPartialPaymentAmount": 5,
- "modelVersion": "string",
- "numberOfInstallments": 1,
- "offerSubSource": "RESUME | SUSPEND",
- "parentOrderId": "2G4NAYY4K23",
- "payment": {
- "actionRequired": true,
- "amount": 0.1,
- "asyncContext": "string",
- "captured": true,
- "delayToNotify": 0,
- "externalContext": "string",
- "informativeDPStatus": "string",
- "informativeFraudCheck": true,
- "magicalCardDetected": true,
- "mailPaymentConfirmationStatus": "NONE",
- "mailPaymentFailureStatus": "NONE",
- "methodId": "string",
- "methodType": "string",
- "onPaymentClickRedirectUrl": "string",
- "paymentId": "string",
- "paymentTypeId": "string",
- "previousOrderId": "string",
- "processingEvent": [
- {
- "createDate": 0,
- "message": "string",
- "metadata": {
- "property1": { },
- "property2": { }
}, - "name": "string",
- "source": "string",
- "status": "string"
}
], - "proformaError": "string",
- "proformaId": "string",
- "refundStatus": "NONE",
- "remitteds": [
- {
- "id": "string",
- "name": "string",
- "remittanceAmount": 0.1,
- "remittanceRate": 0.1,
- "round": 0
}
], - "replayedTransactionId": "string",
- "status": "NONE",
- "transactionId": "string",
- "transitionPaymentDate": "2019-08-24T14:15:22Z"
}, - "paymentDeadline": 1616143889109,
- "paymentDeadlineReached": true,
- "paymentOfflineReminderSent": true,
- "paymentStatus": "NONE",
- "payments": [
- {
- "actionRequired": true,
- "amount": 0.1,
- "asyncContext": "string",
- "captured": true,
- "delayToNotify": 0,
- "externalContext": "string",
- "informativeDPStatus": "string",
- "informativeFraudCheck": true,
- "magicalCardDetected": true,
- "mailPaymentConfirmationStatus": "NONE",
- "mailPaymentFailureStatus": "NONE",
- "methodId": "string",
- "methodType": "string",
- "onPaymentClickRedirectUrl": "string",
- "paymentId": "string",
- "paymentTypeId": "string",
- "previousOrderId": "string",
- "processingEvent": [
- {
- "createDate": 0,
- "message": "string",
- "metadata": {
- "property1": { },
- "property2": { }
}, - "name": "string",
- "source": "string",
- "status": "string"
}
], - "proformaError": "string",
- "proformaId": "string",
- "refundStatus": "NONE",
- "remitteds": [
- {
- "id": "string",
- "name": "string",
- "remittanceAmount": 0.1,
- "remittanceRate": 0.1,
- "round": 0
}
], - "replayedTransactionId": "string",
- "status": "NONE",
- "transactionId": "string",
- "transitionPaymentDate": "2019-08-24T14:15:22Z"
}
], - "prebillingStatus": "NONE",
- "promoteOneClickPayment": false,
- "registerPaymentMethodStatus": "NONE",
- "remainingTotalAmount": 0.1,
- "remitteds": [
- {
- "id": "string",
- "name": "string",
- "remittanceAmount": 0.1,
- "remittanceRate": 0.1,
- "round": 0
}
], - "salesFlag": "string",
- "salesFlags": [
- "string"
], - "scenario": "acquisition",
- "source": "PURCHASE | SUBSCRIPTION | MANUAL_RENEWAL | BILLING_PLAN | OFFER | UPGRADE",
- "status": "CANCELED_WITH_ERROR",
- "store": {
- "allowOrderDetailsOnCheckoutConfirmation": true,
- "bannerInvoice": "string",
- "bannerOrderConfEmail": "string",
- "id": "string",
- "name": "string"
}, - "storeHostname": "mystore.nexway.com",
- "subscriptionId": "119e3e2a-596a-11eb-ae93-0242ac130002",
- "subscriptionLayout": true,
- "subscriptionStatus": "NONE",
- "subscriptionSubSource": "TRIAL_CONVERSION | RENEWAL",
- "subsidiaryId": "d4beee32-5969-11eb-ae93-0242ac130002",
- "taxDeclaration": {
- "additionalProperties": {
- "property1": "string",
- "property2": "string"
}, - "broker": "AVALARA",
- "refundStatus": "FAILED",
- "refundTransactionId": "FR-20-001261481",
- "status": "COMPLETED",
- "transactionId": "FR-21-001514102"
}, - "taxTransactionId": "288d5056-d9c5-46c7-b7d8-954f45f399a4",
- "taxTypes": [
- {
- "amount": 0.1,
- "rate": 0.1,
- "taxName": "string"
}
], - "testOrder": false,
- "totalAmount": 102.5,
- "updateDate": "2019-08-24T14:15:22Z",
- "vatRate": 0.2,
- "warnings": [
- {
- "field": "string",
- "message": "string"
}
]
}
Response samples
- 200
- 401
- 403
- 404
- 500
{- "allowPaymentMethodRegistration": false,
- "avaTaxStatus": "NONE",
- "billingPlanId": "25aaceea-5a34-11eb-ae93-0242ac130002",
- "billingPlanPeriod": "2023-12",
- "cancelPeriod": 14,
- "cartId": "f3fb782e-5969-11eb-ae93-0242ac130002",
- "cartIp": "127.0.0.1",
- "catalogId": "88960ca8-5af8-11eb-ae93-0242ac130002",
- "consentFlags": {
- "newsletterOptin": true
}, - "consentId": "64f2d71c-5af9-11eb-ae93-0242ac130002",
- "createDate": "2019-08-24T14:15:22Z",
- "creditNotes": [
- {
- "cancellationReason": "string",
- "date": "2019-08-24T14:15:22Z",
- "id": "string",
- "type": "PARTIAL"
}
], - "currency": "EUR, USD, GBP ...",
- "customer": {
- "features": {
- "createInvoice": true,
- "sendOrderConfirmationEmail": true,
- "usingFulfillmentV1": true,
- "usingSubscriptionV1": true
}, - "id": "string",
- "name": "string",
- "status": "string"
}, - "customerName": "string",
- "dbVersion": 0,
- "electronicInvoiceStatus": "NONE",
- "emailCancellationStatus": "NONE",
- "emailConfirmationStatus": "NONE",
- "emails": [
- {
- "createDate": 0,
- "emailId": "string",
- "message": "string",
- "paymentId": "string",
- "preorderProductId": "string",
- "recipient": "string",
- "templateDefinitionName": "string",
- "templateName": "string"
}
], - "endUser": {
- "accountCreated": true,
- "accountExists": true,
- "birthDate": "2019-08-24T14:15:22Z",
- "city": "Nîmes",
- "company": {
- "apeCode": "string",
- "cnpj": "string",
- "companyName": "string",
- "fullRegistrationNumber": "string",
- "registrationNumber": "string",
- "vatNumber": "string"
}, - "consumerType": "company",
- "country": "FR",
- "cpf": "string",
- "firstName": "John",
- "id": "0da71031-d6e5-48b4-bd28-7094f3c71a0b",
- "lastName": "Doe",
- "locale": "fr-FR",
- "phone": "07 00 00 00 00",
- "recipientCode": "string",
- "region": "Occitanie",
- "storeId": "9762480d-4c3d-4aea-9a75-236eb5f482c3",
- "streetAddress": "19 Avenue Feuchères",
- "taxExemptionEligible": true,
- "title": "M",
- "token": "string",
- "type": "string",
- "zipCode": "30000"
}, - "endUserCreationStatus": "NONE",
- "endUserIp": "127.0.0.1",
- "externalContext": "myExternalContext",
- "fulfillmentStatus": "NONE",
- "fullCreditNoteStatus": "NONE",
- "fullTotalAmount": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "generationId": "1",
- "geoZones": "Africa",
- "id": "string",
- "initialCurrency": "EUR, USD, GBP ...",
- "invoice": {
- "date": "2019-08-24T14:15:22Z",
- "id": "string",
- "type": "string"
}, - "invoiceStatus": "NONE",
- "lastUpdateReason": "string",
- "layout": "string",
- "layoutName": "string",
- "lifeCycleStatus": "PREBILLING_PENDING",
- "lineItems": [
- {
- "activationLink": {
- "enabled": true,
- "providerId": "string",
- "qrCodeBase64": [
- "string"
], - "qrCodeDisabled": true,
- "url": "string"
}, - "amount": 0.1,
- "businessSegment": "string",
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "customFieldsId": "string",
- "discountAmount": 0.1,
- "discountPlan": {
- "discountStep": 0,
- "ignorePurchaseDiscount": true,
- "tag": "string"
}, - "discountRate": 0.1,
- "emailDesc": "string",
- "existingLicenseId": "string",
- "expirationDate": "2019-08-24T14:15:22Z",
- "externalContext": "string",
- "fraudPoints": 0,
- "fulfillmentTemplate": "string",
- "fulfillmentTemplateName": "string",
- "id": "string",
- "initialAmount": 0.1,
- "initialNetAmount": 0.1,
- "initialVatAmount": 0.1,
- "licenseId": "string",
- "licenseNextExpirationDate": "string",
- "lifeTime": "string",
- "longDesc": "string",
- "multipleLicensesFulfillment": true,
- "name": "string",
- "netAmount": 0.1,
- "numberOfDaysBeforeRenewalRemote": 0,
- "physical": true,
- "price": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "priceFunctionParameters": {
- "property1": "string",
- "property2": "string"
}, - "productFamily": "string",
- "productId": "string",
- "productType": "string",
- "publisherRefId": "string",
- "quantity": 0,
- "relatedContents": [
- {
- "file": "string",
- "label": "string"
}
], - "releaseDate": "2019-08-24T14:15:22Z",
- "remoteLicenseExpirationDate": "2019-08-24T14:15:22Z",
- "renewingPrice": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "shortDesc": "string",
- "signedProduct": "string",
- "subscriptionTemplate": "string",
- "taxCode": "string",
- "taxExempt": true,
- "thankYouDesc": "string",
- "trial": true,
- "trialDuration": 0,
- "unitPrice": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "variablesDetails": {
- "property1": {
- "desc": "string",
- "label": "string",
- "value": { }
}, - "property2": {
- "desc": "string",
- "label": "string",
- "value": { }
}
}, - "vatAmount": 0.1,
- "vatRate": 0.1
}
], - "marketingCampaignNames": [
- "mktop1"
], - "maxPaymentsParts": 1,
- "minPartialPaymentAmount": 5,
- "modelVersion": "string",
- "numberOfInstallments": 1,
- "offerSubSource": "RESUME | SUSPEND",
- "parentOrderId": "2G4NAYY4K23",
- "payment": {
- "actionRequired": true,
- "amount": 0.1,
- "asyncContext": "string",
- "captured": true,
- "delayToNotify": 0,
- "externalContext": "string",
- "informativeDPStatus": "string",
- "informativeFraudCheck": true,
- "magicalCardDetected": true,
- "mailPaymentConfirmationStatus": "NONE",
- "mailPaymentFailureStatus": "NONE",
- "methodId": "string",
- "methodType": "string",
- "onPaymentClickRedirectUrl": "string",
- "paymentId": "string",
- "paymentTypeId": "string",
- "previousOrderId": "string",
- "processingEvent": [
- {
- "createDate": 0,
- "message": "string",
- "metadata": {
- "property1": { },
- "property2": { }
}, - "name": "string",
- "source": "string",
- "status": "string"
}
], - "proformaError": "string",
- "proformaId": "string",
- "refundStatus": "NONE",
- "remitteds": [
- {
- "id": "string",
- "name": "string",
- "remittanceAmount": 0.1,
- "remittanceRate": 0.1,
- "round": 0
}
], - "replayedTransactionId": "string",
- "status": "NONE",
- "transactionId": "string",
- "transitionPaymentDate": "2019-08-24T14:15:22Z"
}, - "paymentDeadline": 1616143889109,
- "paymentDeadlineReached": true,
- "paymentOfflineReminderSent": true,
- "paymentStatus": "NONE",
- "payments": [
- {
- "actionRequired": true,
- "amount": 0.1,
- "asyncContext": "string",
- "captured": true,
- "delayToNotify": 0,
- "externalContext": "string",
- "informativeDPStatus": "string",
- "informativeFraudCheck": true,
- "magicalCardDetected": true,
- "mailPaymentConfirmationStatus": "NONE",
- "mailPaymentFailureStatus": "NONE",
- "methodId": "string",
- "methodType": "string",
- "onPaymentClickRedirectUrl": "string",
- "paymentId": "string",
- "paymentTypeId": "string",
- "previousOrderId": "string",
- "processingEvent": [
- {
- "createDate": 0,
- "message": "string",
- "metadata": {
- "property1": { },
- "property2": { }
}, - "name": "string",
- "source": "string",
- "status": "string"
}
], - "proformaError": "string",
- "proformaId": "string",
- "refundStatus": "NONE",
- "remitteds": [
- {
- "id": "string",
- "name": "string",
- "remittanceAmount": 0.1,
- "remittanceRate": 0.1,
- "round": 0
}
], - "replayedTransactionId": "string",
- "status": "NONE",
- "transactionId": "string",
- "transitionPaymentDate": "2019-08-24T14:15:22Z"
}
], - "prebillingStatus": "NONE",
- "promoteOneClickPayment": false,
- "registerPaymentMethodStatus": "NONE",
- "remainingTotalAmount": 0.1,
- "remitteds": [
- {
- "id": "string",
- "name": "string",
- "remittanceAmount": 0.1,
- "remittanceRate": 0.1,
- "round": 0
}
], - "salesFlag": "string",
- "salesFlags": [
- "string"
], - "scenario": "acquisition",
- "source": "PURCHASE | SUBSCRIPTION | MANUAL_RENEWAL | BILLING_PLAN | OFFER | UPGRADE",
- "status": "CANCELED_WITH_ERROR",
- "store": {
- "allowOrderDetailsOnCheckoutConfirmation": true,
- "bannerInvoice": "string",
- "bannerOrderConfEmail": "string",
- "id": "string",
- "name": "string"
}, - "storeHostname": "mystore.nexway.com",
- "subscriptionId": "119e3e2a-596a-11eb-ae93-0242ac130002",
- "subscriptionLayout": true,
- "subscriptionStatus": "NONE",
- "subscriptionSubSource": "TRIAL_CONVERSION | RENEWAL",
- "subsidiaryId": "d4beee32-5969-11eb-ae93-0242ac130002",
- "taxDeclaration": {
- "additionalProperties": {
- "property1": "string",
- "property2": "string"
}, - "broker": "AVALARA",
- "refundStatus": "FAILED",
- "refundTransactionId": "FR-20-001261481",
- "status": "COMPLETED",
- "transactionId": "FR-21-001514102"
}, - "taxTransactionId": "288d5056-d9c5-46c7-b7d8-954f45f399a4",
- "taxTypes": [
- {
- "amount": 0.1,
- "rate": 0.1,
- "taxName": "string"
}
], - "testOrder": false,
- "totalAmount": 102.5,
- "updateDate": "2019-08-24T14:15:22Z",
- "vatRate": 0.2,
- "warnings": [
- {
- "field": "string",
- "message": "string"
}
]
}
Update one line item in order
Authorizations:
path Parameters
orderId required | string |
lineItemId required | string |
query Parameters
reason | string Default: "resource update thru REST Api" |
Request Body schema: application/jsonrequired
object | |||
|
Responses
Request samples
- Payload
[- {
- "metadata": {
- "property1": { },
- "property2": { }
}
}
]
Response samples
- 200
- 401
- 403
- 404
- 500
{- "allowPaymentMethodRegistration": false,
- "avaTaxStatus": "NONE",
- "billingPlanId": "25aaceea-5a34-11eb-ae93-0242ac130002",
- "billingPlanPeriod": "2023-12",
- "cancelPeriod": 14,
- "cartId": "f3fb782e-5969-11eb-ae93-0242ac130002",
- "cartIp": "127.0.0.1",
- "catalogId": "88960ca8-5af8-11eb-ae93-0242ac130002",
- "consentFlags": {
- "newsletterOptin": true
}, - "consentId": "64f2d71c-5af9-11eb-ae93-0242ac130002",
- "createDate": "2019-08-24T14:15:22Z",
- "creditNotes": [
- {
- "cancellationReason": "string",
- "date": "2019-08-24T14:15:22Z",
- "id": "string",
- "type": "PARTIAL"
}
], - "currency": "EUR, USD, GBP ...",
- "customer": {
- "features": {
- "createInvoice": true,
- "sendOrderConfirmationEmail": true,
- "usingFulfillmentV1": true,
- "usingSubscriptionV1": true
}, - "id": "string",
- "name": "string",
- "status": "string"
}, - "customerName": "string",
- "dbVersion": 0,
- "electronicInvoiceStatus": "NONE",
- "emailCancellationStatus": "NONE",
- "emailConfirmationStatus": "NONE",
- "emails": [
- {
- "createDate": 0,
- "emailId": "string",
- "message": "string",
- "paymentId": "string",
- "preorderProductId": "string",
- "recipient": "string",
- "templateDefinitionName": "string",
- "templateName": "string"
}
], - "endUser": {
- "accountCreated": true,
- "accountExists": true,
- "birthDate": "2019-08-24T14:15:22Z",
- "city": "Nîmes",
- "company": {
- "apeCode": "string",
- "cnpj": "string",
- "companyName": "string",
- "fullRegistrationNumber": "string",
- "registrationNumber": "string",
- "vatNumber": "string"
}, - "consumerType": "company",
- "country": "FR",
- "cpf": "string",
- "firstName": "John",
- "id": "0da71031-d6e5-48b4-bd28-7094f3c71a0b",
- "lastName": "Doe",
- "locale": "fr-FR",
- "phone": "07 00 00 00 00",
- "recipientCode": "string",
- "region": "Occitanie",
- "storeId": "9762480d-4c3d-4aea-9a75-236eb5f482c3",
- "streetAddress": "19 Avenue Feuchères",
- "taxExemptionEligible": true,
- "title": "M",
- "token": "string",
- "type": "string",
- "zipCode": "30000"
}, - "endUserCreationStatus": "NONE",
- "endUserIp": "127.0.0.1",
- "externalContext": "myExternalContext",
- "fulfillmentStatus": "NONE",
- "fullCreditNoteStatus": "NONE",
- "fullTotalAmount": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "generationId": "1",
- "geoZones": "Africa",
- "id": "string",
- "initialCurrency": "EUR, USD, GBP ...",
- "invoice": {
- "date": "2019-08-24T14:15:22Z",
- "id": "string",
- "type": "string"
}, - "invoiceStatus": "NONE",
- "lastUpdateReason": "string",
- "layout": "string",
- "layoutName": "string",
- "lifeCycleStatus": "PREBILLING_PENDING",
- "lineItems": [
- {
- "activationLink": {
- "enabled": true,
- "providerId": "string",
- "qrCodeBase64": [
- "string"
], - "qrCodeDisabled": true,
- "url": "string"
}, - "amount": 0.1,
- "businessSegment": "string",
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "customFieldsId": "string",
- "discountAmount": 0.1,
- "discountPlan": {
- "discountStep": 0,
- "ignorePurchaseDiscount": true,
- "tag": "string"
}, - "discountRate": 0.1,
- "emailDesc": "string",
- "existingLicenseId": "string",
- "expirationDate": "2019-08-24T14:15:22Z",
- "externalContext": "string",
- "fraudPoints": 0,
- "fulfillmentTemplate": "string",
- "fulfillmentTemplateName": "string",
- "id": "string",
- "initialAmount": 0.1,
- "initialNetAmount": 0.1,
- "initialVatAmount": 0.1,
- "licenseId": "string",
- "licenseNextExpirationDate": "string",
- "lifeTime": "string",
- "longDesc": "string",
- "multipleLicensesFulfillment": true,
- "name": "string",
- "netAmount": 0.1,
- "numberOfDaysBeforeRenewalRemote": 0,
- "physical": true,
- "price": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "priceFunctionParameters": {
- "property1": "string",
- "property2": "string"
}, - "productFamily": "string",
- "productId": "string",
- "productType": "string",
- "publisherRefId": "string",
- "quantity": 0,
- "relatedContents": [
- {
- "file": "string",
- "label": "string"
}
], - "releaseDate": "2019-08-24T14:15:22Z",
- "remoteLicenseExpirationDate": "2019-08-24T14:15:22Z",
- "renewingPrice": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "shortDesc": "string",
- "signedProduct": "string",
- "subscriptionTemplate": "string",
- "taxCode": "string",
- "taxExempt": true,
- "thankYouDesc": "string",
- "trial": true,
- "trialDuration": 0,
- "unitPrice": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "variablesDetails": {
- "property1": {
- "desc": "string",
- "label": "string",
- "value": { }
}, - "property2": {
- "desc": "string",
- "label": "string",
- "value": { }
}
}, - "vatAmount": 0.1,
- "vatRate": 0.1
}
], - "marketingCampaignNames": [
- "mktop1"
], - "maxPaymentsParts": 1,
- "minPartialPaymentAmount": 5,
- "modelVersion": "string",
- "numberOfInstallments": 1,
- "offerSubSource": "RESUME | SUSPEND",
- "parentOrderId": "2G4NAYY4K23",
- "payment": {
- "actionRequired": true,
- "amount": 0.1,
- "asyncContext": "string",
- "captured": true,
- "delayToNotify": 0,
- "externalContext": "string",
- "informativeDPStatus": "string",
- "informativeFraudCheck": true,
- "magicalCardDetected": true,
- "mailPaymentConfirmationStatus": "NONE",
- "mailPaymentFailureStatus": "NONE",
- "methodId": "string",
- "methodType": "string",
- "onPaymentClickRedirectUrl": "string",
- "paymentId": "string",
- "paymentTypeId": "string",
- "previousOrderId": "string",
- "processingEvent": [
- {
- "createDate": 0,
- "message": "string",
- "metadata": {
- "property1": { },
- "property2": { }
}, - "name": "string",
- "source": "string",
- "status": "string"
}
], - "proformaError": "string",
- "proformaId": "string",
- "refundStatus": "NONE",
- "remitteds": [
- {
- "id": "string",
- "name": "string",
- "remittanceAmount": 0.1,
- "remittanceRate": 0.1,
- "round": 0
}
], - "replayedTransactionId": "string",
- "status": "NONE",
- "transactionId": "string",
- "transitionPaymentDate": "2019-08-24T14:15:22Z"
}, - "paymentDeadline": 1616143889109,
- "paymentDeadlineReached": true,
- "paymentOfflineReminderSent": true,
- "paymentStatus": "NONE",
- "payments": [
- {
- "actionRequired": true,
- "amount": 0.1,
- "asyncContext": "string",
- "captured": true,
- "delayToNotify": 0,
- "externalContext": "string",
- "informativeDPStatus": "string",
- "informativeFraudCheck": true,
- "magicalCardDetected": true,
- "mailPaymentConfirmationStatus": "NONE",
- "mailPaymentFailureStatus": "NONE",
- "methodId": "string",
- "methodType": "string",
- "onPaymentClickRedirectUrl": "string",
- "paymentId": "string",
- "paymentTypeId": "string",
- "previousOrderId": "string",
- "processingEvent": [
- {
- "createDate": 0,
- "message": "string",
- "metadata": {
- "property1": { },
- "property2": { }
}, - "name": "string",
- "source": "string",
- "status": "string"
}
], - "proformaError": "string",
- "proformaId": "string",
- "refundStatus": "NONE",
- "remitteds": [
- {
- "id": "string",
- "name": "string",
- "remittanceAmount": 0.1,
- "remittanceRate": 0.1,
- "round": 0
}
], - "replayedTransactionId": "string",
- "status": "NONE",
- "transactionId": "string",
- "transitionPaymentDate": "2019-08-24T14:15:22Z"
}
], - "prebillingStatus": "NONE",
- "promoteOneClickPayment": false,
- "registerPaymentMethodStatus": "NONE",
- "remainingTotalAmount": 0.1,
- "remitteds": [
- {
- "id": "string",
- "name": "string",
- "remittanceAmount": 0.1,
- "remittanceRate": 0.1,
- "round": 0
}
], - "salesFlag": "string",
- "salesFlags": [
- "string"
], - "scenario": "acquisition",
- "source": "PURCHASE | SUBSCRIPTION | MANUAL_RENEWAL | BILLING_PLAN | OFFER | UPGRADE",
- "status": "CANCELED_WITH_ERROR",
- "store": {
- "allowOrderDetailsOnCheckoutConfirmation": true,
- "bannerInvoice": "string",
- "bannerOrderConfEmail": "string",
- "id": "string",
- "name": "string"
}, - "storeHostname": "mystore.nexway.com",
- "subscriptionId": "119e3e2a-596a-11eb-ae93-0242ac130002",
- "subscriptionLayout": true,
- "subscriptionStatus": "NONE",
- "subscriptionSubSource": "TRIAL_CONVERSION | RENEWAL",
- "subsidiaryId": "d4beee32-5969-11eb-ae93-0242ac130002",
- "taxDeclaration": {
- "additionalProperties": {
- "property1": "string",
- "property2": "string"
}, - "broker": "AVALARA",
- "refundStatus": "FAILED",
- "refundTransactionId": "FR-20-001261481",
- "status": "COMPLETED",
- "transactionId": "FR-21-001514102"
}, - "taxTransactionId": "288d5056-d9c5-46c7-b7d8-954f45f399a4",
- "taxTypes": [
- {
- "amount": 0.1,
- "rate": 0.1,
- "taxName": "string"
}
], - "testOrder": false,
- "totalAmount": 102.5,
- "updateDate": "2019-08-24T14:15:22Z",
- "vatRate": 0.2,
- "warnings": [
- {
- "field": "string",
- "message": "string"
}
]
}
Update one sub line item in order
Authorizations:
path Parameters
orderId required | string |
lineItemId required | string |
subLineItemId required | string |
query Parameters
reason | string Default: "resource update thru REST Api" |
Request Body schema: application/jsonrequired
object | |||
|
Responses
Request samples
- Payload
[- {
- "metadata": {
- "property1": { },
- "property2": { }
}
}
]
Response samples
- 200
- 401
- 403
- 404
- 500
{- "allowPaymentMethodRegistration": false,
- "avaTaxStatus": "NONE",
- "billingPlanId": "25aaceea-5a34-11eb-ae93-0242ac130002",
- "billingPlanPeriod": "2023-12",
- "cancelPeriod": 14,
- "cartId": "f3fb782e-5969-11eb-ae93-0242ac130002",
- "cartIp": "127.0.0.1",
- "catalogId": "88960ca8-5af8-11eb-ae93-0242ac130002",
- "consentFlags": {
- "newsletterOptin": true
}, - "consentId": "64f2d71c-5af9-11eb-ae93-0242ac130002",
- "createDate": "2019-08-24T14:15:22Z",
- "creditNotes": [
- {
- "cancellationReason": "string",
- "date": "2019-08-24T14:15:22Z",
- "id": "string",
- "type": "PARTIAL"
}
], - "currency": "EUR, USD, GBP ...",
- "customer": {
- "features": {
- "createInvoice": true,
- "sendOrderConfirmationEmail": true,
- "usingFulfillmentV1": true,
- "usingSubscriptionV1": true
}, - "id": "string",
- "name": "string",
- "status": "string"
}, - "customerName": "string",
- "dbVersion": 0,
- "electronicInvoiceStatus": "NONE",
- "emailCancellationStatus": "NONE",
- "emailConfirmationStatus": "NONE",
- "emails": [
- {
- "createDate": 0,
- "emailId": "string",
- "message": "string",
- "paymentId": "string",
- "preorderProductId": "string",
- "recipient": "string",
- "templateDefinitionName": "string",
- "templateName": "string"
}
], - "endUser": {
- "accountCreated": true,
- "accountExists": true,
- "birthDate": "2019-08-24T14:15:22Z",
- "city": "Nîmes",
- "company": {
- "apeCode": "string",
- "cnpj": "string",
- "companyName": "string",
- "fullRegistrationNumber": "string",
- "registrationNumber": "string",
- "vatNumber": "string"
}, - "consumerType": "company",
- "country": "FR",
- "cpf": "string",
- "firstName": "John",
- "id": "0da71031-d6e5-48b4-bd28-7094f3c71a0b",
- "lastName": "Doe",
- "locale": "fr-FR",
- "phone": "07 00 00 00 00",
- "recipientCode": "string",
- "region": "Occitanie",
- "storeId": "9762480d-4c3d-4aea-9a75-236eb5f482c3",
- "streetAddress": "19 Avenue Feuchères",
- "taxExemptionEligible": true,
- "title": "M",
- "token": "string",
- "type": "string",
- "zipCode": "30000"
}, - "endUserCreationStatus": "NONE",
- "endUserIp": "127.0.0.1",
- "externalContext": "myExternalContext",
- "fulfillmentStatus": "NONE",
- "fullCreditNoteStatus": "NONE",
- "fullTotalAmount": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "generationId": "1",
- "geoZones": "Africa",
- "id": "string",
- "initialCurrency": "EUR, USD, GBP ...",
- "invoice": {
- "date": "2019-08-24T14:15:22Z",
- "id": "string",
- "type": "string"
}, - "invoiceStatus": "NONE",
- "lastUpdateReason": "string",
- "layout": "string",
- "layoutName": "string",
- "lifeCycleStatus": "PREBILLING_PENDING",
- "lineItems": [
- {
- "activationLink": {
- "enabled": true,
- "providerId": "string",
- "qrCodeBase64": [
- "string"
], - "qrCodeDisabled": true,
- "url": "string"
}, - "amount": 0.1,
- "businessSegment": "string",
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "customFieldsId": "string",
- "discountAmount": 0.1,
- "discountPlan": {
- "discountStep": 0,
- "ignorePurchaseDiscount": true,
- "tag": "string"
}, - "discountRate": 0.1,
- "emailDesc": "string",
- "existingLicenseId": "string",
- "expirationDate": "2019-08-24T14:15:22Z",
- "externalContext": "string",
- "fraudPoints": 0,
- "fulfillmentTemplate": "string",
- "fulfillmentTemplateName": "string",
- "id": "string",
- "initialAmount": 0.1,
- "initialNetAmount": 0.1,
- "initialVatAmount": 0.1,
- "licenseId": "string",
- "licenseNextExpirationDate": "string",
- "lifeTime": "string",
- "longDesc": "string",
- "multipleLicensesFulfillment": true,
- "name": "string",
- "netAmount": 0.1,
- "numberOfDaysBeforeRenewalRemote": 0,
- "physical": true,
- "price": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "priceFunctionParameters": {
- "property1": "string",
- "property2": "string"
}, - "productFamily": "string",
- "productId": "string",
- "productType": "string",
- "publisherRefId": "string",
- "quantity": 0,
- "relatedContents": [
- {
- "file": "string",
- "label": "string"
}
], - "releaseDate": "2019-08-24T14:15:22Z",
- "remoteLicenseExpirationDate": "2019-08-24T14:15:22Z",
- "renewingPrice": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "shortDesc": "string",
- "signedProduct": "string",
- "subscriptionTemplate": "string",
- "taxCode": "string",
- "taxExempt": true,
- "thankYouDesc": "string",
- "trial": true,
- "trialDuration": 0,
- "unitPrice": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "variablesDetails": {
- "property1": {
- "desc": "string",
- "label": "string",
- "value": { }
}, - "property2": {
- "desc": "string",
- "label": "string",
- "value": { }
}
}, - "vatAmount": 0.1,
- "vatRate": 0.1
}
], - "marketingCampaignNames": [
- "mktop1"
], - "maxPaymentsParts": 1,
- "minPartialPaymentAmount": 5,
- "modelVersion": "string",
- "numberOfInstallments": 1,
- "offerSubSource": "RESUME | SUSPEND",
- "parentOrderId": "2G4NAYY4K23",
- "payment": {
- "actionRequired": true,
- "amount": 0.1,
- "asyncContext": "string",
- "captured": true,
- "delayToNotify": 0,
- "externalContext": "string",
- "informativeDPStatus": "string",
- "informativeFraudCheck": true,
- "magicalCardDetected": true,
- "mailPaymentConfirmationStatus": "NONE",
- "mailPaymentFailureStatus": "NONE",
- "methodId": "string",
- "methodType": "string",
- "onPaymentClickRedirectUrl": "string",
- "paymentId": "string",
- "paymentTypeId": "string",
- "previousOrderId": "string",
- "processingEvent": [
- {
- "createDate": 0,
- "message": "string",
- "metadata": {
- "property1": { },
- "property2": { }
}, - "name": "string",
- "source": "string",
- "status": "string"
}
], - "proformaError": "string",
- "proformaId": "string",
- "refundStatus": "NONE",
- "remitteds": [
- {
- "id": "string",
- "name": "string",
- "remittanceAmount": 0.1,
- "remittanceRate": 0.1,
- "round": 0
}
], - "replayedTransactionId": "string",
- "status": "NONE",
- "transactionId": "string",
- "transitionPaymentDate": "2019-08-24T14:15:22Z"
}, - "paymentDeadline": 1616143889109,
- "paymentDeadlineReached": true,
- "paymentOfflineReminderSent": true,
- "paymentStatus": "NONE",
- "payments": [
- {
- "actionRequired": true,
- "amount": 0.1,
- "asyncContext": "string",
- "captured": true,
- "delayToNotify": 0,
- "externalContext": "string",
- "informativeDPStatus": "string",
- "informativeFraudCheck": true,
- "magicalCardDetected": true,
- "mailPaymentConfirmationStatus": "NONE",
- "mailPaymentFailureStatus": "NONE",
- "methodId": "string",
- "methodType": "string",
- "onPaymentClickRedirectUrl": "string",
- "paymentId": "string",
- "paymentTypeId": "string",
- "previousOrderId": "string",
- "processingEvent": [
- {
- "createDate": 0,
- "message": "string",
- "metadata": {
- "property1": { },
- "property2": { }
}, - "name": "string",
- "source": "string",
- "status": "string"
}
], - "proformaError": "string",
- "proformaId": "string",
- "refundStatus": "NONE",
- "remitteds": [
- {
- "id": "string",
- "name": "string",
- "remittanceAmount": 0.1,
- "remittanceRate": 0.1,
- "round": 0
}
], - "replayedTransactionId": "string",
- "status": "NONE",
- "transactionId": "string",
- "transitionPaymentDate": "2019-08-24T14:15:22Z"
}
], - "prebillingStatus": "NONE",
- "promoteOneClickPayment": false,
- "registerPaymentMethodStatus": "NONE",
- "remainingTotalAmount": 0.1,
- "remitteds": [
- {
- "id": "string",
- "name": "string",
- "remittanceAmount": 0.1,
- "remittanceRate": 0.1,
- "round": 0
}
], - "salesFlag": "string",
- "salesFlags": [
- "string"
], - "scenario": "acquisition",
- "source": "PURCHASE | SUBSCRIPTION | MANUAL_RENEWAL | BILLING_PLAN | OFFER | UPGRADE",
- "status": "CANCELED_WITH_ERROR",
- "store": {
- "allowOrderDetailsOnCheckoutConfirmation": true,
- "bannerInvoice": "string",
- "bannerOrderConfEmail": "string",
- "id": "string",
- "name": "string"
}, - "storeHostname": "mystore.nexway.com",
- "subscriptionId": "119e3e2a-596a-11eb-ae93-0242ac130002",
- "subscriptionLayout": true,
- "subscriptionStatus": "NONE",
- "subscriptionSubSource": "TRIAL_CONVERSION | RENEWAL",
- "subsidiaryId": "d4beee32-5969-11eb-ae93-0242ac130002",
- "taxDeclaration": {
- "additionalProperties": {
- "property1": "string",
- "property2": "string"
}, - "broker": "AVALARA",
- "refundStatus": "FAILED",
- "refundTransactionId": "FR-20-001261481",
- "status": "COMPLETED",
- "transactionId": "FR-21-001514102"
}, - "taxTransactionId": "288d5056-d9c5-46c7-b7d8-954f45f399a4",
- "taxTypes": [
- {
- "amount": 0.1,
- "rate": 0.1,
- "taxName": "string"
}
], - "testOrder": false,
- "totalAmount": 102.5,
- "updateDate": "2019-08-24T14:15:22Z",
- "vatRate": 0.2,
- "warnings": [
- {
- "field": "string",
- "message": "string"
}
]
}
findPreviousGenerationOrderByOrderAndSubscription
Authorizations:
path Parameters
orderId required | string |
subscriptionId required | string |
Responses
Response samples
- 200
- 401
- 403
- 404
- 500
{- "allowPaymentMethodRegistration": false,
- "avaTaxStatus": "NONE",
- "billingPlanId": "25aaceea-5a34-11eb-ae93-0242ac130002",
- "billingPlanPeriod": "2023-12",
- "cancelPeriod": 14,
- "cartId": "f3fb782e-5969-11eb-ae93-0242ac130002",
- "cartIp": "127.0.0.1",
- "catalogId": "88960ca8-5af8-11eb-ae93-0242ac130002",
- "consentFlags": {
- "newsletterOptin": true
}, - "consentId": "64f2d71c-5af9-11eb-ae93-0242ac130002",
- "createDate": "2019-08-24T14:15:22Z",
- "creditNotes": [
- {
- "cancellationReason": "string",
- "date": "2019-08-24T14:15:22Z",
- "id": "string",
- "type": "PARTIAL"
}
], - "currency": "EUR, USD, GBP ...",
- "customer": {
- "features": {
- "createInvoice": true,
- "sendOrderConfirmationEmail": true,
- "usingFulfillmentV1": true,
- "usingSubscriptionV1": true
}, - "id": "string",
- "name": "string",
- "status": "string"
}, - "customerName": "string",
- "dbVersion": 0,
- "electronicInvoiceStatus": "NONE",
- "emailCancellationStatus": "NONE",
- "emailConfirmationStatus": "NONE",
- "emails": [
- {
- "createDate": 0,
- "emailId": "string",
- "message": "string",
- "paymentId": "string",
- "preorderProductId": "string",
- "recipient": "string",
- "templateDefinitionName": "string",
- "templateName": "string"
}
], - "endUser": {
- "accountCreated": true,
- "accountExists": true,
- "birthDate": "2019-08-24T14:15:22Z",
- "city": "Nîmes",
- "company": {
- "apeCode": "string",
- "cnpj": "string",
- "companyName": "string",
- "fullRegistrationNumber": "string",
- "registrationNumber": "string",
- "vatNumber": "string"
}, - "consumerType": "company",
- "country": "FR",
- "cpf": "string",
- "firstName": "John",
- "id": "0da71031-d6e5-48b4-bd28-7094f3c71a0b",
- "lastName": "Doe",
- "locale": "fr-FR",
- "phone": "07 00 00 00 00",
- "recipientCode": "string",
- "region": "Occitanie",
- "storeId": "9762480d-4c3d-4aea-9a75-236eb5f482c3",
- "streetAddress": "19 Avenue Feuchères",
- "taxExemptionEligible": true,
- "title": "M",
- "token": "string",
- "type": "string",
- "zipCode": "30000"
}, - "endUserCreationStatus": "NONE",
- "endUserIp": "127.0.0.1",
- "externalContext": "myExternalContext",
- "fulfillmentStatus": "NONE",
- "fullCreditNoteStatus": "NONE",
- "fullTotalAmount": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "generationId": "1",
- "geoZones": "Africa",
- "id": "string",
- "initialCurrency": "EUR, USD, GBP ...",
- "invoice": {
- "date": "2019-08-24T14:15:22Z",
- "id": "string",
- "type": "string"
}, - "invoiceStatus": "NONE",
- "lastUpdateReason": "string",
- "layout": "string",
- "layoutName": "string",
- "lifeCycleStatus": "PREBILLING_PENDING",
- "lineItems": [
- {
- "activationLink": {
- "enabled": true,
- "providerId": "string",
- "qrCodeBase64": [
- "string"
], - "qrCodeDisabled": true,
- "url": "string"
}, - "amount": 0.1,
- "businessSegment": "string",
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "customFieldsId": "string",
- "discountAmount": 0.1,
- "discountPlan": {
- "discountStep": 0,
- "ignorePurchaseDiscount": true,
- "tag": "string"
}, - "discountRate": 0.1,
- "emailDesc": "string",
- "existingLicenseId": "string",
- "expirationDate": "2019-08-24T14:15:22Z",
- "externalContext": "string",
- "fraudPoints": 0,
- "fulfillmentTemplate": "string",
- "fulfillmentTemplateName": "string",
- "id": "string",
- "initialAmount": 0.1,
- "initialNetAmount": 0.1,
- "initialVatAmount": 0.1,
- "licenseId": "string",
- "licenseNextExpirationDate": "string",
- "lifeTime": "string",
- "longDesc": "string",
- "multipleLicensesFulfillment": true,
- "name": "string",
- "netAmount": 0.1,
- "numberOfDaysBeforeRenewalRemote": 0,
- "physical": true,
- "price": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "priceFunctionParameters": {
- "property1": "string",
- "property2": "string"
}, - "productFamily": "string",
- "productId": "string",
- "productType": "string",
- "publisherRefId": "string",
- "quantity": 0,
- "relatedContents": [
- {
- "file": "string",
- "label": "string"
}
], - "releaseDate": "2019-08-24T14:15:22Z",
- "remoteLicenseExpirationDate": "2019-08-24T14:15:22Z",
- "renewingPrice": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "shortDesc": "string",
- "signedProduct": "string",
- "subscriptionTemplate": "string",
- "taxCode": "string",
- "taxExempt": true,
- "thankYouDesc": "string",
- "trial": true,
- "trialDuration": 0,
- "unitPrice": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "variablesDetails": {
- "property1": {
- "desc": "string",
- "label": "string",
- "value": { }
}, - "property2": {
- "desc": "string",
- "label": "string",
- "value": { }
}
}, - "vatAmount": 0.1,
- "vatRate": 0.1
}
], - "marketingCampaignNames": [
- "mktop1"
], - "maxPaymentsParts": 1,
- "minPartialPaymentAmount": 5,
- "modelVersion": "string",
- "numberOfInstallments": 1,
- "offerSubSource": "RESUME | SUSPEND",
- "parentOrderId": "2G4NAYY4K23",
- "payment": {
- "actionRequired": true,
- "amount": 0.1,
- "asyncContext": "string",
- "captured": true,
- "delayToNotify": 0,
- "externalContext": "string",
- "informativeDPStatus": "string",
- "informativeFraudCheck": true,
- "magicalCardDetected": true,
- "mailPaymentConfirmationStatus": "NONE",
- "mailPaymentFailureStatus": "NONE",
- "methodId": "string",
- "methodType": "string",
- "onPaymentClickRedirectUrl": "string",
- "paymentId": "string",
- "paymentTypeId": "string",
- "previousOrderId": "string",
- "processingEvent": [
- {
- "createDate": 0,
- "message": "string",
- "metadata": {
- "property1": { },
- "property2": { }
}, - "name": "string",
- "source": "string",
- "status": "string"
}
], - "proformaError": "string",
- "proformaId": "string",
- "refundStatus": "NONE",
- "remitteds": [
- {
- "id": "string",
- "name": "string",
- "remittanceAmount": 0.1,
- "remittanceRate": 0.1,
- "round": 0
}
], - "replayedTransactionId": "string",
- "status": "NONE",
- "transactionId": "string",
- "transitionPaymentDate": "2019-08-24T14:15:22Z"
}, - "paymentDeadline": 1616143889109,
- "paymentDeadlineReached": true,
- "paymentOfflineReminderSent": true,
- "paymentStatus": "NONE",
- "payments": [
- {
- "actionRequired": true,
- "amount": 0.1,
- "asyncContext": "string",
- "captured": true,
- "delayToNotify": 0,
- "externalContext": "string",
- "informativeDPStatus": "string",
- "informativeFraudCheck": true,
- "magicalCardDetected": true,
- "mailPaymentConfirmationStatus": "NONE",
- "mailPaymentFailureStatus": "NONE",
- "methodId": "string",
- "methodType": "string",
- "onPaymentClickRedirectUrl": "string",
- "paymentId": "string",
- "paymentTypeId": "string",
- "previousOrderId": "string",
- "processingEvent": [
- {
- "createDate": 0,
- "message": "string",
- "metadata": {
- "property1": { },
- "property2": { }
}, - "name": "string",
- "source": "string",
- "status": "string"
}
], - "proformaError": "string",
- "proformaId": "string",
- "refundStatus": "NONE",
- "remitteds": [
- {
- "id": "string",
- "name": "string",
- "remittanceAmount": 0.1,
- "remittanceRate": 0.1,
- "round": 0
}
], - "replayedTransactionId": "string",
- "status": "NONE",
- "transactionId": "string",
- "transitionPaymentDate": "2019-08-24T14:15:22Z"
}
], - "prebillingStatus": "NONE",
- "promoteOneClickPayment": false,
- "registerPaymentMethodStatus": "NONE",
- "remainingTotalAmount": 0.1,
- "remitteds": [
- {
- "id": "string",
- "name": "string",
- "remittanceAmount": 0.1,
- "remittanceRate": 0.1,
- "round": 0
}
], - "salesFlag": "string",
- "salesFlags": [
- "string"
], - "scenario": "acquisition",
- "source": "PURCHASE | SUBSCRIPTION | MANUAL_RENEWAL | BILLING_PLAN | OFFER | UPGRADE",
- "status": "CANCELED_WITH_ERROR",
- "store": {
- "allowOrderDetailsOnCheckoutConfirmation": true,
- "bannerInvoice": "string",
- "bannerOrderConfEmail": "string",
- "id": "string",
- "name": "string"
}, - "storeHostname": "mystore.nexway.com",
- "subscriptionId": "119e3e2a-596a-11eb-ae93-0242ac130002",
- "subscriptionLayout": true,
- "subscriptionStatus": "NONE",
- "subscriptionSubSource": "TRIAL_CONVERSION | RENEWAL",
- "subsidiaryId": "d4beee32-5969-11eb-ae93-0242ac130002",
- "taxDeclaration": {
- "additionalProperties": {
- "property1": "string",
- "property2": "string"
}, - "broker": "AVALARA",
- "refundStatus": "FAILED",
- "refundTransactionId": "FR-20-001261481",
- "status": "COMPLETED",
- "transactionId": "FR-21-001514102"
}, - "taxTransactionId": "288d5056-d9c5-46c7-b7d8-954f45f399a4",
- "taxTypes": [
- {
- "amount": 0.1,
- "rate": 0.1,
- "taxName": "string"
}
], - "testOrder": false,
- "totalAmount": 102.5,
- "updateDate": "2019-08-24T14:15:22Z",
- "vatRate": 0.2,
- "warnings": [
- {
- "field": "string",
- "message": "string"
}
]
}
Update processing events list
Authorizations:
path Parameters
orderId required | string |
Request Body schema: application/jsonrequired
object | |||
|
Responses
Request samples
- Payload
[- {
- "metadata": {
- "property1": { },
- "property2": { }
}
}
]
Response samples
- 200
- 401
- 403
- 404
- 500
{- "allowPaymentMethodRegistration": false,
- "avaTaxStatus": "NONE",
- "billingPlanId": "25aaceea-5a34-11eb-ae93-0242ac130002",
- "billingPlanPeriod": "2023-12",
- "cancelPeriod": 14,
- "cartId": "f3fb782e-5969-11eb-ae93-0242ac130002",
- "cartIp": "127.0.0.1",
- "catalogId": "88960ca8-5af8-11eb-ae93-0242ac130002",
- "consentFlags": {
- "newsletterOptin": true
}, - "consentId": "64f2d71c-5af9-11eb-ae93-0242ac130002",
- "createDate": "2019-08-24T14:15:22Z",
- "creditNotes": [
- {
- "cancellationReason": "string",
- "date": "2019-08-24T14:15:22Z",
- "id": "string",
- "type": "PARTIAL"
}
], - "currency": "EUR, USD, GBP ...",
- "customer": {
- "features": {
- "createInvoice": true,
- "sendOrderConfirmationEmail": true,
- "usingFulfillmentV1": true,
- "usingSubscriptionV1": true
}, - "id": "string",
- "name": "string",
- "status": "string"
}, - "customerName": "string",
- "dbVersion": 0,
- "electronicInvoiceStatus": "NONE",
- "emailCancellationStatus": "NONE",
- "emailConfirmationStatus": "NONE",
- "emails": [
- {
- "createDate": 0,
- "emailId": "string",
- "message": "string",
- "paymentId": "string",
- "preorderProductId": "string",
- "recipient": "string",
- "templateDefinitionName": "string",
- "templateName": "string"
}
], - "endUser": {
- "accountCreated": true,
- "accountExists": true,
- "birthDate": "2019-08-24T14:15:22Z",
- "city": "Nîmes",
- "company": {
- "apeCode": "string",
- "cnpj": "string",
- "companyName": "string",
- "fullRegistrationNumber": "string",
- "registrationNumber": "string",
- "vatNumber": "string"
}, - "consumerType": "company",
- "country": "FR",
- "cpf": "string",
- "firstName": "John",
- "id": "0da71031-d6e5-48b4-bd28-7094f3c71a0b",
- "lastName": "Doe",
- "locale": "fr-FR",
- "phone": "07 00 00 00 00",
- "recipientCode": "string",
- "region": "Occitanie",
- "storeId": "9762480d-4c3d-4aea-9a75-236eb5f482c3",
- "streetAddress": "19 Avenue Feuchères",
- "taxExemptionEligible": true,
- "title": "M",
- "token": "string",
- "type": "string",
- "zipCode": "30000"
}, - "endUserCreationStatus": "NONE",
- "endUserIp": "127.0.0.1",
- "externalContext": "myExternalContext",
- "fulfillmentStatus": "NONE",
- "fullCreditNoteStatus": "NONE",
- "fullTotalAmount": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "generationId": "1",
- "geoZones": "Africa",
- "id": "string",
- "initialCurrency": "EUR, USD, GBP ...",
- "invoice": {
- "date": "2019-08-24T14:15:22Z",
- "id": "string",
- "type": "string"
}, - "invoiceStatus": "NONE",
- "lastUpdateReason": "string",
- "layout": "string",
- "layoutName": "string",
- "lifeCycleStatus": "PREBILLING_PENDING",
- "lineItems": [
- {
- "activationLink": {
- "enabled": true,
- "providerId": "string",
- "qrCodeBase64": [
- "string"
], - "qrCodeDisabled": true,
- "url": "string"
}, - "amount": 0.1,
- "businessSegment": "string",
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "customFieldsId": "string",
- "discountAmount": 0.1,
- "discountPlan": {
- "discountStep": 0,
- "ignorePurchaseDiscount": true,
- "tag": "string"
}, - "discountRate": 0.1,
- "emailDesc": "string",
- "existingLicenseId": "string",
- "expirationDate": "2019-08-24T14:15:22Z",
- "externalContext": "string",
- "fraudPoints": 0,
- "fulfillmentTemplate": "string",
- "fulfillmentTemplateName": "string",
- "id": "string",
- "initialAmount": 0.1,
- "initialNetAmount": 0.1,
- "initialVatAmount": 0.1,
- "licenseId": "string",
- "licenseNextExpirationDate": "string",
- "lifeTime": "string",
- "longDesc": "string",
- "multipleLicensesFulfillment": true,
- "name": "string",
- "netAmount": 0.1,
- "numberOfDaysBeforeRenewalRemote": 0,
- "physical": true,
- "price": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "priceFunctionParameters": {
- "property1": "string",
- "property2": "string"
}, - "productFamily": "string",
- "productId": "string",
- "productType": "string",
- "publisherRefId": "string",
- "quantity": 0,
- "relatedContents": [
- {
- "file": "string",
- "label": "string"
}
], - "releaseDate": "2019-08-24T14:15:22Z",
- "remoteLicenseExpirationDate": "2019-08-24T14:15:22Z",
- "renewingPrice": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "shortDesc": "string",
- "signedProduct": "string",
- "subscriptionTemplate": "string",
- "taxCode": "string",
- "taxExempt": true,
- "thankYouDesc": "string",
- "trial": true,
- "trialDuration": 0,
- "unitPrice": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "discountedPrice": {
- "allDiscountsApplied": [
- {
- "discountAmount": 0.1,
- "discountId": "string",
- "discountRate": 0.1,
- "discountedGrossPrice": 0.1,
- "discountedNetPrice": 0.1,
- "grossPrice": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "model": "CAMPAIGN",
- "netPrice": 0.1,
- "netPriceDiscountAmount": 0.1,
- "vatDiscountAmount": 0.1
}
], - "cumulatedDiscountRate": 0.1,
- "discountCode": "string",
- "discountExternalContext": "string",
- "discountId": "string",
- "discountLabel": "string",
- "discountRate": 0.1,
- "discountTestOrder": false,
- "discountedGrossPrice": 0.1,
- "discountedGrossPriceWithoutVoucher": 0.1,
- "discountedNetPrice": 0.1,
- "discountedNetPriceWithoutVoucher": 0.1,
- "grossPriceDiscountAmount": 0.1,
- "netPriceDiscountAmount": 0.1,
- "signedDiscount": "string",
- "vatDiscountAmount": 0.1,
- "voucher": {
- "discounts": [
- {
- "amount": 0.1,
- "code": "string",
- "discountExternalContext": "string",
- "id": "string",
- "label": "string"
}
], - "totalAmount": 0.1
}
}, - "grossPrice": 0.1,
- "initialGrossPrice": 0.1,
- "initialNetPrice": 0.1,
- "initialVatAmount": 0.1,
- "mandateValue": 0.1,
- "marketingCampaignId": "string",
- "netPrice": 0.1,
- "remotePrice": {
- "response": "string",
- "url": "string"
}, - "source": "INTERNAL",
- "strikeThroughPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "variablesDetails": {
- "property1": {
- "desc": "string",
- "label": "string",
- "value": { }
}, - "property2": {
- "desc": "string",
- "label": "string",
- "value": { }
}
}, - "vatAmount": 0.1,
- "vatRate": 0.1
}
], - "marketingCampaignNames": [
- "mktop1"
], - "maxPaymentsParts": 1,
- "minPartialPaymentAmount": 5,
- "modelVersion": "string",
- "numberOfInstallments": 1,
- "offerSubSource": "RESUME | SUSPEND",
- "parentOrderId": "2G4NAYY4K23",
- "payment": {
- "actionRequired": true,
- "amount": 0.1,
- "asyncContext": "string",
- "captured": true,
- "delayToNotify": 0,
- "externalContext": "string",
- "informativeDPStatus": "string",
- "informativeFraudCheck": true,
- "magicalCardDetected": true,
- "mailPaymentConfirmationStatus": "NONE",
- "mailPaymentFailureStatus": "NONE",
- "methodId": "string",
- "methodType": "string",
- "onPaymentClickRedirectUrl": "string",
- "paymentId": "string",
- "paymentTypeId": "string",
- "previousOrderId": "string",
- "processingEvent": [
- {
- "createDate": 0,
- "message": "string",
- "metadata": {
- "property1": { },
- "property2": { }
}, - "name": "string",
- "source": "string",
- "status": "string"
}
], - "proformaError": "string",
- "proformaId": "string",
- "refundStatus": "NONE",
- "remitteds": [
- {
- "id": "string",
- "name": "string",
- "remittanceAmount": 0.1,
- "remittanceRate": 0.1,
- "round": 0
}
], - "replayedTransactionId": "string",
- "status": "NONE",
- "transactionId": "string",
- "transitionPaymentDate": "2019-08-24T14:15:22Z"
}, - "paymentDeadline": 1616143889109,
- "paymentDeadlineReached": true,
- "paymentOfflineReminderSent": true,
- "paymentStatus": "NONE",
- "payments": [
- {
- "actionRequired": true,
- "amount": 0.1,
- "asyncContext": "string",
- "captured": true,
- "delayToNotify": 0,
- "externalContext": "string",
- "informativeDPStatus": "string",
- "informativeFraudCheck": true,
- "magicalCardDetected": true,
- "mailPaymentConfirmationStatus": "NONE",
- "mailPaymentFailureStatus": "NONE",
- "methodId": "string",
- "methodType": "string",
- "onPaymentClickRedirectUrl": "string",
- "paymentId": "string",
- "paymentTypeId": "string",
- "previousOrderId": "string",
- "processingEvent": [
- {
- "createDate": 0,
- "message": "string",
- "metadata": {
- "property1": { },
- "property2": { }
}, - "name": "string",
- "source": "string",
- "status": "string"
}
], - "proformaError": "string",
- "proformaId": "string",
- "refundStatus": "NONE",
- "remitteds": [
- {
- "id": "string",
- "name": "string",
- "remittanceAmount": 0.1,
- "remittanceRate": 0.1,
- "round": 0
}
], - "replayedTransactionId": "string",
- "status": "NONE",
- "transactionId": "string",
- "transitionPaymentDate": "2019-08-24T14:15:22Z"
}
], - "prebillingStatus": "NONE",
- "promoteOneClickPayment": false,
- "registerPaymentMethodStatus": "NONE",
- "remainingTotalAmount": 0.1,
- "remitteds": [
- {
- "id": "string",
- "name": "string",
- "remittanceAmount": 0.1,
- "remittanceRate": 0.1,
- "round": 0
}
], - "salesFlag": "string",
- "salesFlags": [
- "string"
], - "scenario": "acquisition",
- "source": "PURCHASE | SUBSCRIPTION | MANUAL_RENEWAL | BILLING_PLAN | OFFER | UPGRADE",
- "status": "CANCELED_WITH_ERROR",
- "store": {
- "allowOrderDetailsOnCheckoutConfirmation": true,
- "bannerInvoice": "string",
- "bannerOrderConfEmail": "string",
- "id": "string",
- "name": "string"
}, - "storeHostname": "mystore.nexway.com",
- "subscriptionId": "119e3e2a-596a-11eb-ae93-0242ac130002",
- "subscriptionLayout": true,
- "subscriptionStatus": "NONE",
- "subscriptionSubSource": "TRIAL_CONVERSION | RENEWAL",
- "subsidiaryId": "d4beee32-5969-11eb-ae93-0242ac130002",
- "taxDeclaration": {
- "additionalProperties": {
- "property1": "string",
- "property2": "string"
}, - "broker": "AVALARA",
- "refundStatus": "FAILED",
- "refundTransactionId": "FR-20-001261481",
- "status": "COMPLETED",
- "transactionId": "FR-21-001514102"
}, - "taxTransactionId": "288d5056-d9c5-46c7-b7d8-954f45f399a4",
- "taxTypes": [
- {
- "amount": 0.1,
- "rate": 0.1,
- "taxName": "string"
}
], - "testOrder": false,
- "totalAmount": 102.5,
- "updateDate": "2019-08-24T14:15:22Z",
- "vatRate": 0.2,
- "warnings": [
- {
- "field": "string",
- "message": "string"
}
]
}
Create an item
Authorizations:
Request Body schema: application/jsonrequired
cancellationReasonId | integer <int32> |
comment | string |
createDate | string <date-time> Deprecated |
dbVersion | integer <int64> |
id | string Deprecated |
label required | string |
lastUpdateReason | string |
modelVersion | string Deprecated |
originalId | string |
trigram required | string = 3 characters |
updateDate | string <date-time> Deprecated |
Responses
Request samples
- Payload
{- "cancellationReasonId": 0,
- "comment": "string",
- "createDate": "2019-08-24T14:15:22Z",
- "dbVersion": 0,
- "id": "string",
- "label": "string",
- "lastUpdateReason": "string",
- "modelVersion": "string",
- "originalId": "string",
- "trigram": "str",
- "updateDate": "2019-08-24T14:15:22Z"
}
Response samples
- 201
- 401
- 403
- 404
- 500
{- "cancellationReasonId": 0,
- "comment": "string",
- "createDate": "2019-08-24T14:15:22Z",
- "dbVersion": 0,
- "id": "string",
- "label": "string",
- "lastUpdateReason": "string",
- "modelVersion": "string",
- "trigram": "str",
- "updateDate": "2019-08-24T14:15:22Z"
}
Get items
Authorizations:
query Parameters
required | object (Pageable) |
predicate required | object |
target | string |
Responses
Response samples
- 200
- 401
- 403
- 404
- 500
{- "items": [
- {
- "cancellationReasonId": 0,
- "comment": "string",
- "createDate": "2019-08-24T14:15:22Z",
- "dbVersion": 0,
- "id": "string",
- "label": "string",
- "lastUpdateReason": "string",
- "modelVersion": "string",
- "trigram": "str",
- "updateDate": "2019-08-24T14:15:22Z"
}
], - "last": true,
- "number": 0,
- "size": 0,
- "totalItems": 0,
- "totalPages": 0
}
Get a cancellation reason
Get a cancellation reason with public access, by id or cancellationReasonId
Authorizations:
path Parameters
cancellationReasonId required | string Example: 7d180bdd-3d82-41f5-8159-f0ab22ffb266 or an integer id or cancellationReasonId |
Responses
Response samples
- 200
- 400
- 403
- 404
- 500
{- "cancellationReasonId": 0,
- "comment": "string",
- "createDate": "2019-08-24T14:15:22Z",
- "dbVersion": 0,
- "id": "string",
- "label": "string",
- "lastUpdateReason": "string",
- "modelVersion": "string",
- "trigram": "str",
- "updateDate": "2019-08-24T14:15:22Z"
}
Get recap quantities for a given field
Authorizations:
query Parameters
target required | string |
required | object (Pageable) |
predicate required | object |
Responses
Response samples
- 200
- 401
- 403
- 404
- 500
{- "items": [
- {
- "count": 0,
- "targetValue": "string"
}
], - "last": true,
- "number": 0,
- "size": 0,
- "totalItems": 0,
- "totalPages": 0
}
Search unwind for a given field
Authorizations:
query Parameters
target required | string |
required | object (Pageable) |
predicate required | object |
Responses
Response samples
- 200
- 401
- 403
- 404
- 500
{- "items": [
- {
- "empty": true,
- "property1": { },
- "property2": { }
}
], - "last": true,
- "number": 0,
- "size": 0,
- "totalItems": 0,
- "totalPages": 0
}
Response samples
- 200
- 401
- 403
- 404
- 500
{- "cancellationReasonId": 0,
- "comment": "string",
- "createDate": "2019-08-24T14:15:22Z",
- "dbVersion": 0,
- "id": "string",
- "label": "string",
- "lastUpdateReason": "string",
- "modelVersion": "string",
- "trigram": "str",
- "updateDate": "2019-08-24T14:15:22Z"
}
Update item
Authorizations:
path Parameters
id required | string |
Request Body schema: application/jsonrequired
cancellationReasonId | integer <int32> |
comment | string |
createDate | string <date-time> Deprecated |
dbVersion | integer <int64> |
id | string Deprecated |
label required | string |
lastUpdateReason | string |
modelVersion | string Deprecated |
originalId | string |
trigram required | string = 3 characters |
updateDate | string <date-time> Deprecated |
Responses
Request samples
- Payload
{- "cancellationReasonId": 0,
- "comment": "string",
- "createDate": "2019-08-24T14:15:22Z",
- "dbVersion": 0,
- "id": "string",
- "label": "string",
- "lastUpdateReason": "string",
- "modelVersion": "string",
- "originalId": "string",
- "trigram": "str",
- "updateDate": "2019-08-24T14:15:22Z"
}
Response samples
- 200
- 401
- 403
- 404
- 500
{- "cancellationReasonId": 0,
- "comment": "string",
- "createDate": "2019-08-24T14:15:22Z",
- "dbVersion": 0,
- "id": "string",
- "label": "string",
- "lastUpdateReason": "string",
- "modelVersion": "string",
- "trigram": "str",
- "updateDate": "2019-08-24T14:15:22Z"
}
Get items
Authorizations:
query Parameters
required | object (Pageable) |
predicate required | object |
target | string |
Responses
Response samples
- 200
- 401
- 403
- 404
- 500
{- "items": [
- {
- "createDate": "2019-08-24T14:15:22Z",
- "dbVersion": 0,
- "id": "string",
- "lastUpdateReason": "string",
- "modelVersion": "string",
- "orderId": "string",
- "productCustomFields": [
- {
- "customFields": { },
- "customFieldsId": "string",
- "productId": "string"
}
], - "updateDate": "2019-08-24T14:15:22Z"
}
], - "last": true,
- "number": 0,
- "size": 0,
- "totalItems": 0,
- "totalPages": 0
}
Get recap quantities for a given field
Authorizations:
query Parameters
target required | string |
required | object (Pageable) |
predicate required | object |
Responses
Response samples
- 200
- 401
- 403
- 404
- 500
{- "items": [
- {
- "count": 0,
- "targetValue": "string"
}
], - "last": true,
- "number": 0,
- "size": 0,
- "totalItems": 0,
- "totalPages": 0
}
Search unwind for a given field
Authorizations:
query Parameters
target required | string |
required | object (Pageable) |
predicate required | object |
Responses
Response samples
- 200
- 401
- 403
- 404
- 500
{- "items": [
- {
- "empty": true,
- "property1": { },
- "property2": { }
}
], - "last": true,
- "number": 0,
- "size": 0,
- "totalItems": 0,
- "totalPages": 0
}
Response samples
- 200
- 401
- 403
- 404
- 500
{- "createDate": "2019-08-24T14:15:22Z",
- "dbVersion": 0,
- "id": "string",
- "lastUpdateReason": "string",
- "modelVersion": "string",
- "orderId": "string",
- "productCustomFields": [
- {
- "customFields": { },
- "customFieldsId": "string",
- "productId": "string"
}
], - "updateDate": "2019-08-24T14:15:22Z"
}
Update item
Authorizations:
path Parameters
id required | string |
Request Body schema: application/jsonrequired
createDate | string <date-time> Deprecated |
dbVersion | integer <int64> |
id | string Deprecated |
lastUpdateReason | string |
modelVersion | string Deprecated |
orderId | string |
originalId | string |
Array of objects (CartProductCustomFields) | |
updateDate | string <date-time> Deprecated |
Responses
Request samples
- Payload
{- "createDate": "2019-08-24T14:15:22Z",
- "dbVersion": 0,
- "id": "string",
- "lastUpdateReason": "string",
- "modelVersion": "string",
- "orderId": "string",
- "originalId": "string",
- "productCustomFields": [
- {
- "customFields": { },
- "customFieldsId": "string",
- "productId": "string"
}
], - "updateDate": "2019-08-24T14:15:22Z"
}
Response samples
- 200
- 401
- 403
- 404
- 500
{- "createDate": "2019-08-24T14:15:22Z",
- "dbVersion": 0,
- "id": "string",
- "lastUpdateReason": "string",
- "modelVersion": "string",
- "orderId": "string",
- "productCustomFields": [
- {
- "customFields": { },
- "customFieldsId": "string",
- "productId": "string"
}
], - "updateDate": "2019-08-24T14:15:22Z"
}
Get items
Authorizations:
query Parameters
required | object (Pageable) |
predicate required | object |
target | string |
Responses
Response samples
- 200
- 401
- 403
- 404
- 500
{- "items": [
- {
- "createDate": "2019-08-24T14:15:22Z",
- "dbVersion": 0,
- "event": {
- "createDate": "2019-08-24T14:15:22Z",
- "message": "string",
- "metadata": {
- "property1": { },
- "property2": { }
}, - "name": "string",
- "source": "string",
- "status": "string"
}, - "id": "string",
- "lastUpdateReason": "string",
- "modelVersion": "string",
- "orderId": "string",
- "updateDate": "2019-08-24T14:15:22Z"
}
], - "last": true,
- "number": 0,
- "size": 0,
- "totalItems": 0,
- "totalPages": 0
}
Get recap quantities for a given field
Authorizations:
query Parameters
target required | string |
required | object (Pageable) |
predicate required | object |
Responses
Response samples
- 200
- 401
- 403
- 404
- 500
{- "items": [
- {
- "count": 0,
- "targetValue": "string"
}
], - "last": true,
- "number": 0,
- "size": 0,
- "totalItems": 0,
- "totalPages": 0
}
Search unwind for a given field
Authorizations:
query Parameters
target required | string |
required | object (Pageable) |
predicate required | object |
Responses
Response samples
- 200
- 401
- 403
- 404
- 500
{- "items": [
- {
- "empty": true,
- "property1": { },
- "property2": { }
}
], - "last": true,
- "number": 0,
- "size": 0,
- "totalItems": 0,
- "totalPages": 0
}
Response samples
- 200
- 401
- 403
- 404
- 500
{- "createDate": "2019-08-24T14:15:22Z",
- "dbVersion": 0,
- "event": {
- "createDate": "2019-08-24T14:15:22Z",
- "message": "string",
- "metadata": {
- "property1": { },
- "property2": { }
}, - "name": "string",
- "source": "string",
- "status": "string"
}, - "id": "string",
- "lastUpdateReason": "string",
- "modelVersion": "string",
- "orderId": "string",
- "updateDate": "2019-08-24T14:15:22Z"
}
Get items
Authorizations:
query Parameters
required | object (Pageable) |
predicate required | object |
target | string |
endUser.email | any Filter lineItems by endUser email |
endUser.country | any Filter lineItems by endUser country |
endUser.accountCreated | any Filter lineItems by endUser accountCreated |
customer.id | any Filter lineItems by customer id |
id | any Filter lineItem id |
lineItemId | any Filter lineItem by lineItemId |
orderId | any Filter lineItem by orderId |
subLineItemsData | any Filter lineItemData by subLineItemData flag |
subscriptionId | any Filter lineItem subscriptionId |
nexwayFulfillmentId | any Filter by lineItem nexwayFulfillmentId |
publisherFulfillmentId | any Filter lineItem publisherFulfillmentId |
activationCode | any Filter lineItem activationCode |
Responses
Response samples
- 200
- 401
- 403
- 404
- 500
{- "items": [
- {
- "activationCode": "string",
- "activationFileFulfillment": true,
- "activationLink": "string",
- "compatId": "string",
- "createDate": "2019-08-24T14:15:22Z",
- "creditNoteProcessingStatus": "NONE",
- "customerId": "string",
- "dbVersion": 0,
- "enduserId": "string",
- "fulfillmentOperationId": "string",
- "fulfillmentProcessingStatus": "NONE",
- "id": "string",
- "lastUpdateReason": "string",
- "lineItemId": "string",
- "modelVersion": "string",
- "nexwayFulfillmentId": "string",
- "orderId": "string",
- "preorderReleaseNotificationNeeded": true,
- "previousLineItemDataId": "string",
- "processingEvent": [
- {
- "createDate": 0,
- "message": "string",
- "metadata": {
- "property1": { },
- "property2": { }
}, - "name": "string",
- "source": "string",
- "status": "string"
}
], - "processingStatus": "CANCELED",
- "productId": "string",
- "publisherFulfillmentId": "string",
- "qrCodeBase64": "string",
- "reminderDays": 7,
- "subscriptionId": "string",
- "subscriptionProcessingStatus": "NONE",
- "updateDate": "2019-08-24T14:15:22Z"
}
], - "last": true,
- "number": 0,
- "size": 0,
- "totalItems": 0,
- "totalPages": 0
}
Response samples
- 200
- 401
- 403
- 404
- 500
[- {
- "activationCode": "string",
- "activationFileFulfillment": true,
- "activationLink": "string",
- "compatId": "string",
- "createDate": "2019-08-24T14:15:22Z",
- "creditNoteProcessingStatus": "NONE",
- "customerId": "string",
- "dbVersion": 0,
- "enduserId": "string",
- "fulfillmentOperationId": "string",
- "fulfillmentProcessingStatus": "NONE",
- "id": "string",
- "lastUpdateReason": "string",
- "lineItemId": "string",
- "modelVersion": "string",
- "nexwayFulfillmentId": "string",
- "orderId": "string",
- "preorderReleaseNotificationNeeded": true,
- "previousLineItemDataId": "string",
- "processingEvent": [
- {
- "createDate": 0,
- "message": "string",
- "metadata": {
- "property1": { },
- "property2": { }
}, - "name": "string",
- "source": "string",
- "status": "string"
}
], - "processingStatus": "CANCELED",
- "productId": "string",
- "publisherFulfillmentId": "string",
- "qrCodeBase64": "string",
- "reminderDays": 7,
- "subscriptionId": "string",
- "subscriptionProcessingStatus": "NONE",
- "updateDate": "2019-08-24T14:15:22Z"
}
]
Get line item data by orderId and compatId or id
Authorizations:
path Parameters
orderId required | string |
compatId required | string |
Responses
Response samples
- 200
- 401
- 403
- 404
- 500
{- "activationCode": "string",
- "activationFileFulfillment": true,
- "activationLink": "string",
- "compatId": "string",
- "createDate": "2019-08-24T14:15:22Z",
- "creditNoteProcessingStatus": "NONE",
- "customerId": "string",
- "dbVersion": 0,
- "enduserId": "string",
- "fulfillmentOperationId": "string",
- "fulfillmentProcessingStatus": "NONE",
- "id": "string",
- "lastUpdateReason": "string",
- "lineItemId": "string",
- "modelVersion": "string",
- "nexwayFulfillmentId": "string",
- "orderId": "string",
- "preorderReleaseNotificationNeeded": true,
- "previousLineItemDataId": "string",
- "processingEvent": [
- {
- "createDate": 0,
- "message": "string",
- "metadata": {
- "property1": { },
- "property2": { }
}, - "name": "string",
- "source": "string",
- "status": "string"
}
], - "processingStatus": "CANCELED",
- "productId": "string",
- "publisherFulfillmentId": "string",
- "qrCodeBase64": "string",
- "reminderDays": 7,
- "subscriptionId": "string",
- "subscriptionProcessingStatus": "NONE",
- "updateDate": "2019-08-24T14:15:22Z"
}
Get line item data by orderId and compatId or id includes sub line item data
Authorizations:
path Parameters
orderId required | string |
compatId required | string |
Responses
Response samples
- 200
- 401
- 403
- 404
- 500
{- "activationCode": "string",
- "activationFileFulfillment": true,
- "activationLink": "string",
- "compatId": "string",
- "createDate": "2019-08-24T14:15:22Z",
- "creditNoteProcessingStatus": "NONE",
- "customerId": "string",
- "dbVersion": 0,
- "enduserId": "string",
- "fulfillmentOperationId": "string",
- "fulfillmentProcessingStatus": "NONE",
- "id": "string",
- "lastUpdateReason": "string",
- "lineItemId": "string",
- "modelVersion": "string",
- "nexwayFulfillmentId": "string",
- "orderId": "string",
- "preorderReleaseNotificationNeeded": true,
- "previousLineItemDataId": "string",
- "processingEvent": [
- {
- "createDate": 0,
- "message": "string",
- "metadata": {
- "property1": { },
- "property2": { }
}, - "name": "string",
- "source": "string",
- "status": "string"
}
], - "processingStatus": "CANCELED",
- "productId": "string",
- "publisherFulfillmentId": "string",
- "qrCodeBase64": "string",
- "reminderDays": 7,
- "subscriptionId": "string",
- "subscriptionProcessingStatus": "NONE",
- "updateDate": "2019-08-24T14:15:22Z"
}
Get recap quantities for a given field
Authorizations:
query Parameters
target required | string |
required | object (Pageable) |
predicate required | object |
Responses
Response samples
- 200
- 401
- 403
- 404
- 500
{- "items": [
- {
- "count": 0,
- "targetValue": "string"
}
], - "last": true,
- "number": 0,
- "size": 0,
- "totalItems": 0,
- "totalPages": 0
}
Search unwind for a given field
Authorizations:
query Parameters
target required | string |
required | object (Pageable) |
predicate required | object |
Responses
Response samples
- 200
- 401
- 403
- 404
- 500
{- "items": [
- {
- "empty": true,
- "property1": { },
- "property2": { }
}
], - "last": true,
- "number": 0,
- "size": 0,
- "totalItems": 0,
- "totalPages": 0
}
Response samples
- 200
- 401
- 403
- 404
- 500
{- "activationCode": "string",
- "activationFileFulfillment": true,
- "activationLink": "string",
- "compatId": "string",
- "createDate": "2019-08-24T14:15:22Z",
- "creditNoteProcessingStatus": "NONE",
- "customerId": "string",
- "dbVersion": 0,
- "enduserId": "string",
- "fulfillmentOperationId": "string",
- "fulfillmentProcessingStatus": "NONE",
- "id": "string",
- "lastUpdateReason": "string",
- "lineItemId": "string",
- "modelVersion": "string",
- "nexwayFulfillmentId": "string",
- "orderId": "string",
- "preorderReleaseNotificationNeeded": true,
- "previousLineItemDataId": "string",
- "processingEvent": [
- {
- "createDate": 0,
- "message": "string",
- "metadata": {
- "property1": { },
- "property2": { }
}, - "name": "string",
- "source": "string",
- "status": "string"
}
], - "processingStatus": "CANCELED",
- "productId": "string",
- "publisherFulfillmentId": "string",
- "qrCodeBase64": "string",
- "reminderDays": 7,
- "subscriptionId": "string",
- "subscriptionProcessingStatus": "NONE",
- "updateDate": "2019-08-24T14:15:22Z"
}
Update item
Authorizations:
path Parameters
id required | string |
Request Body schema: application/jsonrequired
Responses
Request samples
- Payload
{ }
Response samples
- 200
- 401
- 403
- 404
- 500
{- "activationCode": "string",
- "activationFileFulfillment": true,
- "activationLink": "string",
- "compatId": "string",
- "createDate": "2019-08-24T14:15:22Z",
- "creditNoteProcessingStatus": "NONE",
- "customerId": "string",
- "dbVersion": 0,
- "enduserId": "string",
- "fulfillmentOperationId": "string",
- "fulfillmentProcessingStatus": "NONE",
- "id": "string",
- "lastUpdateReason": "string",
- "lineItemId": "string",
- "modelVersion": "string",
- "nexwayFulfillmentId": "string",
- "orderId": "string",
- "preorderReleaseNotificationNeeded": true,
- "previousLineItemDataId": "string",
- "processingEvent": [
- {
- "createDate": 0,
- "message": "string",
- "metadata": {
- "property1": { },
- "property2": { }
}, - "name": "string",
- "source": "string",
- "status": "string"
}
], - "processingStatus": "CANCELED",
- "productId": "string",
- "publisherFulfillmentId": "string",
- "qrCodeBase64": "string",
- "reminderDays": 7,
- "subscriptionId": "string",
- "subscriptionProcessingStatus": "NONE",
- "updateDate": "2019-08-24T14:15:22Z"
}
Response samples
- 200
- 404
- 500
{- "Initial currency requested, before conversion": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "Order currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "Order id": "string",
- "Order products": [
- {
- "Business segment": "string",
- "Discount amount": 0.1,
- "Discount rate": 0.1,
- "Long desc": "string",
- "Product family": "string",
- "Product id": "string",
- "Product licenseNextExpirationDate": "string",
- "Product lifetime": "string",
- "Product name": "string",
- "Quantity": 0,
- "Short desc": "string",
- "Subscription expiration date": "2019-08-24T14:15:22Z",
- "Subscription template": "string",
- "Variable details": {
- "property1": {
- "desc": "string",
- "label": "string",
- "value": { }
}, - "property2": {
- "desc": "string",
- "label": "string",
- "value": { }
}
}, - "price": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "grossPrice": 0.1,
- "mandateValue": 0.1,
- "netPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "renewingPrice": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "grossPrice": 0.1,
- "mandateValue": 0.1,
- "netPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}, - "resources": [
- {
- "url": "string"
}
]
}
], - "Order status": "CANCELED_WITH_ERROR",
- "Order total amount": 0.1,
- "fullTotalAmount": {
- "currency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "displayName": "string",
- "numericCode": 0,
- "numericCodeAsString": "string",
- "symbol": "string"
}, - "grossPrice": 0.1,
- "mandateValue": 0.1,
- "netPrice": 0.1,
- "vatAmount": 0.1,
- "vatIncluded": true,
- "vatRate": 0.1
}
}
Get custom fields
Get custom fields by order ID
Authorizations:
path Parameters
orderId required | string filter by order ID |
Responses
Response samples
- 200
- 400
- 404
- 408
- 500
- 503
{- "createDate": "2019-08-24T14:15:22Z",
- "dbVersion": 0,
- "id": "string",
- "lastUpdateReason": "string",
- "modelVersion": "string",
- "orderId": "string",
- "productCustomFields": [
- {
- "customFields": { },
- "customFieldsId": "string",
- "productId": "string"
}
], - "updateDate": "2019-08-24T14:15:22Z"
}
computeAttributePattern
Authorizations:
Request Body schema: application/jsonrequired
fromDate | string <date-time> |
orderIds | Array of strings |
toDate | string <date-time> |
Responses
Request samples
- Payload
{- "fromDate": "2019-08-24T14:15:22Z",
- "orderIds": [
- "string"
], - "toDate": "2019-08-24T14:15:22Z"
}
resetAttributePattern
Authorizations:
Request Body schema: application/jsonrequired
fromDate | string <date-time> |
orderIds | Array of strings |
toDate | string <date-time> |
Responses
Request samples
- Payload
{- "fromDate": "2019-08-24T14:15:22Z",
- "orderIds": [
- "string"
], - "toDate": "2019-08-24T14:15:22Z"
}