Download OpenAPI specification:Download
This is the OpenAPI description for accessing the Frisbii Media partner platform.
Get customer that is identified by the passed customer id.
| customerId required | string unique id of the customer |
{- "customerId": "100003",
- "username": "wild_flower",
- "email": "wildflower@example.com",
- "invoiceEmail": "wildflower-invoices@example.com",
- "birthday": "2001-03-21",
- "language": "de",
- "mobileNumber": "+14155552671",
- "status": "ACTIVATED",
- "acceptedTerms": {
- "AEISLQ565BPITQ251O31": {
- "termId": 103300,
- "uniqueId": "V1.0",
- "acceptanceDate": "2020-03-21T17:32:12Z"
}
}
}Search all addresses that correspond to the given search conditions and belong to the customer identified by the customer id provided.
| customerId required | string unique id of the customer |
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
| endingBefore | string <= 100 characters A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list. |
| sort | string <= 4 characters Enum: "ASC" "DESC" The sort of the search, if its desc it will revert to search for a lower startingAfter |
{- "items": [
- {
- "addressId": 100001,
- "changedDate": "2019-03-21T17:32:12Z",
- "type": "INVOICE",
- "preferred": true,
- "customerId": "100003",
- "businessAddress": true,
- "salutation": "MR",
- "title": "Dr",
- "firstName": "John",
- "lastName": "Doe",
- "companyName": "ARAMARK Ltd.",
- "additionalCompanyInfo": "Subdivision of World Ltd.",
- "street": "Commercial Road",
- "streetNumber": "30",
- "additionalStreetInfo": "Level 5",
- "postcode": "PO1 1AA",
- "city": "Hampshire",
- "country": "GB",
- "vatNumber": "DE123456789"
}
]
}Search all addresses that correspond to the given search conditions.
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
| endingBefore | string <= 100 characters A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list. |
| sort | string <= 4 characters Enum: "ASC" "DESC" The sort of the search, if its desc it will revert to search for a lower startingAfter |
{- "items": [
- {
- "addressId": 100001,
- "changedDate": "2019-03-21T17:32:12Z",
- "type": "INVOICE",
- "preferred": true,
- "customerId": "100003",
- "businessAddress": true,
- "salutation": "MR",
- "title": "Dr",
- "firstName": "John",
- "lastName": "Doe",
- "companyName": "ARAMARK Ltd.",
- "additionalCompanyInfo": "Subdivision of World Ltd.",
- "street": "Commercial Road",
- "streetNumber": "30",
- "additionalStreetInfo": "Level 5",
- "postcode": "PO1 1AA",
- "city": "Hampshire",
- "country": "GB",
- "vatNumber": "DE123456789"
}
]
}Get address that is identified by the passed address id.
| addressId required | integer <int64> unique id of the address |
{- "addressId": 100001,
- "changedDate": "2019-03-21T17:32:12Z",
- "type": "INVOICE",
- "preferred": true,
- "customerId": "100003",
- "businessAddress": true,
- "salutation": "MR",
- "title": "Dr",
- "firstName": "John",
- "lastName": "Doe",
- "companyName": "ARAMARK Ltd.",
- "additionalCompanyInfo": "Subdivision of World Ltd.",
- "street": "Commercial Road",
- "streetNumber": "30",
- "additionalStreetInfo": "Level 5",
- "postcode": "PO1 1AA",
- "city": "Hampshire",
- "country": "GB",
- "vatNumber": "DE123456789"
}Search all customers that correspond to the given search conditions.
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
| endingBefore | string <= 100 characters A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list. |
| sort | string <= 4 characters Enum: "ASC" "DESC" The sort of the search, if its desc it will revert to search for a lower startingAfter |
| externalSystemId | string external system id defined by third party systems |
string <email> email to search for | |
| username | string username to search for |
| customerMark | string Value: "WBZ" customer mark |
{- "items": [
- {
- "customerId": "100003",
- "username": "wild_flower",
- "email": "wildflower@example.com",
- "invoiceEmail": "wildflower-invoices@example.com",
- "birthday": "2001-03-21",
- "language": "de",
- "mobileNumber": "+14155552671",
- "status": "ACTIVATED"
}
]
}Get customer that is identified by the passed customer id.
| customerId required | string unique id of the customer |
{- "customerId": "100003",
- "username": "wild_flower",
- "email": "wildflower@example.com",
- "invoiceEmail": "wildflower-invoices@example.com",
- "birthday": "2001-03-21",
- "language": "de",
- "mobileNumber": "+14155552671",
- "status": "ACTIVATED",
- "acceptedTerms": {
- "AEISLQ565BPITQ251O31": {
- "termId": 103300,
- "uniqueId": "V1.0",
- "acceptanceDate": "2020-03-21T17:32:12Z"
}
}
}Search all addresses that correspond to the given search conditions and belong to the customer identified by the customer id provided.
| customerId required | string unique id of the customer |
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
| endingBefore | string <= 100 characters A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list. |
| sort | string <= 4 characters Enum: "ASC" "DESC" The sort of the search, if its desc it will revert to search for a lower startingAfter |
{- "items": [
- {
- "addressId": 100001,
- "changedDate": "2019-03-21T17:32:12Z",
- "type": "INVOICE",
- "preferred": true,
- "customerId": "100003",
- "businessAddress": true,
- "salutation": "MR",
- "title": "Dr",
- "firstName": "John",
- "lastName": "Doe",
- "companyName": "ARAMARK Ltd.",
- "additionalCompanyInfo": "Subdivision of World Ltd.",
- "street": "Commercial Road",
- "streetNumber": "30",
- "additionalStreetInfo": "Level 5",
- "postcode": "PO1 1AA",
- "city": "Hampshire",
- "country": "GB",
- "vatNumber": "DE123456789"
}
]
}Search all subscriptions that correspond to the given search conditions.
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
| endingBefore | string <= 100 characters A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list. |
| sort | string <= 4 characters Enum: "ASC" "DESC" The sort of the search, if its desc it will revert to search for a lower startingAfter |
| subscriptionItemId | integer <int64> unique id of the subscription item to search for |
| externalSystemId | string external system id defined by third party systems |
| subscriptionType | string (SubscriptionType) Enum: "CREDIT_BASED" "CREDIT_TIME_BASED" "CREDIT_TRIGGER_BASED" "CROSS_COMPANY_TIME_BASED" "ISSUE_BASED" "TIME_BASED" "TIME_BASED_FAMILY" "TIME_BASED_MULTIUSER" "TIME_CREDIT_BASED" "VOUCHER_CREDIT_BASED" "VOUCHER_CREDIT_TIME_BASED" "VOUCHER_CREDIT_TRIGGER_BASED" "VOUCHER_ISSUE_BASED" "VOUCHER_TIME_BASED" "VOUCHER_TIME_CREDIT_BASED" type of the subscription |
{- "items": [
- {
- "subscriptionId": 9310,
- "changedDate": "2019-03-21T17:32:12Z",
- "startDate": "2019-02-01T17:32:12Z",
- "endDate": "2090-02-01T17:32:12Z",
- "chainId": 9310,
- "plenigoOfferId": "O_MZA1E7173120881551",
- "invoiceCustomerId": "100003",
- "deliveryCustomerId": "100003",
- "term": 12,
- "termTimeSpan": "MONTH",
- "accountingPeriod": 1,
- "accountingPeriodTimeSpan": "MONTH",
- "cancellationPeriod": 1,
- "cancellationPeriodTimeSpan": "DAY",
- "currency": "EUR",
- "paymentMethod": "CREDIT_CARD",
- "paymentMethodId": 100230,
- "accessBlocked": false,
- "firstBookingDate": "2019-02-01",
- "lastBookingDate": "2019-08-01",
- "nextBookingDate": "2019-09-01",
- "status": "ACTIVE",
- "items": [
- {
- "subscriptionItemId": 7212,
- "productId": "P_TTA1E7173120881551",
- "plenigoProductId": "P_TTA1E7173120881551",
- "plenigoStepId": "S_DRLEE7173120881551",
- "title": "Best monthly news",
- "internalTitle": "Monthly newspaper",
- "taxType": "NEWSPAPER",
- "price": 9.99,
- "priceIssueId": 12345,
- "discountPercentage": 0,
- "quantity": 1,
- "status": "ACTIVE",
- "packageTitle": "Best offer bundle",
- "packageId": "AX20429MK3222",
- "packageCancellationLocked": true,
- "costCenter": "43400",
- "accessRightUniqueId": "global-access"
}
]
}
]
}Get subscription that is identified by the passed subscription id.
| subscriptionId required | integer <int64> unique id of the subscription |
{- "subscriptionId": 9310,
- "changedDate": "2019-03-21T17:32:12Z",
- "startDate": "2019-02-01T17:32:12Z",
- "endDate": "2090-02-01T17:32:12Z",
- "chainId": 9310,
- "plenigoOfferId": "O_MZA1E7173120881551",
- "invoiceCustomerId": "100003",
- "deliveryCustomerId": "100003",
- "term": 12,
- "termTimeSpan": "MONTH",
- "accountingPeriod": 1,
- "accountingPeriodTimeSpan": "MONTH",
- "cancellationPeriod": 1,
- "cancellationPeriodTimeSpan": "DAY",
- "currency": "EUR",
- "paymentMethod": "CREDIT_CARD",
- "paymentMethodId": 100230,
- "accessBlocked": false,
- "firstBookingDate": "2019-02-01",
- "lastBookingDate": "2019-08-01",
- "nextBookingDate": "2019-09-01",
- "status": "ACTIVE",
- "items": [
- {
- "subscriptionItemId": 7212,
- "productId": "P_TTA1E7173120881551",
- "plenigoProductId": "P_TTA1E7173120881551",
- "plenigoStepId": "S_DRLEE7173120881551",
- "title": "Best monthly news",
- "internalTitle": "Monthly newspaper",
- "taxType": "NEWSPAPER",
- "price": 9.99,
- "priceIssueId": 12345,
- "discountPercentage": 0,
- "quantity": 1,
- "status": "ACTIVE",
- "packageTitle": "Best offer bundle",
- "packageId": "AX20429MK3222",
- "packageCancellationLocked": true,
- "costCenter": "43400",
- "accessRightUniqueId": "global-access"
}
]
}Search all addresses that correspond to the given search conditions.
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
| endingBefore | string <= 100 characters A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list. |
| sort | string <= 4 characters Enum: "ASC" "DESC" The sort of the search, if its desc it will revert to search for a lower startingAfter |
{- "items": [
- {
- "addressId": 100001,
- "changedDate": "2019-03-21T17:32:12Z",
- "type": "INVOICE",
- "preferred": true,
- "customerId": "100003",
- "businessAddress": true,
- "salutation": "MR",
- "title": "Dr",
- "firstName": "John",
- "lastName": "Doe",
- "companyName": "ARAMARK Ltd.",
- "additionalCompanyInfo": "Subdivision of World Ltd.",
- "street": "Commercial Road",
- "streetNumber": "30",
- "additionalStreetInfo": "Level 5",
- "postcode": "PO1 1AA",
- "city": "Hampshire",
- "country": "GB",
- "vatNumber": "DE123456789"
}
]
}Get address that is identified by the passed address id.
| addressId required | integer <int64> unique id of the address |
{- "addressId": 100001,
- "changedDate": "2019-03-21T17:32:12Z",
- "type": "INVOICE",
- "preferred": true,
- "customerId": "100003",
- "businessAddress": true,
- "salutation": "MR",
- "title": "Dr",
- "firstName": "John",
- "lastName": "Doe",
- "companyName": "ARAMARK Ltd.",
- "additionalCompanyInfo": "Subdivision of World Ltd.",
- "street": "Commercial Road",
- "streetNumber": "30",
- "additionalStreetInfo": "Level 5",
- "postcode": "PO1 1AA",
- "city": "Hampshire",
- "country": "GB",
- "vatNumber": "DE123456789"
}Search all customers that correspond to the given search conditions.
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
| endingBefore | string <= 100 characters A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list. |
| sort | string <= 4 characters Enum: "ASC" "DESC" The sort of the search, if its desc it will revert to search for a lower startingAfter |
| externalSystemId | string external system id defined by third party systems |
string <email> email to search for | |
| username | string username to search for |
| customerMark | string Value: "WBZ" customer mark |
{- "items": [
- {
- "customerId": "100003",
- "username": "wild_flower",
- "email": "wildflower@example.com",
- "invoiceEmail": "wildflower-invoices@example.com",
- "birthday": "2001-03-21",
- "language": "de",
- "mobileNumber": "+14155552671",
- "status": "ACTIVATED"
}
]
}Get customer that is identified by the passed customer id.
| customerId required | string unique id of the customer |
{- "customerId": "100003",
- "username": "wild_flower",
- "email": "wildflower@example.com",
- "invoiceEmail": "wildflower-invoices@example.com",
- "birthday": "2001-03-21",
- "language": "de",
- "mobileNumber": "+14155552671",
- "status": "ACTIVATED",
- "acceptedTerms": {
- "AEISLQ565BPITQ251O31": {
- "termId": 103300,
- "uniqueId": "V1.0",
- "acceptanceDate": "2020-03-21T17:32:12Z"
}
}
}Search all addresses that correspond to the given search conditions and belong to the customer identified by the customer id provided.
| customerId required | string unique id of the customer |
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
| endingBefore | string <= 100 characters A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list. |
| sort | string <= 4 characters Enum: "ASC" "DESC" The sort of the search, if its desc it will revert to search for a lower startingAfter |
{- "items": [
- {
- "addressId": 100001,
- "changedDate": "2019-03-21T17:32:12Z",
- "type": "INVOICE",
- "preferred": true,
- "customerId": "100003",
- "businessAddress": true,
- "salutation": "MR",
- "title": "Dr",
- "firstName": "John",
- "lastName": "Doe",
- "companyName": "ARAMARK Ltd.",
- "additionalCompanyInfo": "Subdivision of World Ltd.",
- "street": "Commercial Road",
- "streetNumber": "30",
- "additionalStreetInfo": "Level 5",
- "postcode": "PO1 1AA",
- "city": "Hampshire",
- "country": "GB",
- "vatNumber": "DE123456789"
}
]
}Search all subscriptions that correspond to the given search conditions.
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
| endingBefore | string <= 100 characters A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list. |
| sort | string <= 4 characters Enum: "ASC" "DESC" The sort of the search, if its desc it will revert to search for a lower startingAfter |
| subscriptionItemId | integer <int64> unique id of the subscription item to search for |
| externalSystemId | string external system id defined by third party systems |
| subscriptionType | string (SubscriptionType) Enum: "CREDIT_BASED" "CREDIT_TIME_BASED" "CREDIT_TRIGGER_BASED" "CROSS_COMPANY_TIME_BASED" "ISSUE_BASED" "TIME_BASED" "TIME_BASED_FAMILY" "TIME_BASED_MULTIUSER" "TIME_CREDIT_BASED" "VOUCHER_CREDIT_BASED" "VOUCHER_CREDIT_TIME_BASED" "VOUCHER_CREDIT_TRIGGER_BASED" "VOUCHER_ISSUE_BASED" "VOUCHER_TIME_BASED" "VOUCHER_TIME_CREDIT_BASED" type of the subscription |
{- "items": [
- {
- "subscriptionId": 9310,
- "changedDate": "2019-03-21T17:32:12Z",
- "startDate": "2019-02-01T17:32:12Z",
- "endDate": "2090-02-01T17:32:12Z",
- "chainId": 9310,
- "plenigoOfferId": "O_MZA1E7173120881551",
- "invoiceCustomerId": "100003",
- "deliveryCustomerId": "100003",
- "term": 12,
- "termTimeSpan": "MONTH",
- "accountingPeriod": 1,
- "accountingPeriodTimeSpan": "MONTH",
- "cancellationPeriod": 1,
- "cancellationPeriodTimeSpan": "DAY",
- "currency": "EUR",
- "paymentMethod": "CREDIT_CARD",
- "paymentMethodId": 100230,
- "accessBlocked": false,
- "firstBookingDate": "2019-02-01",
- "lastBookingDate": "2019-08-01",
- "nextBookingDate": "2019-09-01",
- "status": "ACTIVE",
- "items": [
- {
- "subscriptionItemId": 7212,
- "productId": "P_TTA1E7173120881551",
- "plenigoProductId": "P_TTA1E7173120881551",
- "plenigoStepId": "S_DRLEE7173120881551",
- "title": "Best monthly news",
- "internalTitle": "Monthly newspaper",
- "taxType": "NEWSPAPER",
- "price": 9.99,
- "priceIssueId": 12345,
- "discountPercentage": 0,
- "quantity": 1,
- "status": "ACTIVE",
- "packageTitle": "Best offer bundle",
- "packageId": "AX20429MK3222",
- "packageCancellationLocked": true,
- "costCenter": "43400",
- "accessRightUniqueId": "global-access"
}
]
}
]
}Get subscription that is identified by the passed subscription id.
| subscriptionId required | integer <int64> unique id of the subscription |
{- "subscriptionId": 9310,
- "changedDate": "2019-03-21T17:32:12Z",
- "startDate": "2019-02-01T17:32:12Z",
- "endDate": "2090-02-01T17:32:12Z",
- "chainId": 9310,
- "plenigoOfferId": "O_MZA1E7173120881551",
- "invoiceCustomerId": "100003",
- "deliveryCustomerId": "100003",
- "term": 12,
- "termTimeSpan": "MONTH",
- "accountingPeriod": 1,
- "accountingPeriodTimeSpan": "MONTH",
- "cancellationPeriod": 1,
- "cancellationPeriodTimeSpan": "DAY",
- "currency": "EUR",
- "paymentMethod": "CREDIT_CARD",
- "paymentMethodId": 100230,
- "accessBlocked": false,
- "firstBookingDate": "2019-02-01",
- "lastBookingDate": "2019-08-01",
- "nextBookingDate": "2019-09-01",
- "status": "ACTIVE",
- "items": [
- {
- "subscriptionItemId": 7212,
- "productId": "P_TTA1E7173120881551",
- "plenigoProductId": "P_TTA1E7173120881551",
- "plenigoStepId": "S_DRLEE7173120881551",
- "title": "Best monthly news",
- "internalTitle": "Monthly newspaper",
- "taxType": "NEWSPAPER",
- "price": 9.99,
- "priceIssueId": 12345,
- "discountPercentage": 0,
- "quantity": 1,
- "status": "ACTIVE",
- "packageTitle": "Best offer bundle",
- "packageId": "AX20429MK3222",
- "packageCancellationLocked": true,
- "costCenter": "43400",
- "accessRightUniqueId": "global-access"
}
]
}Search all addresses that correspond to the given search conditions.
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
| endingBefore | string <= 100 characters A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list. |
| sort | string <= 4 characters Enum: "ASC" "DESC" The sort of the search, if its desc it will revert to search for a lower startingAfter |
{- "items": [
- {
- "addressId": 100001,
- "changedDate": "2019-03-21T17:32:12Z",
- "type": "INVOICE",
- "preferred": true,
- "customerId": "100003",
- "businessAddress": true,
- "salutation": "MR",
- "title": "Dr",
- "firstName": "John",
- "lastName": "Doe",
- "companyName": "ARAMARK Ltd.",
- "additionalCompanyInfo": "Subdivision of World Ltd.",
- "street": "Commercial Road",
- "streetNumber": "30",
- "additionalStreetInfo": "Level 5",
- "postcode": "PO1 1AA",
- "city": "Hampshire",
- "country": "GB",
- "vatNumber": "DE123456789"
}
]
}Get address that is identified by the passed address id.
| addressId required | integer <int64> unique id of the address |
{- "addressId": 100001,
- "changedDate": "2019-03-21T17:32:12Z",
- "type": "INVOICE",
- "preferred": true,
- "customerId": "100003",
- "businessAddress": true,
- "salutation": "MR",
- "title": "Dr",
- "firstName": "John",
- "lastName": "Doe",
- "companyName": "ARAMARK Ltd.",
- "additionalCompanyInfo": "Subdivision of World Ltd.",
- "street": "Commercial Road",
- "streetNumber": "30",
- "additionalStreetInfo": "Level 5",
- "postcode": "PO1 1AA",
- "city": "Hampshire",
- "country": "GB",
- "vatNumber": "DE123456789"
}Search all customers that correspond to the given search conditions.
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
| endingBefore | string <= 100 characters A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list. |
| sort | string <= 4 characters Enum: "ASC" "DESC" The sort of the search, if its desc it will revert to search for a lower startingAfter |
| externalSystemId | string external system id defined by third party systems |
string <email> email to search for | |
| username | string username to search for |
| customerMark | string Value: "WBZ" customer mark |
{- "items": [
- {
- "customerId": "100003",
- "username": "wild_flower",
- "email": "wildflower@example.com",
- "invoiceEmail": "wildflower-invoices@example.com",
- "birthday": "2001-03-21",
- "language": "de",
- "mobileNumber": "+14155552671",
- "status": "ACTIVATED"
}
]
}Get customer that is identified by the passed customer id.
| customerId required | string unique id of the customer |
{- "customerId": "100003",
- "username": "wild_flower",
- "email": "wildflower@example.com",
- "invoiceEmail": "wildflower-invoices@example.com",
- "birthday": "2001-03-21",
- "language": "de",
- "mobileNumber": "+14155552671",
- "status": "ACTIVATED",
- "acceptedTerms": {
- "AEISLQ565BPITQ251O31": {
- "termId": 103300,
- "uniqueId": "V1.0",
- "acceptanceDate": "2020-03-21T17:32:12Z"
}
}
}Search all addresses that correspond to the given search conditions and belong to the customer identified by the customer id provided.
| customerId required | string unique id of the customer |
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
| endingBefore | string <= 100 characters A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list. |
| sort | string <= 4 characters Enum: "ASC" "DESC" The sort of the search, if its desc it will revert to search for a lower startingAfter |
{- "items": [
- {
- "addressId": 100001,
- "changedDate": "2019-03-21T17:32:12Z",
- "type": "INVOICE",
- "preferred": true,
- "customerId": "100003",
- "businessAddress": true,
- "salutation": "MR",
- "title": "Dr",
- "firstName": "John",
- "lastName": "Doe",
- "companyName": "ARAMARK Ltd.",
- "additionalCompanyInfo": "Subdivision of World Ltd.",
- "street": "Commercial Road",
- "streetNumber": "30",
- "additionalStreetInfo": "Level 5",
- "postcode": "PO1 1AA",
- "city": "Hampshire",
- "country": "GB",
- "vatNumber": "DE123456789"
}
]
}Search all subscriptions that correspond to the given search conditions.
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
| endingBefore | string <= 100 characters A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list. |
| sort | string <= 4 characters Enum: "ASC" "DESC" The sort of the search, if its desc it will revert to search for a lower startingAfter |
| subscriptionItemId | integer <int64> unique id of the subscription item to search for |
| externalSystemId | string external system id defined by third party systems |
| subscriptionType | string (SubscriptionType) Enum: "CREDIT_BASED" "CREDIT_TIME_BASED" "CREDIT_TRIGGER_BASED" "CROSS_COMPANY_TIME_BASED" "ISSUE_BASED" "TIME_BASED" "TIME_BASED_FAMILY" "TIME_BASED_MULTIUSER" "TIME_CREDIT_BASED" "VOUCHER_CREDIT_BASED" "VOUCHER_CREDIT_TIME_BASED" "VOUCHER_CREDIT_TRIGGER_BASED" "VOUCHER_ISSUE_BASED" "VOUCHER_TIME_BASED" "VOUCHER_TIME_CREDIT_BASED" type of the subscription |
{- "items": [
- {
- "subscriptionId": 9310,
- "changedDate": "2019-03-21T17:32:12Z",
- "startDate": "2019-02-01T17:32:12Z",
- "endDate": "2090-02-01T17:32:12Z",
- "chainId": 9310,
- "plenigoOfferId": "O_MZA1E7173120881551",
- "invoiceCustomerId": "100003",
- "deliveryCustomerId": "100003",
- "term": 12,
- "termTimeSpan": "MONTH",
- "accountingPeriod": 1,
- "accountingPeriodTimeSpan": "MONTH",
- "cancellationPeriod": 1,
- "cancellationPeriodTimeSpan": "DAY",
- "currency": "EUR",
- "paymentMethod": "CREDIT_CARD",
- "paymentMethodId": 100230,
- "accessBlocked": false,
- "firstBookingDate": "2019-02-01",
- "lastBookingDate": "2019-08-01",
- "nextBookingDate": "2019-09-01",
- "status": "ACTIVE",
- "items": [
- {
- "subscriptionItemId": 7212,
- "productId": "P_TTA1E7173120881551",
- "plenigoProductId": "P_TTA1E7173120881551",
- "plenigoStepId": "S_DRLEE7173120881551",
- "title": "Best monthly news",
- "internalTitle": "Monthly newspaper",
- "taxType": "NEWSPAPER",
- "price": 9.99,
- "priceIssueId": 12345,
- "discountPercentage": 0,
- "quantity": 1,
- "status": "ACTIVE",
- "packageTitle": "Best offer bundle",
- "packageId": "AX20429MK3222",
- "packageCancellationLocked": true,
- "costCenter": "43400",
- "accessRightUniqueId": "global-access"
}
]
}
]
}Get subscription that is identified by the passed subscription id.
| subscriptionId required | integer <int64> unique id of the subscription |
{- "subscriptionId": 9310,
- "changedDate": "2019-03-21T17:32:12Z",
- "startDate": "2019-02-01T17:32:12Z",
- "endDate": "2090-02-01T17:32:12Z",
- "chainId": 9310,
- "plenigoOfferId": "O_MZA1E7173120881551",
- "invoiceCustomerId": "100003",
- "deliveryCustomerId": "100003",
- "term": 12,
- "termTimeSpan": "MONTH",
- "accountingPeriod": 1,
- "accountingPeriodTimeSpan": "MONTH",
- "cancellationPeriod": 1,
- "cancellationPeriodTimeSpan": "DAY",
- "currency": "EUR",
- "paymentMethod": "CREDIT_CARD",
- "paymentMethodId": 100230,
- "accessBlocked": false,
- "firstBookingDate": "2019-02-01",
- "lastBookingDate": "2019-08-01",
- "nextBookingDate": "2019-09-01",
- "status": "ACTIVE",
- "items": [
- {
- "subscriptionItemId": 7212,
- "productId": "P_TTA1E7173120881551",
- "plenigoProductId": "P_TTA1E7173120881551",
- "plenigoStepId": "S_DRLEE7173120881551",
- "title": "Best monthly news",
- "internalTitle": "Monthly newspaper",
- "taxType": "NEWSPAPER",
- "price": 9.99,
- "priceIssueId": 12345,
- "discountPercentage": 0,
- "quantity": 1,
- "status": "ACTIVE",
- "packageTitle": "Best offer bundle",
- "packageId": "AX20429MK3222",
- "packageCancellationLocked": true,
- "costCenter": "43400",
- "accessRightUniqueId": "global-access"
}
]
}Get all access rights for a customer identified by the passed customer id.
| customerId required | string unique id of the customer |
{- "customerId": "100003",
- "customerBlocked": false,
- "createdDate": "2019-01-01T07:53:23.450961Z",
- "createdBy": "PLENIGO",
- "createdByType": "SYSTEM",
- "changedDate": "2019-01-01T07:53:23.450961Z",
- "changedBy": "PLENIGO",
- "changedByType": "SYSTEM",
- "items": [
- {
- "createdDate": "2019-01-01T07:53:23.450961Z",
- "createdBy": "PLENIGO",
- "createdByType": "SYSTEM",
- "changedDate": "2019-01-01T07:53:23.450961Z",
- "changedBy": "PLENIGO",
- "changedByType": "SYSTEM",
- "lifeTimeStart": "2019-01-01T07:53:23.450961Z",
- "lifeTimeEnd": "2020-01-01T07:53:23.450961Z",
- "accessTimeStart": "06:00:00",
- "accessTimeEnd": "18:00:00",
- "maxCacheDate": "2020-01-01T07:53:23.450961Z",
- "data": {
- "key": "value"
}, - "blocked": false,
- "productId": "P_TTA1E7173120881551",
- "plenigoOfferId": "O_TTA1E7173120881552",
- "plenigoProductId": "P_TTA1E7173120881551",
- "plenigoStepId": "S_TTA1E7173120881553",
- "accessRightUniqueId": "UNIQUE-ID",
- "accessRightData": {
- "key": "value"
}, - "itemType": "SUBSCRIPTION_ITEM",
- "itemId": "7212"
}
]
}Create a new access right item with the data provided for a customer identified by the passed customer id.
| customerId required | string unique id of the customer |
| createdDate | string or null <date-time> time the object was created with time notation as defined by RFC 3339, section 5.6, for example, 17:32:28 |
| changedDate | string or null <date-time> time the object was changed with time notation as defined by RFC 3339, section 5.6, for example, 17:32:28 |
| createdBy | string <= 100 characters id who created the object |
| createdByType | string (UserType) Enum: "API" "CUSTOMER" "MERCHANT" "IMPORTER" "SYSTEM" type of user who performs the action |
| changedBy | string <= 100 characters id who changed the object |
| changedByType | string (UserType) Enum: "API" "CUSTOMER" "MERCHANT" "IMPORTER" "SYSTEM" type of user who performs the action |
| lifeTimeStart | string or null <date-time> date the access right will start with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| lifeTimeEnd | string or null <date-time> date the access right will end with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| accessTimeStart | string or null <date-time> time the access right will start with time notation as defined by RFC 3339, section 5.6, for example, 17:32:28 |
| accessTimeEnd | string or null <date-time> time the access right will end with time notation as defined by RFC 3339, section 5.6, for example, 17:32:28 |
| pausedTimeStart | string or null <date-time> time the access right pause will start with time notation as defined by RFC 3339, section 5.6, for example, 17:32:28 |
| pausedTimeEnd | string or null <date-time> time the access right pause will end with time notation as defined by RFC 3339, section 5.6, for example, 17:32:28 |
| maxCacheDate | string or null <date-time> max cache date with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
object <= 20 properties Key must be a string with a maximum length of 20 characters. | |
| blocked | boolean flag indicating if access is blocked |
| activePartners | Array of strings active partners of the company |
| accessRightUniqueId required | string^[0-9\-a-zA-Z]{2,30}$ unique id of the access right this access right grants access to |
{- "lifeTimeStart": "2019-01-01T07:53:23.450961Z",
- "lifeTimeEnd": "2020-01-01T07:53:23.450961Z",
- "accessTimeStart": "06:00:00",
- "accessTimeEnd": "18:00:00",
- "maxCacheDate": "2020-01-01T07:53:23.450961Z",
- "data": {
- "key": "value"
}, - "blocked": false,
- "accessRightUniqueId": "newAccessRightUniqueId"
}{- "customerId": "100003",
- "customerBlocked": false,
- "createdDate": "2019-01-01T07:53:23.450961Z",
- "createdBy": "PLENIGO",
- "createdByType": "SYSTEM",
- "changedDate": "2019-01-01T07:53:23.450961Z",
- "changedBy": "PLENIGO",
- "changedByType": "SYSTEM",
- "items": [
- {
- "createdDate": "2019-01-01T07:53:23.450961Z",
- "createdBy": "PLENIGO",
- "createdByType": "SYSTEM",
- "changedDate": "2019-01-01T07:53:23.450961Z",
- "changedBy": "PLENIGO",
- "changedByType": "SYSTEM",
- "lifeTimeStart": "2019-01-01T07:53:23.450961Z",
- "lifeTimeEnd": "2020-01-01T07:53:23.450961Z",
- "accessTimeStart": "06:00:00",
- "accessTimeEnd": "18:00:00",
- "maxCacheDate": "2020-01-01T07:53:23.450961Z",
- "data": {
- "key": "value"
}, - "blocked": false,
- "productId": "P_TTA1E7173120881551",
- "plenigoOfferId": "O_TTA1E7173120881552",
- "plenigoProductId": "P_TTA1E7173120881551",
- "plenigoStepId": "S_TTA1E7173120881553",
- "accessRightUniqueId": "UNIQUE-ID",
- "accessRightData": {
- "key": "value"
}, - "itemType": "SUBSCRIPTION_ITEM",
- "itemId": "7212"
}
]
}Check if customer has a valid access right for one or multiple access rights identified by the provided access right unique ids.
| customerId required | string unique id of the customer |
| accessRightUniqueIds required | string comma separated ids of access right unique ids |
{- "customerId": "100003",
- "customerBlocked": false,
- "accessGranted": true,
- "items": [
- {
- "accessGranted": true,
- "createdDate": "2019-01-01T07:53:23.450961Z",
- "createdBy": "PLENIGO",
- "createdByType": "SYSTEM",
- "changedDate": "2019-01-01T07:53:23.450961Z",
- "changedBy": "PLENIGO",
- "changedByType": "SYSTEM",
- "lifeTimeStart": "2019-01-01T07:53:23.450961Z",
- "lifeTimeEnd": "2020-01-01T07:53:23.450961Z",
- "accessTimeStart": "06:00:00",
- "accessTimeEnd": "18:00:00",
- "maxCacheDate": "2020-01-01T07:53:23.450961Z",
- "data": {
- "key": "value"
}, - "blocked": false,
- "productId": "P_TTA1E7173120881551",
- "plenigoOfferId": "O_TTA1E7173120881552",
- "plenigoProductId": "P_TTA1E7173120881551",
- "plenigoStepId": "S_TTA1E7173120881553",
- "accessRightUniqueId": "UNIQUE-ID",
- "accessRightData": {
- "key": "value"
}, - "itemType": "SUBSCRIPTION_ITEM",
- "itemId": "7212"
}
]
}Updates an access right item with the data provided for a customer identified by the passed customer id.
| customerId required | string unique id of the customer |
| accessRightUniqueId required | string id of the access right item |
| createdDate | string or null <date-time> time the object was created with time notation as defined by RFC 3339, section 5.6, for example, 17:32:28 |
| changedDate | string or null <date-time> time the object was changed with time notation as defined by RFC 3339, section 5.6, for example, 17:32:28 |
| createdBy | string <= 100 characters id who created the object |
| createdByType | string (UserType) Enum: "API" "CUSTOMER" "MERCHANT" "IMPORTER" "SYSTEM" type of user who performs the action |
| changedBy | string <= 100 characters id who changed the object |
| changedByType | string (UserType) Enum: "API" "CUSTOMER" "MERCHANT" "IMPORTER" "SYSTEM" type of user who performs the action |
| lifeTimeStart | string or null <date-time> date the access right will start with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| lifeTimeEnd | string or null <date-time> date the access right will end with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| accessTimeStart | string or null <date-time> time the access right will start with time notation as defined by RFC 3339, section 5.6, for example, 17:32:28 |
| accessTimeEnd | string or null <date-time> time the access right will end with time notation as defined by RFC 3339, section 5.6, for example, 17:32:28 |
| pausedTimeStart | string or null <date-time> time the access right pause will start with time notation as defined by RFC 3339, section 5.6, for example, 17:32:28 |
| pausedTimeEnd | string or null <date-time> time the access right pause will end with time notation as defined by RFC 3339, section 5.6, for example, 17:32:28 |
| maxCacheDate | string or null <date-time> max cache date with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
object <= 20 properties Key must be a string with a maximum length of 20 characters. | |
| blocked | boolean flag indicating if access is blocked |
| activePartners | Array of strings active partners of the company |
{- "lifeTimeStart": "2019-01-01T07:53:23.450961Z",
- "lifeTimeEnd": "2020-01-01T07:53:23.450961Z",
- "accessTimeStart": "06:00:00",
- "accessTimeEnd": "18:00:00",
- "maxCacheDate": "2020-01-01T07:53:23.450961Z",
- "data": {
- "key": "value"
}, - "blocked": false
}{- "customerId": "100003",
- "customerBlocked": false,
- "createdDate": "2019-01-01T07:53:23.450961Z",
- "createdBy": "PLENIGO",
- "createdByType": "SYSTEM",
- "changedDate": "2019-01-01T07:53:23.450961Z",
- "changedBy": "PLENIGO",
- "changedByType": "SYSTEM",
- "items": [
- {
- "createdDate": "2019-01-01T07:53:23.450961Z",
- "createdBy": "PLENIGO",
- "createdByType": "SYSTEM",
- "changedDate": "2019-01-01T07:53:23.450961Z",
- "changedBy": "PLENIGO",
- "changedByType": "SYSTEM",
- "lifeTimeStart": "2019-01-01T07:53:23.450961Z",
- "lifeTimeEnd": "2020-01-01T07:53:23.450961Z",
- "accessTimeStart": "06:00:00",
- "accessTimeEnd": "18:00:00",
- "maxCacheDate": "2020-01-01T07:53:23.450961Z",
- "data": {
- "key": "value"
}, - "blocked": false,
- "productId": "P_TTA1E7173120881551",
- "plenigoOfferId": "O_TTA1E7173120881552",
- "plenigoProductId": "P_TTA1E7173120881551",
- "plenigoStepId": "S_TTA1E7173120881553",
- "accessRightUniqueId": "UNIQUE-ID",
- "accessRightData": {
- "key": "value"
}, - "itemType": "SUBSCRIPTION_ITEM",
- "itemId": "7212"
}
]
}Get all paywall products.
| customerCountry required | string = 2 characters ISO 3166-1 alpha-2 billing country/region code of the user |
| customerLanguage required | string = 2 characters language of the customer - two letter language code according to ISO 639-1 |
| selection | string <= 50 characters name of the paywall tag to filter for |
{- "paywallOfferInfos": [
- {
- "plenigoOfferId": "stringstringstringst"
}
]
}Get a specific paywall product by plenigo offer id.
| plenigoOfferId required | string plenigo offer id |
| customerCountry required | string = 2 characters ISO 3166-1 alpha-2 billing country/region code of the user |
| customerLanguage required | string = 2 characters language of the customer - two letter language code according to ISO 639-1 |
{- "plenigoOfferId": "stringstringstringst"
}Get all access rights for a customer identified by the passed customer id.
| customerId required | string unique id of the customer |
{- "customerId": "100003",
- "customerBlocked": false,
- "createdDate": "2019-01-01T07:53:23.450961Z",
- "createdBy": "PLENIGO",
- "createdByType": "SYSTEM",
- "changedDate": "2019-01-01T07:53:23.450961Z",
- "changedBy": "PLENIGO",
- "changedByType": "SYSTEM",
- "items": [
- {
- "createdDate": "2019-01-01T07:53:23.450961Z",
- "createdBy": "PLENIGO",
- "createdByType": "SYSTEM",
- "changedDate": "2019-01-01T07:53:23.450961Z",
- "changedBy": "PLENIGO",
- "changedByType": "SYSTEM",
- "lifeTimeStart": "2019-01-01T07:53:23.450961Z",
- "lifeTimeEnd": "2020-01-01T07:53:23.450961Z",
- "accessTimeStart": "06:00:00",
- "accessTimeEnd": "18:00:00",
- "maxCacheDate": "2020-01-01T07:53:23.450961Z",
- "data": {
- "key": "value"
}, - "blocked": false,
- "productId": "P_TTA1E7173120881551",
- "plenigoOfferId": "O_TTA1E7173120881552",
- "plenigoProductId": "P_TTA1E7173120881551",
- "plenigoStepId": "S_TTA1E7173120881553",
- "accessRightUniqueId": "UNIQUE-ID",
- "accessRightData": {
- "key": "value"
}, - "itemType": "SUBSCRIPTION_ITEM",
- "itemId": "7212"
}
]
}Create a new access right item with the data provided for a customer identified by the passed customer id.
| customerId required | string unique id of the customer |
| createdDate | string or null <date-time> time the object was created with time notation as defined by RFC 3339, section 5.6, for example, 17:32:28 |
| changedDate | string or null <date-time> time the object was changed with time notation as defined by RFC 3339, section 5.6, for example, 17:32:28 |
| createdBy | string <= 100 characters id who created the object |
| createdByType | string (UserType) Enum: "API" "CUSTOMER" "MERCHANT" "IMPORTER" "SYSTEM" type of user who performs the action |
| changedBy | string <= 100 characters id who changed the object |
| changedByType | string (UserType) Enum: "API" "CUSTOMER" "MERCHANT" "IMPORTER" "SYSTEM" type of user who performs the action |
| lifeTimeStart | string or null <date-time> date the access right will start with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| lifeTimeEnd | string or null <date-time> date the access right will end with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| accessTimeStart | string or null <date-time> time the access right will start with time notation as defined by RFC 3339, section 5.6, for example, 17:32:28 |
| accessTimeEnd | string or null <date-time> time the access right will end with time notation as defined by RFC 3339, section 5.6, for example, 17:32:28 |
| pausedTimeStart | string or null <date-time> time the access right pause will start with time notation as defined by RFC 3339, section 5.6, for example, 17:32:28 |
| pausedTimeEnd | string or null <date-time> time the access right pause will end with time notation as defined by RFC 3339, section 5.6, for example, 17:32:28 |
| maxCacheDate | string or null <date-time> max cache date with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
object <= 20 properties Key must be a string with a maximum length of 20 characters. | |
| blocked | boolean flag indicating if access is blocked |
| activePartners | Array of strings active partners of the company |
| accessRightUniqueId required | string^[0-9\-a-zA-Z]{2,30}$ unique id of the access right this access right grants access to |
{- "lifeTimeStart": "2019-01-01T07:53:23.450961Z",
- "lifeTimeEnd": "2020-01-01T07:53:23.450961Z",
- "accessTimeStart": "06:00:00",
- "accessTimeEnd": "18:00:00",
- "maxCacheDate": "2020-01-01T07:53:23.450961Z",
- "data": {
- "key": "value"
}, - "blocked": false,
- "accessRightUniqueId": "newAccessRightUniqueId"
}{- "customerId": "100003",
- "customerBlocked": false,
- "createdDate": "2019-01-01T07:53:23.450961Z",
- "createdBy": "PLENIGO",
- "createdByType": "SYSTEM",
- "changedDate": "2019-01-01T07:53:23.450961Z",
- "changedBy": "PLENIGO",
- "changedByType": "SYSTEM",
- "items": [
- {
- "createdDate": "2019-01-01T07:53:23.450961Z",
- "createdBy": "PLENIGO",
- "createdByType": "SYSTEM",
- "changedDate": "2019-01-01T07:53:23.450961Z",
- "changedBy": "PLENIGO",
- "changedByType": "SYSTEM",
- "lifeTimeStart": "2019-01-01T07:53:23.450961Z",
- "lifeTimeEnd": "2020-01-01T07:53:23.450961Z",
- "accessTimeStart": "06:00:00",
- "accessTimeEnd": "18:00:00",
- "maxCacheDate": "2020-01-01T07:53:23.450961Z",
- "data": {
- "key": "value"
}, - "blocked": false,
- "productId": "P_TTA1E7173120881551",
- "plenigoOfferId": "O_TTA1E7173120881552",
- "plenigoProductId": "P_TTA1E7173120881551",
- "plenigoStepId": "S_TTA1E7173120881553",
- "accessRightUniqueId": "UNIQUE-ID",
- "accessRightData": {
- "key": "value"
}, - "itemType": "SUBSCRIPTION_ITEM",
- "itemId": "7212"
}
]
}Check if customer has a valid access right for one or multiple access rights identified by the provided access right unique ids.
| customerId required | string unique id of the customer |
| accessRightUniqueIds required | string comma separated ids of access right unique ids |
{- "customerId": "100003",
- "customerBlocked": false,
- "accessGranted": true,
- "items": [
- {
- "accessGranted": true,
- "createdDate": "2019-01-01T07:53:23.450961Z",
- "createdBy": "PLENIGO",
- "createdByType": "SYSTEM",
- "changedDate": "2019-01-01T07:53:23.450961Z",
- "changedBy": "PLENIGO",
- "changedByType": "SYSTEM",
- "lifeTimeStart": "2019-01-01T07:53:23.450961Z",
- "lifeTimeEnd": "2020-01-01T07:53:23.450961Z",
- "accessTimeStart": "06:00:00",
- "accessTimeEnd": "18:00:00",
- "maxCacheDate": "2020-01-01T07:53:23.450961Z",
- "data": {
- "key": "value"
}, - "blocked": false,
- "productId": "P_TTA1E7173120881551",
- "plenigoOfferId": "O_TTA1E7173120881552",
- "plenigoProductId": "P_TTA1E7173120881551",
- "plenigoStepId": "S_TTA1E7173120881553",
- "accessRightUniqueId": "UNIQUE-ID",
- "accessRightData": {
- "key": "value"
}, - "itemType": "SUBSCRIPTION_ITEM",
- "itemId": "7212"
}
]
}Updates an access right item with the data provided for a customer identified by the passed customer id.
| customerId required | string unique id of the customer |
| accessRightUniqueId required | string id of the access right item |
| createdDate | string or null <date-time> time the object was created with time notation as defined by RFC 3339, section 5.6, for example, 17:32:28 |
| changedDate | string or null <date-time> time the object was changed with time notation as defined by RFC 3339, section 5.6, for example, 17:32:28 |
| createdBy | string <= 100 characters id who created the object |
| createdByType | string (UserType) Enum: "API" "CUSTOMER" "MERCHANT" "IMPORTER" "SYSTEM" type of user who performs the action |
| changedBy | string <= 100 characters id who changed the object |
| changedByType | string (UserType) Enum: "API" "CUSTOMER" "MERCHANT" "IMPORTER" "SYSTEM" type of user who performs the action |
| lifeTimeStart | string or null <date-time> date the access right will start with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| lifeTimeEnd | string or null <date-time> date the access right will end with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| accessTimeStart | string or null <date-time> time the access right will start with time notation as defined by RFC 3339, section 5.6, for example, 17:32:28 |
| accessTimeEnd | string or null <date-time> time the access right will end with time notation as defined by RFC 3339, section 5.6, for example, 17:32:28 |
| pausedTimeStart | string or null <date-time> time the access right pause will start with time notation as defined by RFC 3339, section 5.6, for example, 17:32:28 |
| pausedTimeEnd | string or null <date-time> time the access right pause will end with time notation as defined by RFC 3339, section 5.6, for example, 17:32:28 |
| maxCacheDate | string or null <date-time> max cache date with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
object <= 20 properties Key must be a string with a maximum length of 20 characters. | |
| blocked | boolean flag indicating if access is blocked |
| activePartners | Array of strings active partners of the company |
{- "lifeTimeStart": "2019-01-01T07:53:23.450961Z",
- "lifeTimeEnd": "2020-01-01T07:53:23.450961Z",
- "accessTimeStart": "06:00:00",
- "accessTimeEnd": "18:00:00",
- "maxCacheDate": "2020-01-01T07:53:23.450961Z",
- "data": {
- "key": "value"
}, - "blocked": false
}{- "customerId": "100003",
- "customerBlocked": false,
- "createdDate": "2019-01-01T07:53:23.450961Z",
- "createdBy": "PLENIGO",
- "createdByType": "SYSTEM",
- "changedDate": "2019-01-01T07:53:23.450961Z",
- "changedBy": "PLENIGO",
- "changedByType": "SYSTEM",
- "items": [
- {
- "createdDate": "2019-01-01T07:53:23.450961Z",
- "createdBy": "PLENIGO",
- "createdByType": "SYSTEM",
- "changedDate": "2019-01-01T07:53:23.450961Z",
- "changedBy": "PLENIGO",
- "changedByType": "SYSTEM",
- "lifeTimeStart": "2019-01-01T07:53:23.450961Z",
- "lifeTimeEnd": "2020-01-01T07:53:23.450961Z",
- "accessTimeStart": "06:00:00",
- "accessTimeEnd": "18:00:00",
- "maxCacheDate": "2020-01-01T07:53:23.450961Z",
- "data": {
- "key": "value"
}, - "blocked": false,
- "productId": "P_TTA1E7173120881551",
- "plenigoOfferId": "O_TTA1E7173120881552",
- "plenigoProductId": "P_TTA1E7173120881551",
- "plenigoStepId": "S_TTA1E7173120881553",
- "accessRightUniqueId": "UNIQUE-ID",
- "accessRightData": {
- "key": "value"
}, - "itemType": "SUBSCRIPTION_ITEM",
- "itemId": "7212"
}
]
}This functionality verifies the log in data of a customer and executes the log in. The caller must decide if a username or email address is provided for login. If both are provided only the email address will be used.
| username | string <= 100 characters username of the customer |
string <= 100 characters email of the customer | |
| password required | string <= 100 characters password of the customer |
object (LoggingData) |
{- "username": "string",
- "email": "string",
- "password": "string",
- "loggingData": {
- "os": "string",
- "browser": "string",
- "source": "string",
- "sourceUrl": "string",
- "ipAddress": "string",
- "country": "st"
}
}{- "customerId": "100003",
- "status": "ACTIVATED"
}This functionality verifies the session transfer token and returns the customer id and customer status.
| transferToken required | string <= 50 characters transfer token |
{- "customerId": "100003",
- "status": "ACTIVATED"
}Search all access rights that correspond to the given search conditions.
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
| endingBefore | string <= 100 characters A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list. |
| sort | string <= 4 characters Enum: "ASC" "DESC" The sort of the search, if its desc it will revert to search for a lower startingAfter |
{- "items": [
- {
- "accessRightId": 2000,
- "title": "A new access right",
- "uniqueId": "accessRight",
- "description": "Access right",
- "additionalData": {
- "key": "value"
}
}
]
}Get all access rights for a customer identified by the passed customer id.
| customerId required | string unique id of the customer |
{- "customerId": "100003",
- "customerBlocked": false,
- "createdDate": "2019-01-01T07:53:23.450961Z",
- "createdBy": "PLENIGO",
- "createdByType": "SYSTEM",
- "changedDate": "2019-01-01T07:53:23.450961Z",
- "changedBy": "PLENIGO",
- "changedByType": "SYSTEM",
- "items": [
- {
- "createdDate": "2019-01-01T07:53:23.450961Z",
- "createdBy": "PLENIGO",
- "createdByType": "SYSTEM",
- "changedDate": "2019-01-01T07:53:23.450961Z",
- "changedBy": "PLENIGO",
- "changedByType": "SYSTEM",
- "lifeTimeStart": "2019-01-01T07:53:23.450961Z",
- "lifeTimeEnd": "2020-01-01T07:53:23.450961Z",
- "accessTimeStart": "06:00:00",
- "accessTimeEnd": "18:00:00",
- "maxCacheDate": "2020-01-01T07:53:23.450961Z",
- "data": {
- "key": "value"
}, - "blocked": false,
- "productId": "P_TTA1E7173120881551",
- "plenigoOfferId": "O_TTA1E7173120881552",
- "plenigoProductId": "P_TTA1E7173120881551",
- "plenigoStepId": "S_TTA1E7173120881553",
- "accessRightUniqueId": "UNIQUE-ID",
- "accessRightData": {
- "key": "value"
}, - "itemType": "SUBSCRIPTION_ITEM",
- "itemId": "7212"
}
]
}Create a new access right item with the data provided for a customer identified by the passed customer id.
| customerId required | string unique id of the customer |
| createdDate | string or null <date-time> time the object was created with time notation as defined by RFC 3339, section 5.6, for example, 17:32:28 |
| changedDate | string or null <date-time> time the object was changed with time notation as defined by RFC 3339, section 5.6, for example, 17:32:28 |
| createdBy | string <= 100 characters id who created the object |
| createdByType | string (UserType) Enum: "API" "CUSTOMER" "MERCHANT" "IMPORTER" "SYSTEM" type of user who performs the action |
| changedBy | string <= 100 characters id who changed the object |
| changedByType | string (UserType) Enum: "API" "CUSTOMER" "MERCHANT" "IMPORTER" "SYSTEM" type of user who performs the action |
| lifeTimeStart | string or null <date-time> date the access right will start with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| lifeTimeEnd | string or null <date-time> date the access right will end with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| accessTimeStart | string or null <date-time> time the access right will start with time notation as defined by RFC 3339, section 5.6, for example, 17:32:28 |
| accessTimeEnd | string or null <date-time> time the access right will end with time notation as defined by RFC 3339, section 5.6, for example, 17:32:28 |
| pausedTimeStart | string or null <date-time> time the access right pause will start with time notation as defined by RFC 3339, section 5.6, for example, 17:32:28 |
| pausedTimeEnd | string or null <date-time> time the access right pause will end with time notation as defined by RFC 3339, section 5.6, for example, 17:32:28 |
| maxCacheDate | string or null <date-time> max cache date with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
object <= 20 properties Key must be a string with a maximum length of 20 characters. | |
| blocked | boolean flag indicating if access is blocked |
| activePartners | Array of strings active partners of the company |
| accessRightUniqueId required | string^[0-9\-a-zA-Z]{2,30}$ unique id of the access right this access right grants access to |
{- "lifeTimeStart": "2019-01-01T07:53:23.450961Z",
- "lifeTimeEnd": "2020-01-01T07:53:23.450961Z",
- "accessTimeStart": "06:00:00",
- "accessTimeEnd": "18:00:00",
- "maxCacheDate": "2020-01-01T07:53:23.450961Z",
- "data": {
- "key": "value"
}, - "blocked": false,
- "accessRightUniqueId": "newAccessRightUniqueId"
}{- "customerId": "100003",
- "customerBlocked": false,
- "createdDate": "2019-01-01T07:53:23.450961Z",
- "createdBy": "PLENIGO",
- "createdByType": "SYSTEM",
- "changedDate": "2019-01-01T07:53:23.450961Z",
- "changedBy": "PLENIGO",
- "changedByType": "SYSTEM",
- "items": [
- {
- "createdDate": "2019-01-01T07:53:23.450961Z",
- "createdBy": "PLENIGO",
- "createdByType": "SYSTEM",
- "changedDate": "2019-01-01T07:53:23.450961Z",
- "changedBy": "PLENIGO",
- "changedByType": "SYSTEM",
- "lifeTimeStart": "2019-01-01T07:53:23.450961Z",
- "lifeTimeEnd": "2020-01-01T07:53:23.450961Z",
- "accessTimeStart": "06:00:00",
- "accessTimeEnd": "18:00:00",
- "maxCacheDate": "2020-01-01T07:53:23.450961Z",
- "data": {
- "key": "value"
}, - "blocked": false,
- "productId": "P_TTA1E7173120881551",
- "plenigoOfferId": "O_TTA1E7173120881552",
- "plenigoProductId": "P_TTA1E7173120881551",
- "plenigoStepId": "S_TTA1E7173120881553",
- "accessRightUniqueId": "UNIQUE-ID",
- "accessRightData": {
- "key": "value"
}, - "itemType": "SUBSCRIPTION_ITEM",
- "itemId": "7212"
}
]
}Check if customer has a valid access right for one or multiple access rights identified by the provided access right unique ids.
| customerId required | string unique id of the customer |
| accessRightUniqueIds required | string comma separated ids of access right unique ids |
{- "customerId": "100003",
- "customerBlocked": false,
- "accessGranted": true,
- "items": [
- {
- "accessGranted": true,
- "createdDate": "2019-01-01T07:53:23.450961Z",
- "createdBy": "PLENIGO",
- "createdByType": "SYSTEM",
- "changedDate": "2019-01-01T07:53:23.450961Z",
- "changedBy": "PLENIGO",
- "changedByType": "SYSTEM",
- "lifeTimeStart": "2019-01-01T07:53:23.450961Z",
- "lifeTimeEnd": "2020-01-01T07:53:23.450961Z",
- "accessTimeStart": "06:00:00",
- "accessTimeEnd": "18:00:00",
- "maxCacheDate": "2020-01-01T07:53:23.450961Z",
- "data": {
- "key": "value"
}, - "blocked": false,
- "productId": "P_TTA1E7173120881551",
- "plenigoOfferId": "O_TTA1E7173120881552",
- "plenigoProductId": "P_TTA1E7173120881551",
- "plenigoStepId": "S_TTA1E7173120881553",
- "accessRightUniqueId": "UNIQUE-ID",
- "accessRightData": {
- "key": "value"
}, - "itemType": "SUBSCRIPTION_ITEM",
- "itemId": "7212"
}
]
}Updates an access right item with the data provided for a customer identified by the passed customer id.
| customerId required | string unique id of the customer |
| accessRightUniqueId required | string id of the access right item |
| createdDate | string or null <date-time> time the object was created with time notation as defined by RFC 3339, section 5.6, for example, 17:32:28 |
| changedDate | string or null <date-time> time the object was changed with time notation as defined by RFC 3339, section 5.6, for example, 17:32:28 |
| createdBy | string <= 100 characters id who created the object |
| createdByType | string (UserType) Enum: "API" "CUSTOMER" "MERCHANT" "IMPORTER" "SYSTEM" type of user who performs the action |
| changedBy | string <= 100 characters id who changed the object |
| changedByType | string (UserType) Enum: "API" "CUSTOMER" "MERCHANT" "IMPORTER" "SYSTEM" type of user who performs the action |
| lifeTimeStart | string or null <date-time> date the access right will start with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| lifeTimeEnd | string or null <date-time> date the access right will end with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| accessTimeStart | string or null <date-time> time the access right will start with time notation as defined by RFC 3339, section 5.6, for example, 17:32:28 |
| accessTimeEnd | string or null <date-time> time the access right will end with time notation as defined by RFC 3339, section 5.6, for example, 17:32:28 |
| pausedTimeStart | string or null <date-time> time the access right pause will start with time notation as defined by RFC 3339, section 5.6, for example, 17:32:28 |
| pausedTimeEnd | string or null <date-time> time the access right pause will end with time notation as defined by RFC 3339, section 5.6, for example, 17:32:28 |
| maxCacheDate | string or null <date-time> max cache date with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
object <= 20 properties Key must be a string with a maximum length of 20 characters. | |
| blocked | boolean flag indicating if access is blocked |
| activePartners | Array of strings active partners of the company |
{- "lifeTimeStart": "2019-01-01T07:53:23.450961Z",
- "lifeTimeEnd": "2020-01-01T07:53:23.450961Z",
- "accessTimeStart": "06:00:00",
- "accessTimeEnd": "18:00:00",
- "maxCacheDate": "2020-01-01T07:53:23.450961Z",
- "data": {
- "key": "value"
}, - "blocked": false
}{- "customerId": "100003",
- "customerBlocked": false,
- "createdDate": "2019-01-01T07:53:23.450961Z",
- "createdBy": "PLENIGO",
- "createdByType": "SYSTEM",
- "changedDate": "2019-01-01T07:53:23.450961Z",
- "changedBy": "PLENIGO",
- "changedByType": "SYSTEM",
- "items": [
- {
- "createdDate": "2019-01-01T07:53:23.450961Z",
- "createdBy": "PLENIGO",
- "createdByType": "SYSTEM",
- "changedDate": "2019-01-01T07:53:23.450961Z",
- "changedBy": "PLENIGO",
- "changedByType": "SYSTEM",
- "lifeTimeStart": "2019-01-01T07:53:23.450961Z",
- "lifeTimeEnd": "2020-01-01T07:53:23.450961Z",
- "accessTimeStart": "06:00:00",
- "accessTimeEnd": "18:00:00",
- "maxCacheDate": "2020-01-01T07:53:23.450961Z",
- "data": {
- "key": "value"
}, - "blocked": false,
- "productId": "P_TTA1E7173120881551",
- "plenigoOfferId": "O_TTA1E7173120881552",
- "plenigoProductId": "P_TTA1E7173120881551",
- "plenigoStepId": "S_TTA1E7173120881553",
- "accessRightUniqueId": "UNIQUE-ID",
- "accessRightData": {
- "key": "value"
}, - "itemType": "SUBSCRIPTION_ITEM",
- "itemId": "7212"
}
]
}Search all Apple purchases that correspond to the given search conditions.
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
| endingBefore | string <= 100 characters A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list. |
| sort | string <= 4 characters Enum: "ASC" "DESC" The sort of the search, if its desc it will revert to search for a lower startingAfter |
| token | string app store token |
{- "items": [
- {
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "appleAppStorePurchaseId": 0,
- "purchaseDate": "2019-08-24T14:15:22Z",
- "token": "string",
- "valid": true,
- "appStoreOrderId": 0,
- "receipt": {
- "receiptType": "string",
- "adamID": 0,
- "appItemID": "string",
- "bundleID": "string",
- "applicationVersion": "string",
- "downloadID": 0,
- "versionExternalIdentifier": "string",
- "originalApplicationVersion": "string",
- "receiptCreationDate": "2019-08-24T14:15:22Z",
- "requestDate": "2019-08-24T14:15:22Z",
- "originalPurchaseDate": "2019-08-24T14:15:22Z",
- "items": [
- {
- "quantity": "string",
- "productId": "string",
- "transactionId": "string",
- "originalTransactionId": "string",
- "webOrderLineItemId": "string",
- "promotionalOfferId": "string",
- "subscriptionGroupIdentifier": "string",
- "isTrialPeriod": "string",
- "isInIntroOfferPeriod": "string",
- "isUpgraded": "string",
- "expiresDate": "2019-08-24T14:15:22Z",
- "purchaseDate": "2019-08-24T14:15:22Z",
- "originalPurchaseDate": "2019-08-24T14:15:22Z",
- "cancellationDate": "2019-08-24T14:15:22Z",
- "cancellationReason": "string"
}
]
}, - "purchaseData": {
- "transactions": [
- {
- "transactionID": "string",
- "originalTransactionId": "string",
- "webOrderLineItemId": "string",
- "bundleID": "string",
- "productID": "string",
- "subscriptionGroupIdentifier": "string",
- "purchaseDate": 0,
- "originalPurchaseDate": 0,
- "expiresDate": 0,
- "quantity": 0,
- "type": "string",
- "appAccountToken": "string",
- "inAppOwnershipType": "string",
- "signedDate": 0,
- "offerType": 0,
- "offerIdentifier": "string",
- "revocationDate": 0,
- "revocationReason": 0,
- "isUpgraded": true,
- "storefront": "string",
- "storefrontId": "string",
- "transactionReason": "string",
- "environment": "string",
- "price": 0,
- "currency": "string",
- "offerDiscountType": "string"
}
]
}
}
]
}Add an Apple app store purchase to the plenigo system and retrieve a token for further processing.
| appIdentifier | string <= 100 characters identifier of the application as defined in the plenigo backend to retrieve the according secret |
| receiptData | Array of strings [ 0 .. 100 ] items [ items <= 300000 characters ] |
| transactionIds | Array of strings [ 0 .. 100 ] items [ items <= 20000 characters ] |
{- "appIdentifier": "string",
- "receiptData": [
- "string"
], - "transactionIds": [
- "string"
]
}{- "customerId": "string",
- "token": "string",
- "hasOrders": true,
- "orders": [
- {
- "purchaseDate": "2019-08-24T14:15:22Z",
- "valid": true,
- "accessRightUniqueId": "string",
- "appStoreProductId": "string",
- "accessRights": [
- {
- "uniqueId": "string",
- "additionalData": {
- "property1": "string",
- "property2": "string"
}
}
]
}
]
}Get details for an Apple app store purchase.
| appleAppStorePurchaseId required | integer <int64> unique id of the purchase |
{- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "appleAppStorePurchaseId": 0,
- "purchaseDate": "2019-08-24T14:15:22Z",
- "token": "string",
- "valid": true,
- "appStoreOrderId": 0,
- "receipt": {
- "receiptType": "string",
- "adamID": 0,
- "appItemID": "string",
- "bundleID": "string",
- "applicationVersion": "string",
- "downloadID": 0,
- "versionExternalIdentifier": "string",
- "originalApplicationVersion": "string",
- "receiptCreationDate": "2019-08-24T14:15:22Z",
- "requestDate": "2019-08-24T14:15:22Z",
- "originalPurchaseDate": "2019-08-24T14:15:22Z",
- "items": [
- {
- "quantity": "string",
- "productId": "string",
- "transactionId": "string",
- "originalTransactionId": "string",
- "webOrderLineItemId": "string",
- "promotionalOfferId": "string",
- "subscriptionGroupIdentifier": "string",
- "isTrialPeriod": "string",
- "isInIntroOfferPeriod": "string",
- "isUpgraded": "string",
- "expiresDate": "2019-08-24T14:15:22Z",
- "purchaseDate": "2019-08-24T14:15:22Z",
- "originalPurchaseDate": "2019-08-24T14:15:22Z",
- "cancellationDate": "2019-08-24T14:15:22Z",
- "cancellationReason": "string"
}
]
}, - "purchaseData": {
- "transactions": [
- {
- "transactionID": "string",
- "originalTransactionId": "string",
- "webOrderLineItemId": "string",
- "bundleID": "string",
- "productID": "string",
- "subscriptionGroupIdentifier": "string",
- "purchaseDate": 0,
- "originalPurchaseDate": 0,
- "expiresDate": 0,
- "quantity": 0,
- "type": "string",
- "appAccountToken": "string",
- "inAppOwnershipType": "string",
- "signedDate": 0,
- "offerType": 0,
- "offerIdentifier": "string",
- "revocationDate": 0,
- "revocationReason": 0,
- "isUpgraded": true,
- "storefront": "string",
- "storefrontId": "string",
- "transactionReason": "string",
- "environment": "string",
- "price": 0,
- "currency": "string",
- "offerDiscountType": "string"
}
]
}
}Associate an Apple app store purchase with a customer. Only app store purchases that include actual orders can be associated.
| token required | string unique id of the purchase of an app store |
| customerId | string^[0-9]{1,18}$ id of the customer to associate purchase with |
{- "customerId": "string"
}{- "customerId": "string",
- "token": "string",
- "hasOrders": true,
- "orders": [
- {
- "purchaseDate": "2019-08-24T14:15:22Z",
- "valid": true,
- "accessRightUniqueId": "string",
- "appStoreProductId": "string",
- "accessRights": [
- {
- "uniqueId": "string",
- "additionalData": {
- "property1": "string",
- "property2": "string"
}
}
]
}
]
}Verify validity of Apple app store purchase.
| token required | string unique id of the purchase of an app store |
{- "customerId": "string",
- "token": "string",
- "hasOrders": true,
- "orders": [
- {
- "purchaseDate": "2019-08-24T14:15:22Z",
- "valid": true,
- "accessRightUniqueId": "string",
- "appStoreProductId": "string",
- "accessRights": [
- {
- "uniqueId": "string",
- "additionalData": {
- "property1": "string",
- "property2": "string"
}
}
]
}
]
}Search all Google Playstore purchases that correspond to the given search conditions.
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
| endingBefore | string <= 100 characters A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list. |
| sort | string <= 4 characters Enum: "ASC" "DESC" The sort of the search, if its desc it will revert to search for a lower startingAfter |
| token | string app store token |
{- "items": [
- {
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "googlePlayStorePurchaseId": 0,
- "purchaseDate": "2019-08-24T14:15:22Z",
- "token": "string",
- "packageName": "string",
- "productId": "string",
- "valid": true,
- "subscription": true,
- "purchaseToken": "string",
- "appStoreOrderId": 0,
- "subscriptionPurchase": {
- "autoRenewing": true,
- "autoResumeTimeMillis": "string",
- "cancelReason": 0,
- "cancelSurveyReason": 0,
- "userInputCancelReason": "string",
- "subscriptionEndDate": "2019-08-24T14:15:22Z",
- "countryCode": "string",
- "developerPayload": "string",
- "expiryTimeMillis": "string",
- "kind": "string",
- "linkedPurchaseToken": "string",
- "orderId": "string",
- "paymentState": 0,
- "priceAmountMicros": "string",
- "priceCurrencyCode": "string",
- "profileId": "string",
- "profileName": "string",
- "purchaseType": 0,
- "startTimeMillis": "string",
- "userCancellationTimeMillis": "string"
}, - "productPurchase": {
- "acknowledgementState": "string",
- "consumptionState": "string",
- "developerPayload": "string",
- "kind": "string",
- "orderId": "string",
- "purchaseState": "string",
- "purchaseTimeMillis": "string",
- "purchaseType": "string"
}
}
]
}Add a Google Playstore purchase to the plenigo system and retrieve a token for further processing.
| packageName | string <= 1000 characters package name of the application this purchase was done for (for example, 'com.some.thing'). |
Array of objects (GooglePlayStorePurchaseAdditionElement) [ 1 .. 100 ] items |
{- "packageName": "string",
- "receiptData": [
- {
- "productId": "string",
- "subscription": true,
- "purchaseToken": "string"
}
]
}{- "customerId": "string",
- "token": "string",
- "hasOrders": true,
- "orders": [
- {
- "purchaseDate": "2019-08-24T14:15:22Z",
- "valid": true,
- "accessRightUniqueId": "string",
- "appStoreProductId": "string",
- "accessRights": [
- {
- "uniqueId": "string",
- "additionalData": {
- "property1": "string",
- "property2": "string"
}
}
]
}
]
}Get details for a Google Playstore purchase.
| googlePlayStorePurchaseId required | integer <int64> unique id of the purchase |
{- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "googlePlayStorePurchaseId": 0,
- "purchaseDate": "2019-08-24T14:15:22Z",
- "token": "string",
- "packageName": "string",
- "productId": "string",
- "valid": true,
- "subscription": true,
- "purchaseToken": "string",
- "appStoreOrderId": 0,
- "subscriptionPurchase": {
- "autoRenewing": true,
- "autoResumeTimeMillis": "string",
- "cancelReason": 0,
- "cancelSurveyReason": 0,
- "userInputCancelReason": "string",
- "subscriptionEndDate": "2019-08-24T14:15:22Z",
- "countryCode": "string",
- "developerPayload": "string",
- "expiryTimeMillis": "string",
- "kind": "string",
- "linkedPurchaseToken": "string",
- "orderId": "string",
- "paymentState": 0,
- "priceAmountMicros": "string",
- "priceCurrencyCode": "string",
- "profileId": "string",
- "profileName": "string",
- "purchaseType": 0,
- "startTimeMillis": "string",
- "userCancellationTimeMillis": "string"
}, - "productPurchase": {
- "acknowledgementState": "string",
- "consumptionState": "string",
- "developerPayload": "string",
- "kind": "string",
- "orderId": "string",
- "purchaseState": "string",
- "purchaseTimeMillis": "string",
- "purchaseType": "string"
}
}Associate a Google Playstore purchase with a customer.
| token required | string unique id of the purchase of an app store |
| customerId | string^[0-9]{1,18}$ id of the customer to associate purchase with |
{- "customerId": "string"
}{- "customerId": "string",
- "token": "string",
- "hasOrders": true,
- "orders": [
- {
- "purchaseDate": "2019-08-24T14:15:22Z",
- "valid": true,
- "accessRightUniqueId": "string",
- "appStoreProductId": "string",
- "accessRights": [
- {
- "uniqueId": "string",
- "additionalData": {
- "property1": "string",
- "property2": "string"
}
}
]
}
]
}Verify validity of Google Playstore purchase.
| token required | string unique id of the purchase of an app store |
{- "customerId": "string",
- "token": "string",
- "hasOrders": true,
- "orders": [
- {
- "purchaseDate": "2019-08-24T14:15:22Z",
- "valid": true,
- "accessRightUniqueId": "string",
- "appStoreProductId": "string",
- "accessRights": [
- {
- "uniqueId": "string",
- "additionalData": {
- "property1": "string",
- "property2": "string"
}
}
]
}
]
}Search all app store orders that correspond to the given search conditions.
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
| endingBefore | string <= 100 characters A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list. |
| sort | string <= 4 characters Enum: "ASC" "DESC" The sort of the search, if its desc it will revert to search for a lower startingAfter |
{- "endingBeforeId": "string",
- "startingAfterId": "string",
- "items": [
- {
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "appStoreOrderId": 0,
- "orderDate": "2019-08-24T14:15:22Z",
- "customerId": "string",
- "storeType": "APPSTORE",
- "additionalStoreData": {
- "receiptType": "string",
- "adamID": 0,
- "appItemID": "string",
- "bundleID": "string",
- "applicationVersion": "string",
- "downloadID": 0,
- "versionExternalIdentifier": "string",
- "originalApplicationVersion": "string",
- "receiptCreationDate": "2019-08-24T14:15:22Z",
- "requestDate": "2019-08-24T14:15:22Z",
- "originalPurchaseDate": "2019-08-24T14:15:22Z",
- "items": [
- {
- "quantity": "string",
- "productId": "string",
- "transactionId": "string",
- "originalTransactionId": "string",
- "webOrderLineItemId": "string",
- "promotionalOfferId": "string",
- "subscriptionGroupIdentifier": "string",
- "isTrialPeriod": "string",
- "isInIntroOfferPeriod": "string",
- "isUpgraded": "string",
- "expiresDate": "2019-08-24T14:15:22Z",
- "purchaseDate": "2019-08-24T14:15:22Z",
- "originalPurchaseDate": "2019-08-24T14:15:22Z",
- "cancellationDate": "2019-08-24T14:15:22Z",
- "cancellationReason": "string"
}
]
}, - "items": [
- {
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "position": 0,
- "deliveryCustomerId": "string",
- "productId": "string",
- "appStoreSubscriptionId": 0,
- "accessRightUniqueId": "string",
- "additionalStoreItemData": {
- "quantity": "string",
- "productId": "string",
- "transactionId": "string",
- "originalTransactionId": "string",
- "webOrderLineItemId": "string",
- "promotionalOfferId": "string",
- "subscriptionGroupIdentifier": "string",
- "isTrialPeriod": "string",
- "isInIntroOfferPeriod": "string",
- "isUpgraded": "string",
- "expiresDate": "2019-08-24T14:15:22Z",
- "purchaseDate": "2019-08-24T14:15:22Z",
- "originalPurchaseDate": "2019-08-24T14:15:22Z",
- "cancellationDate": "2019-08-24T14:15:22Z",
- "cancellationReason": "string"
}
}
]
}
]
}Get details for an app store order.
| appStoreOrderId required | integer <int64> unique id of the app store order |
{- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "appStoreOrderId": 0,
- "orderDate": "2019-08-24T14:15:22Z",
- "customerId": "string",
- "storeType": "APPSTORE",
- "additionalStoreData": {
- "receiptType": "string",
- "adamID": 0,
- "appItemID": "string",
- "bundleID": "string",
- "applicationVersion": "string",
- "downloadID": 0,
- "versionExternalIdentifier": "string",
- "originalApplicationVersion": "string",
- "receiptCreationDate": "2019-08-24T14:15:22Z",
- "requestDate": "2019-08-24T14:15:22Z",
- "originalPurchaseDate": "2019-08-24T14:15:22Z",
- "items": [
- {
- "quantity": "string",
- "productId": "string",
- "transactionId": "string",
- "originalTransactionId": "string",
- "webOrderLineItemId": "string",
- "promotionalOfferId": "string",
- "subscriptionGroupIdentifier": "string",
- "isTrialPeriod": "string",
- "isInIntroOfferPeriod": "string",
- "isUpgraded": "string",
- "expiresDate": "2019-08-24T14:15:22Z",
- "purchaseDate": "2019-08-24T14:15:22Z",
- "originalPurchaseDate": "2019-08-24T14:15:22Z",
- "cancellationDate": "2019-08-24T14:15:22Z",
- "cancellationReason": "string"
}
]
}, - "items": [
- {
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "position": 0,
- "deliveryCustomerId": "string",
- "productId": "string",
- "appStoreSubscriptionId": 0,
- "accessRightUniqueId": "string",
- "additionalStoreItemData": {
- "quantity": "string",
- "productId": "string",
- "transactionId": "string",
- "originalTransactionId": "string",
- "webOrderLineItemId": "string",
- "promotionalOfferId": "string",
- "subscriptionGroupIdentifier": "string",
- "isTrialPeriod": "string",
- "isInIntroOfferPeriod": "string",
- "isUpgraded": "string",
- "expiresDate": "2019-08-24T14:15:22Z",
- "purchaseDate": "2019-08-24T14:15:22Z",
- "originalPurchaseDate": "2019-08-24T14:15:22Z",
- "cancellationDate": "2019-08-24T14:15:22Z",
- "cancellationReason": "string"
}
}
]
}Search all app store subscriptions that correspond to the given search conditions.
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
| endingBefore | string <= 100 characters A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list. |
| sort | string <= 4 characters Enum: "ASC" "DESC" The sort of the search, if its desc it will revert to search for a lower startingAfter |
{- "endingBeforeId": "string",
- "startingAfterId": "string",
- "items": [
- {
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "appStoreSubscriptionId": 0,
- "chainId": 0,
- "externalSystemId": "string",
- "customerId": "string",
- "startDate": "2019-08-24T14:15:22Z",
- "endDate": "2019-08-24T14:15:22Z",
- "cancellationDate": "2019-08-24T14:15:22Z",
- "status": "ACTIVE",
- "accessRightUniqueId": "string",
- "plenigoInAppProductId": "string"
}
]
}Get details for an app store subscription.
| appStoreSubscriptionId required | integer <int64> unique id of the app store subscription |
{- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "appStoreSubscriptionId": 0,
- "chainId": 0,
- "externalSystemId": "string",
- "customerId": "string",
- "startDate": "2019-08-24T14:15:22Z",
- "endDate": "2019-08-24T14:15:22Z",
- "cancellationDate": "2019-08-24T14:15:22Z",
- "status": "ACTIVE",
- "accessRightUniqueId": "string",
- "plenigoInAppProductId": "string"
}Executes a purchase for the product represented by the provided voucher code. Only products that are completely free and have no follow up periods that must be paid can be bought that way.
| customerId required | string^[0-9]{1,18}$ unique id of the customer the checkout is for |
| customerSession | string <= 10000 characters active customer session - if a customer id is provided the customer id overrules the session |
| invoiceAddressId | integer <int64> unique id of the invoice address to use |
| deliveryAddressId | integer <int64> unique id of the delivery address to use |
| customerIpAddress required | string <= 45 characters ip address of the customer |
| variantUniqueId | string^[0-9\-a-zA-Z]{2,30}$ unique id of the checkout variant to use |
object (AdditionalData) | |
| voucherCode required | string <= 20 characters voucher code to use |
| overwrittenProductId | string <= 20 characters add a custom product id during the voucher checkout - this is only allowed for a single offer with one single purchase in it |
{- "customerId": "10003",
- "customerIpAddress": "198.51.100.42",
- "voucherCode": "1234-5678-1234"
}{- "orderId": 0
}Search all customers that correspond to the given search conditions.
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
| endingBefore | string <= 100 characters A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list. |
| sort | string <= 4 characters Enum: "ASC" "DESC" The sort of the search, if its desc it will revert to search for a lower startingAfter |
| externalSystemId | string external system id defined by third party systems |
string <email> email to search for | |
| username | string username to search for |
| customerMark | string Value: "WBZ" customer mark |
{- "items": [
- {
- "customerId": "100003",
- "username": "wild_flower",
- "email": "wildflower@example.com",
- "invoiceEmail": "wildflower-invoices@example.com",
- "birthday": "2001-03-21",
- "language": "de",
- "mobileNumber": "+14155552671",
- "status": "ACTIVATED"
}
]
}Create a new customer with the data provided.
| username | string <= 100 characters selected username of the customer that is unique for all users |
| email required | string <email> <= 100 characters email address of the customer that is unique for all users. Required if pseudoMail is not provided |
| externalSystemId | string <= 100 characters external system id - can only be set if not set yet |
| salutation | string Enum: "DIVERSE" "MR" "MRS" "NONE" salutation to identify the correct designation of a customer |
| firstName | string <= 100 characters first name of the customer - first name and last name or company name are required |
| lastName | string <= 100 characters last name of the customer - first name and last name or company name are required |
| invoiceEmail | string <email> <= 100 characters email address of the customer where invoices should be sent to |
| language required | string = 2 characters language of the customer - two letter language code according to ISO 639-1 |
| mobileNumber | string <= 100 characters (^\+?[1-9]\d{1,14}$|^$) mobile number of the customer formatted as E.164 |
| birthday | string or null <date> birthday of the customer with full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-01 |
object (CustomerMiscellaneousData) | |
| pseudoEmail | boolean flag indicating that email should be a pseudo email |
| password | string <= 100 characters newly created or updated password of the customer |
| customerId | string^[0-9]{1,18}$ unique id of the customer |
| registrationSource | string <= 100 characters domain, website, app or other source of the customer registration |
| sendWelcomeMail | boolean flag indicating if welcome mail for customer should be sent |
Array of objects (CustomerAddressCreation) addresses that should be directly associated with the customer | |
object (CustomerData) <= 50 properties Key must be a string with a maximum length of 30 characters. |
{- "customerId": "100003",
- "username": "wild_flower",
- "email": "wildflower@example.com",
- "invoiceEmail": "wildflower-invoices@example.com",
- "birthday": "2001-03-21",
- "language": "de",
- "mobileNumber": "+14155552671",
- "status": "ACTIVATED",
- "addresses": [
- {
- "type": "INVOICE",
- "preferred": true,
- "customerId": "100003",
- "businessAddress": true,
- "salutation": "MR",
- "title": "Dr",
- "firstName": "John",
- "lastName": "Doe",
- "companyName": "ARAMARK Ltd.",
- "additionalCompanyInfo": "Subdivision of World Ltd.",
- "street": "Commercial Road",
- "streetNumber": "30",
- "additionalStreetInfo": "Level 5",
- "postcode": "PO1 1AA",
- "city": "Hampshire",
- "country": "GB",
- "vatNumber": "DE123456789"
}
], - "data": {
- "myCustomerId": "1234CustomerId"
}
}{- "customerId": "100003",
- "externalSystemId": "1748-E",
- "username": "wild_flower",
- "email": "wildflower@example.com",
- "salutation": "MR",
- "firstName": "John",
- "lastName": "Doe",
- "invoiceEmail": "wildflower-invoices@example.com",
- "birthday": "2001-03-21",
- "language": "de",
- "mobileNumber": "+14155552671",
- "status": "ACTIVATED",
- "changedDate": "2019-03-21T17:32:12Z",
- "registrationDate": "2019-03-21T17:32:12Z",
- "registrationSource": "www.example.com",
- "twoFactorEnabled": false,
- "addresses": [
- {
- "addressId": 10004,
- "type": "INVOICE",
- "preferred": true,
- "customerId": "100003",
- "businessAddress": true,
- "salutation": "MR",
- "title": "Dr",
- "firstName": "John",
- "lastName": "Doe",
- "companyName": "ARAMARK Ltd.",
- "additionalCompanyInfo": "Subdivision of World Ltd.",
- "street": "Commercial Road",
- "streetNumber": "30",
- "additionalStreetInfo": "Level 5",
- "postcode": "PO1 1AA",
- "city": "Hampshire",
- "country": "GB",
- "vatNumber": "DE123456789"
}
], - "data": {
- "myCustomerId": "1234CustomerId"
}
}Get customer that is identified by the passed customer id.
| customerId required | string unique id of the customer |
{- "customerId": "100003",
- "username": "wild_flower",
- "email": "wildflower@example.com",
- "invoiceEmail": "wildflower-invoices@example.com",
- "birthday": "2001-03-21",
- "language": "de",
- "mobileNumber": "+14155552671",
- "status": "ACTIVATED",
- "acceptedTerms": {
- "AEISLQ565BPITQ251O31": {
- "termId": 103300,
- "uniqueId": "V1.0",
- "acceptanceDate": "2020-03-21T17:32:12Z"
}
}
}Search all addresses that correspond to the given search conditions and belong to the customer identified by the customer id provided.
| customerId required | string unique id of the customer |
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
| endingBefore | string <= 100 characters A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list. |
| sort | string <= 4 characters Enum: "ASC" "DESC" The sort of the search, if its desc it will revert to search for a lower startingAfter |
{- "items": [
- {
- "addressId": 100001,
- "changedDate": "2019-03-21T17:32:12Z",
- "type": "INVOICE",
- "preferred": true,
- "customerId": "100003",
- "businessAddress": true,
- "salutation": "MR",
- "title": "Dr",
- "firstName": "John",
- "lastName": "Doe",
- "companyName": "ARAMARK Ltd.",
- "additionalCompanyInfo": "Subdivision of World Ltd.",
- "street": "Commercial Road",
- "streetNumber": "30",
- "additionalStreetInfo": "Level 5",
- "postcode": "PO1 1AA",
- "city": "Hampshire",
- "country": "GB",
- "vatNumber": "DE123456789"
}
]
}This functionality verifies the log in data of a customer and executes the log in. The caller must decide if a username or email address is provided for login. If both are provided only the email address will be used.
| username | string <= 100 characters username of the customer |
string <= 100 characters email of the customer | |
| password required | string <= 100 characters password of the customer |
object (LoggingData) |
{- "username": "string",
- "email": "string",
- "password": "string",
- "loggingData": {
- "os": "string",
- "browser": "string",
- "source": "string",
- "sourceUrl": "string",
- "ipAddress": "string",
- "country": "st"
}
}{- "customerId": "100003",
- "status": "ACTIVATED"
}This functionality verifies the session transfer token and returns the customer id and customer status.
| transferToken required | string <= 50 characters transfer token |
{- "customerId": "100003",
- "status": "ACTIVATED"
}Search all access rights that correspond to the given search conditions.
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
| endingBefore | string <= 100 characters A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list. |
| sort | string <= 4 characters Enum: "ASC" "DESC" The sort of the search, if its desc it will revert to search for a lower startingAfter |
{- "items": [
- {
- "accessRightId": 2000,
- "title": "A new access right",
- "uniqueId": "accessRight",
- "description": "Access right",
- "additionalData": {
- "key": "value"
}
}
]
}Create credit wallet.
| uniqueId required | string^[0-9\-a-zA-Z]{2,30}$ unique id of the wallet for identification |
| creditCount required | integer <int64> [ 1 .. 100000000 ] credit count to create wallet with |
| customerId required | string^[0-9]{1,18}$ unique id of the customer the credit wallet belongs to |
{- "customerId": "42",
- "uniqueId": "company-wallet",
- "creditCount": 5
}{- "customerId": "42",
- "customerCreditWalletId": 5800001,
- "uniqueId": "company-wallet",
- "title": "Wallet of a customer",
- "availableCreditCount": 5
}Search credit wallets that correspond to the given search conditions.
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
| endingBefore | string <= 100 characters A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list. |
| sort | string <= 4 characters Enum: "ASC" "DESC" The sort of the search, if its desc it will revert to search for a lower startingAfter |
{- "items": [
- {
- "customerId": "42",
- "customerCreditWalletId": 5800001,
- "uniqueId": "company-wallet",
- "title": "Wallet of a customer",
- "availableCreditCount": 5
}
]
}Get credit wallet uploads.
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
| endingBefore | string <= 100 characters A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list. |
| sort | string <= 4 characters Enum: "ASC" "DESC" The sort of the search, if its desc it will revert to search for a lower startingAfter |
{- "items": [
- {
- "customerId": "42",
- "creditUploadId": 6000001,
- "uploadDate": "2022-01-03T17:32:12Z",
- "uniqueId": "company-wallet",
- "creditsAdded": 5,
- "title": "Added by subscription",
- "itemType": "SUBSCRIPTION_ITEM",
- "itemId": "90300000"
}
]
}Get credit wallet usages.
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
| endingBefore | string <= 100 characters A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list. |
| sort | string <= 4 characters Enum: "ASC" "DESC" The sort of the search, if its desc it will revert to search for a lower startingAfter |
{- "items": [
- {
- "customerId": "42",
- "creditUsageId": 5900001,
- "usageDate": "2022-01-02T17:32:12Z",
- "uniqueId": "company-wallet",
- "creditsUsed": 2,
- "reason": "Usage of product one"
}
]
}Uploads a credit to a given credit wallet.
| customerId required | string^[0-9]{1,18}$ id of the customer the credit usage should be accounted to |
| uniqueId required | string^[0-9\-a-zA-Z]{2,30}$ unique id of the wallet to use |
| title required | string <= 100 characters title of upload |
| creditCount required | integer <int64> [ 1 .. 100000000 ] amount of credits to add |
{- "customerId": "42",
- "title": "New monthly credits",
- "uniqueId": "company-wallet",
- "creditCount": 2
}{- "customerId": "42",
- "customerCreditWalletId": 5800001,
- "uniqueId": "company-wallet",
- "title": "Wallet of a customer",
- "availableCreditCount": 5
}Uses a credit from a given credit wallet.
| customerId required | string^[0-9]{1,18}$ id of the customer the credit usage should be accounted to |
| uniqueId required | string^[0-9\-a-zA-Z]{2,30}$ unique id of the wallet to use |
| creditsUsed required | integer <int64> [ 1 .. 100000 ] amount of credits used |
| reason required | string <= 100 characters reason for credit usage |
| category | string <= 100 characters category for credit usage |
{- "customerId": "42",
- "uniqueId": "company-wallet",
- "creditsUsed": 2,
- "reason": "Usage of product one"
}{- "customerId": "42",
- "customerCreditWalletId": 5800001,
- "uniqueId": "company-wallet",
- "title": "Wallet of a customer",
- "availableCreditCount": 5
}Get customer credit wallets.
| customerId required | string unique id of the customer |
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
{- "items": [
- {
- "customerId": "42",
- "customerCreditWalletId": 5800001,
- "uniqueId": "company-wallet",
- "title": "Wallet of a customer",
- "availableCreditCount": 5
}
]
}Get credit wallet uploads.
| customerId required | string unique id of the customer |
| uniqueId required | string [ 2 .. 50 ] characters unique id of the wallet |
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
| endingBefore | string <= 100 characters A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list. |
| sort | string <= 4 characters Enum: "ASC" "DESC" The sort of the search, if its desc it will revert to search for a lower startingAfter |
{- "items": [
- {
- "customerId": "42",
- "creditUploadId": 6000001,
- "uploadDate": "2022-01-03T17:32:12Z",
- "uniqueId": "company-wallet",
- "creditsAdded": 5,
- "title": "Added by subscription",
- "itemType": "SUBSCRIPTION_ITEM",
- "itemId": "90300000"
}
]
}Get credit wallet usages.
| customerId required | string unique id of the customer |
| uniqueId required | string [ 2 .. 50 ] characters unique id of the wallet |
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
| endingBefore | string <= 100 characters A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list. |
| sort | string <= 4 characters Enum: "ASC" "DESC" The sort of the search, if its desc it will revert to search for a lower startingAfter |
{- "items": [
- {
- "customerId": "42",
- "creditUsageId": 5900001,
- "usageDate": "2022-01-02T17:32:12Z",
- "uniqueId": "company-wallet",
- "creditsUsed": 2,
- "reason": "Usage of product one"
}
]
}Get all access rights for a customer identified by the passed customer id.
| customerId required | string unique id of the customer |
{- "customerId": "100003",
- "customerBlocked": false,
- "createdDate": "2019-01-01T07:53:23.450961Z",
- "createdBy": "PLENIGO",
- "createdByType": "SYSTEM",
- "changedDate": "2019-01-01T07:53:23.450961Z",
- "changedBy": "PLENIGO",
- "changedByType": "SYSTEM",
- "items": [
- {
- "createdDate": "2019-01-01T07:53:23.450961Z",
- "createdBy": "PLENIGO",
- "createdByType": "SYSTEM",
- "changedDate": "2019-01-01T07:53:23.450961Z",
- "changedBy": "PLENIGO",
- "changedByType": "SYSTEM",
- "lifeTimeStart": "2019-01-01T07:53:23.450961Z",
- "lifeTimeEnd": "2020-01-01T07:53:23.450961Z",
- "accessTimeStart": "06:00:00",
- "accessTimeEnd": "18:00:00",
- "maxCacheDate": "2020-01-01T07:53:23.450961Z",
- "data": {
- "key": "value"
}, - "blocked": false,
- "productId": "P_TTA1E7173120881551",
- "plenigoOfferId": "O_TTA1E7173120881552",
- "plenigoProductId": "P_TTA1E7173120881551",
- "plenigoStepId": "S_TTA1E7173120881553",
- "accessRightUniqueId": "UNIQUE-ID",
- "accessRightData": {
- "key": "value"
}, - "itemType": "SUBSCRIPTION_ITEM",
- "itemId": "7212"
}
]
}Create a new access right item with the data provided for a customer identified by the passed customer id.
| customerId required | string unique id of the customer |
| createdDate | string or null <date-time> time the object was created with time notation as defined by RFC 3339, section 5.6, for example, 17:32:28 |
| changedDate | string or null <date-time> time the object was changed with time notation as defined by RFC 3339, section 5.6, for example, 17:32:28 |
| createdBy | string <= 100 characters id who created the object |
| createdByType | string (UserType) Enum: "API" "CUSTOMER" "MERCHANT" "IMPORTER" "SYSTEM" type of user who performs the action |
| changedBy | string <= 100 characters id who changed the object |
| changedByType | string (UserType) Enum: "API" "CUSTOMER" "MERCHANT" "IMPORTER" "SYSTEM" type of user who performs the action |
| lifeTimeStart | string or null <date-time> date the access right will start with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| lifeTimeEnd | string or null <date-time> date the access right will end with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| accessTimeStart | string or null <date-time> time the access right will start with time notation as defined by RFC 3339, section 5.6, for example, 17:32:28 |
| accessTimeEnd | string or null <date-time> time the access right will end with time notation as defined by RFC 3339, section 5.6, for example, 17:32:28 |
| pausedTimeStart | string or null <date-time> time the access right pause will start with time notation as defined by RFC 3339, section 5.6, for example, 17:32:28 |
| pausedTimeEnd | string or null <date-time> time the access right pause will end with time notation as defined by RFC 3339, section 5.6, for example, 17:32:28 |
| maxCacheDate | string or null <date-time> max cache date with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
object <= 20 properties Key must be a string with a maximum length of 20 characters. | |
| blocked | boolean flag indicating if access is blocked |
| activePartners | Array of strings active partners of the company |
| accessRightUniqueId required | string^[0-9\-a-zA-Z]{2,30}$ unique id of the access right this access right grants access to |
{- "lifeTimeStart": "2019-01-01T07:53:23.450961Z",
- "lifeTimeEnd": "2020-01-01T07:53:23.450961Z",
- "accessTimeStart": "06:00:00",
- "accessTimeEnd": "18:00:00",
- "maxCacheDate": "2020-01-01T07:53:23.450961Z",
- "data": {
- "key": "value"
}, - "blocked": false,
- "accessRightUniqueId": "newAccessRightUniqueId"
}{- "customerId": "100003",
- "customerBlocked": false,
- "createdDate": "2019-01-01T07:53:23.450961Z",
- "createdBy": "PLENIGO",
- "createdByType": "SYSTEM",
- "changedDate": "2019-01-01T07:53:23.450961Z",
- "changedBy": "PLENIGO",
- "changedByType": "SYSTEM",
- "items": [
- {
- "createdDate": "2019-01-01T07:53:23.450961Z",
- "createdBy": "PLENIGO",
- "createdByType": "SYSTEM",
- "changedDate": "2019-01-01T07:53:23.450961Z",
- "changedBy": "PLENIGO",
- "changedByType": "SYSTEM",
- "lifeTimeStart": "2019-01-01T07:53:23.450961Z",
- "lifeTimeEnd": "2020-01-01T07:53:23.450961Z",
- "accessTimeStart": "06:00:00",
- "accessTimeEnd": "18:00:00",
- "maxCacheDate": "2020-01-01T07:53:23.450961Z",
- "data": {
- "key": "value"
}, - "blocked": false,
- "productId": "P_TTA1E7173120881551",
- "plenigoOfferId": "O_TTA1E7173120881552",
- "plenigoProductId": "P_TTA1E7173120881551",
- "plenigoStepId": "S_TTA1E7173120881553",
- "accessRightUniqueId": "UNIQUE-ID",
- "accessRightData": {
- "key": "value"
}, - "itemType": "SUBSCRIPTION_ITEM",
- "itemId": "7212"
}
]
}Check if customer has a valid access right for one or multiple access rights identified by the provided access right unique ids.
| customerId required | string unique id of the customer |
| accessRightUniqueIds required | string comma separated ids of access right unique ids |
{- "customerId": "100003",
- "customerBlocked": false,
- "accessGranted": true,
- "items": [
- {
- "accessGranted": true,
- "createdDate": "2019-01-01T07:53:23.450961Z",
- "createdBy": "PLENIGO",
- "createdByType": "SYSTEM",
- "changedDate": "2019-01-01T07:53:23.450961Z",
- "changedBy": "PLENIGO",
- "changedByType": "SYSTEM",
- "lifeTimeStart": "2019-01-01T07:53:23.450961Z",
- "lifeTimeEnd": "2020-01-01T07:53:23.450961Z",
- "accessTimeStart": "06:00:00",
- "accessTimeEnd": "18:00:00",
- "maxCacheDate": "2020-01-01T07:53:23.450961Z",
- "data": {
- "key": "value"
}, - "blocked": false,
- "productId": "P_TTA1E7173120881551",
- "plenigoOfferId": "O_TTA1E7173120881552",
- "plenigoProductId": "P_TTA1E7173120881551",
- "plenigoStepId": "S_TTA1E7173120881553",
- "accessRightUniqueId": "UNIQUE-ID",
- "accessRightData": {
- "key": "value"
}, - "itemType": "SUBSCRIPTION_ITEM",
- "itemId": "7212"
}
]
}Updates an access right item with the data provided for a customer identified by the passed customer id.
| customerId required | string unique id of the customer |
| accessRightUniqueId required | string id of the access right item |
| createdDate | string or null <date-time> time the object was created with time notation as defined by RFC 3339, section 5.6, for example, 17:32:28 |
| changedDate | string or null <date-time> time the object was changed with time notation as defined by RFC 3339, section 5.6, for example, 17:32:28 |
| createdBy | string <= 100 characters id who created the object |
| createdByType | string (UserType) Enum: "API" "CUSTOMER" "MERCHANT" "IMPORTER" "SYSTEM" type of user who performs the action |
| changedBy | string <= 100 characters id who changed the object |
| changedByType | string (UserType) Enum: "API" "CUSTOMER" "MERCHANT" "IMPORTER" "SYSTEM" type of user who performs the action |
| lifeTimeStart | string or null <date-time> date the access right will start with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| lifeTimeEnd | string or null <date-time> date the access right will end with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| accessTimeStart | string or null <date-time> time the access right will start with time notation as defined by RFC 3339, section 5.6, for example, 17:32:28 |
| accessTimeEnd | string or null <date-time> time the access right will end with time notation as defined by RFC 3339, section 5.6, for example, 17:32:28 |
| pausedTimeStart | string or null <date-time> time the access right pause will start with time notation as defined by RFC 3339, section 5.6, for example, 17:32:28 |
| pausedTimeEnd | string or null <date-time> time the access right pause will end with time notation as defined by RFC 3339, section 5.6, for example, 17:32:28 |
| maxCacheDate | string or null <date-time> max cache date with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
object <= 20 properties Key must be a string with a maximum length of 20 characters. | |
| blocked | boolean flag indicating if access is blocked |
| activePartners | Array of strings active partners of the company |
{- "lifeTimeStart": "2019-01-01T07:53:23.450961Z",
- "lifeTimeEnd": "2020-01-01T07:53:23.450961Z",
- "accessTimeStart": "06:00:00",
- "accessTimeEnd": "18:00:00",
- "maxCacheDate": "2020-01-01T07:53:23.450961Z",
- "data": {
- "key": "value"
}, - "blocked": false
}{- "customerId": "100003",
- "customerBlocked": false,
- "createdDate": "2019-01-01T07:53:23.450961Z",
- "createdBy": "PLENIGO",
- "createdByType": "SYSTEM",
- "changedDate": "2019-01-01T07:53:23.450961Z",
- "changedBy": "PLENIGO",
- "changedByType": "SYSTEM",
- "items": [
- {
- "createdDate": "2019-01-01T07:53:23.450961Z",
- "createdBy": "PLENIGO",
- "createdByType": "SYSTEM",
- "changedDate": "2019-01-01T07:53:23.450961Z",
- "changedBy": "PLENIGO",
- "changedByType": "SYSTEM",
- "lifeTimeStart": "2019-01-01T07:53:23.450961Z",
- "lifeTimeEnd": "2020-01-01T07:53:23.450961Z",
- "accessTimeStart": "06:00:00",
- "accessTimeEnd": "18:00:00",
- "maxCacheDate": "2020-01-01T07:53:23.450961Z",
- "data": {
- "key": "value"
}, - "blocked": false,
- "productId": "P_TTA1E7173120881551",
- "plenigoOfferId": "O_TTA1E7173120881552",
- "plenigoProductId": "P_TTA1E7173120881551",
- "plenigoStepId": "S_TTA1E7173120881553",
- "accessRightUniqueId": "UNIQUE-ID",
- "accessRightData": {
- "key": "value"
}, - "itemType": "SUBSCRIPTION_ITEM",
- "itemId": "7212"
}
]
}Search all Apple purchases that correspond to the given search conditions.
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
| endingBefore | string <= 100 characters A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list. |
| sort | string <= 4 characters Enum: "ASC" "DESC" The sort of the search, if its desc it will revert to search for a lower startingAfter |
| token | string app store token |
{- "items": [
- {
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "appleAppStorePurchaseId": 0,
- "purchaseDate": "2019-08-24T14:15:22Z",
- "token": "string",
- "valid": true,
- "appStoreOrderId": 0,
- "receipt": {
- "receiptType": "string",
- "adamID": 0,
- "appItemID": "string",
- "bundleID": "string",
- "applicationVersion": "string",
- "downloadID": 0,
- "versionExternalIdentifier": "string",
- "originalApplicationVersion": "string",
- "receiptCreationDate": "2019-08-24T14:15:22Z",
- "requestDate": "2019-08-24T14:15:22Z",
- "originalPurchaseDate": "2019-08-24T14:15:22Z",
- "items": [
- {
- "quantity": "string",
- "productId": "string",
- "transactionId": "string",
- "originalTransactionId": "string",
- "webOrderLineItemId": "string",
- "promotionalOfferId": "string",
- "subscriptionGroupIdentifier": "string",
- "isTrialPeriod": "string",
- "isInIntroOfferPeriod": "string",
- "isUpgraded": "string",
- "expiresDate": "2019-08-24T14:15:22Z",
- "purchaseDate": "2019-08-24T14:15:22Z",
- "originalPurchaseDate": "2019-08-24T14:15:22Z",
- "cancellationDate": "2019-08-24T14:15:22Z",
- "cancellationReason": "string"
}
]
}, - "purchaseData": {
- "transactions": [
- {
- "transactionID": "string",
- "originalTransactionId": "string",
- "webOrderLineItemId": "string",
- "bundleID": "string",
- "productID": "string",
- "subscriptionGroupIdentifier": "string",
- "purchaseDate": 0,
- "originalPurchaseDate": 0,
- "expiresDate": 0,
- "quantity": 0,
- "type": "string",
- "appAccountToken": "string",
- "inAppOwnershipType": "string",
- "signedDate": 0,
- "offerType": 0,
- "offerIdentifier": "string",
- "revocationDate": 0,
- "revocationReason": 0,
- "isUpgraded": true,
- "storefront": "string",
- "storefrontId": "string",
- "transactionReason": "string",
- "environment": "string",
- "price": 0,
- "currency": "string",
- "offerDiscountType": "string"
}
]
}
}
]
}Add an Apple app store purchase to the plenigo system and retrieve a token for further processing.
| appIdentifier | string <= 100 characters identifier of the application as defined in the plenigo backend to retrieve the according secret |
| receiptData | Array of strings [ 0 .. 100 ] items [ items <= 300000 characters ] |
| transactionIds | Array of strings [ 0 .. 100 ] items [ items <= 20000 characters ] |
{- "appIdentifier": "string",
- "receiptData": [
- "string"
], - "transactionIds": [
- "string"
]
}{- "customerId": "string",
- "token": "string",
- "hasOrders": true,
- "orders": [
- {
- "purchaseDate": "2019-08-24T14:15:22Z",
- "valid": true,
- "accessRightUniqueId": "string",
- "appStoreProductId": "string",
- "accessRights": [
- {
- "uniqueId": "string",
- "additionalData": {
- "property1": "string",
- "property2": "string"
}
}
]
}
]
}Get details for an Apple app store purchase.
| appleAppStorePurchaseId required | integer <int64> unique id of the purchase |
{- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "appleAppStorePurchaseId": 0,
- "purchaseDate": "2019-08-24T14:15:22Z",
- "token": "string",
- "valid": true,
- "appStoreOrderId": 0,
- "receipt": {
- "receiptType": "string",
- "adamID": 0,
- "appItemID": "string",
- "bundleID": "string",
- "applicationVersion": "string",
- "downloadID": 0,
- "versionExternalIdentifier": "string",
- "originalApplicationVersion": "string",
- "receiptCreationDate": "2019-08-24T14:15:22Z",
- "requestDate": "2019-08-24T14:15:22Z",
- "originalPurchaseDate": "2019-08-24T14:15:22Z",
- "items": [
- {
- "quantity": "string",
- "productId": "string",
- "transactionId": "string",
- "originalTransactionId": "string",
- "webOrderLineItemId": "string",
- "promotionalOfferId": "string",
- "subscriptionGroupIdentifier": "string",
- "isTrialPeriod": "string",
- "isInIntroOfferPeriod": "string",
- "isUpgraded": "string",
- "expiresDate": "2019-08-24T14:15:22Z",
- "purchaseDate": "2019-08-24T14:15:22Z",
- "originalPurchaseDate": "2019-08-24T14:15:22Z",
- "cancellationDate": "2019-08-24T14:15:22Z",
- "cancellationReason": "string"
}
]
}, - "purchaseData": {
- "transactions": [
- {
- "transactionID": "string",
- "originalTransactionId": "string",
- "webOrderLineItemId": "string",
- "bundleID": "string",
- "productID": "string",
- "subscriptionGroupIdentifier": "string",
- "purchaseDate": 0,
- "originalPurchaseDate": 0,
- "expiresDate": 0,
- "quantity": 0,
- "type": "string",
- "appAccountToken": "string",
- "inAppOwnershipType": "string",
- "signedDate": 0,
- "offerType": 0,
- "offerIdentifier": "string",
- "revocationDate": 0,
- "revocationReason": 0,
- "isUpgraded": true,
- "storefront": "string",
- "storefrontId": "string",
- "transactionReason": "string",
- "environment": "string",
- "price": 0,
- "currency": "string",
- "offerDiscountType": "string"
}
]
}
}Associate an Apple app store purchase with a customer. Only app store purchases that include actual orders can be associated.
| token required | string unique id of the purchase of an app store |
| customerId | string^[0-9]{1,18}$ id of the customer to associate purchase with |
{- "customerId": "string"
}{- "customerId": "string",
- "token": "string",
- "hasOrders": true,
- "orders": [
- {
- "purchaseDate": "2019-08-24T14:15:22Z",
- "valid": true,
- "accessRightUniqueId": "string",
- "appStoreProductId": "string",
- "accessRights": [
- {
- "uniqueId": "string",
- "additionalData": {
- "property1": "string",
- "property2": "string"
}
}
]
}
]
}Verify validity of Apple app store purchase.
| token required | string unique id of the purchase of an app store |
{- "customerId": "string",
- "token": "string",
- "hasOrders": true,
- "orders": [
- {
- "purchaseDate": "2019-08-24T14:15:22Z",
- "valid": true,
- "accessRightUniqueId": "string",
- "appStoreProductId": "string",
- "accessRights": [
- {
- "uniqueId": "string",
- "additionalData": {
- "property1": "string",
- "property2": "string"
}
}
]
}
]
}Search all Google Playstore purchases that correspond to the given search conditions.
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
| endingBefore | string <= 100 characters A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list. |
| sort | string <= 4 characters Enum: "ASC" "DESC" The sort of the search, if its desc it will revert to search for a lower startingAfter |
| token | string app store token |
{- "items": [
- {
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "googlePlayStorePurchaseId": 0,
- "purchaseDate": "2019-08-24T14:15:22Z",
- "token": "string",
- "packageName": "string",
- "productId": "string",
- "valid": true,
- "subscription": true,
- "purchaseToken": "string",
- "appStoreOrderId": 0,
- "subscriptionPurchase": {
- "autoRenewing": true,
- "autoResumeTimeMillis": "string",
- "cancelReason": 0,
- "cancelSurveyReason": 0,
- "userInputCancelReason": "string",
- "subscriptionEndDate": "2019-08-24T14:15:22Z",
- "countryCode": "string",
- "developerPayload": "string",
- "expiryTimeMillis": "string",
- "kind": "string",
- "linkedPurchaseToken": "string",
- "orderId": "string",
- "paymentState": 0,
- "priceAmountMicros": "string",
- "priceCurrencyCode": "string",
- "profileId": "string",
- "profileName": "string",
- "purchaseType": 0,
- "startTimeMillis": "string",
- "userCancellationTimeMillis": "string"
}, - "productPurchase": {
- "acknowledgementState": "string",
- "consumptionState": "string",
- "developerPayload": "string",
- "kind": "string",
- "orderId": "string",
- "purchaseState": "string",
- "purchaseTimeMillis": "string",
- "purchaseType": "string"
}
}
]
}Add a Google Playstore purchase to the plenigo system and retrieve a token for further processing.
| packageName | string <= 1000 characters package name of the application this purchase was done for (for example, 'com.some.thing'). |
Array of objects (GooglePlayStorePurchaseAdditionElement) [ 1 .. 100 ] items |
{- "packageName": "string",
- "receiptData": [
- {
- "productId": "string",
- "subscription": true,
- "purchaseToken": "string"
}
]
}{- "customerId": "string",
- "token": "string",
- "hasOrders": true,
- "orders": [
- {
- "purchaseDate": "2019-08-24T14:15:22Z",
- "valid": true,
- "accessRightUniqueId": "string",
- "appStoreProductId": "string",
- "accessRights": [
- {
- "uniqueId": "string",
- "additionalData": {
- "property1": "string",
- "property2": "string"
}
}
]
}
]
}Get details for a Google Playstore purchase.
| googlePlayStorePurchaseId required | integer <int64> unique id of the purchase |
{- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "googlePlayStorePurchaseId": 0,
- "purchaseDate": "2019-08-24T14:15:22Z",
- "token": "string",
- "packageName": "string",
- "productId": "string",
- "valid": true,
- "subscription": true,
- "purchaseToken": "string",
- "appStoreOrderId": 0,
- "subscriptionPurchase": {
- "autoRenewing": true,
- "autoResumeTimeMillis": "string",
- "cancelReason": 0,
- "cancelSurveyReason": 0,
- "userInputCancelReason": "string",
- "subscriptionEndDate": "2019-08-24T14:15:22Z",
- "countryCode": "string",
- "developerPayload": "string",
- "expiryTimeMillis": "string",
- "kind": "string",
- "linkedPurchaseToken": "string",
- "orderId": "string",
- "paymentState": 0,
- "priceAmountMicros": "string",
- "priceCurrencyCode": "string",
- "profileId": "string",
- "profileName": "string",
- "purchaseType": 0,
- "startTimeMillis": "string",
- "userCancellationTimeMillis": "string"
}, - "productPurchase": {
- "acknowledgementState": "string",
- "consumptionState": "string",
- "developerPayload": "string",
- "kind": "string",
- "orderId": "string",
- "purchaseState": "string",
- "purchaseTimeMillis": "string",
- "purchaseType": "string"
}
}Associate a Google Playstore purchase with a customer.
| token required | string unique id of the purchase of an app store |
| customerId | string^[0-9]{1,18}$ id of the customer to associate purchase with |
{- "customerId": "string"
}{- "customerId": "string",
- "token": "string",
- "hasOrders": true,
- "orders": [
- {
- "purchaseDate": "2019-08-24T14:15:22Z",
- "valid": true,
- "accessRightUniqueId": "string",
- "appStoreProductId": "string",
- "accessRights": [
- {
- "uniqueId": "string",
- "additionalData": {
- "property1": "string",
- "property2": "string"
}
}
]
}
]
}Verify validity of Google Playstore purchase.
| token required | string unique id of the purchase of an app store |
{- "customerId": "string",
- "token": "string",
- "hasOrders": true,
- "orders": [
- {
- "purchaseDate": "2019-08-24T14:15:22Z",
- "valid": true,
- "accessRightUniqueId": "string",
- "appStoreProductId": "string",
- "accessRights": [
- {
- "uniqueId": "string",
- "additionalData": {
- "property1": "string",
- "property2": "string"
}
}
]
}
]
}Search all app store orders that correspond to the given search conditions.
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
| endingBefore | string <= 100 characters A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list. |
| sort | string <= 4 characters Enum: "ASC" "DESC" The sort of the search, if its desc it will revert to search for a lower startingAfter |
{- "endingBeforeId": "string",
- "startingAfterId": "string",
- "items": [
- {
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "appStoreOrderId": 0,
- "orderDate": "2019-08-24T14:15:22Z",
- "customerId": "string",
- "storeType": "APPSTORE",
- "additionalStoreData": {
- "receiptType": "string",
- "adamID": 0,
- "appItemID": "string",
- "bundleID": "string",
- "applicationVersion": "string",
- "downloadID": 0,
- "versionExternalIdentifier": "string",
- "originalApplicationVersion": "string",
- "receiptCreationDate": "2019-08-24T14:15:22Z",
- "requestDate": "2019-08-24T14:15:22Z",
- "originalPurchaseDate": "2019-08-24T14:15:22Z",
- "items": [
- {
- "quantity": "string",
- "productId": "string",
- "transactionId": "string",
- "originalTransactionId": "string",
- "webOrderLineItemId": "string",
- "promotionalOfferId": "string",
- "subscriptionGroupIdentifier": "string",
- "isTrialPeriod": "string",
- "isInIntroOfferPeriod": "string",
- "isUpgraded": "string",
- "expiresDate": "2019-08-24T14:15:22Z",
- "purchaseDate": "2019-08-24T14:15:22Z",
- "originalPurchaseDate": "2019-08-24T14:15:22Z",
- "cancellationDate": "2019-08-24T14:15:22Z",
- "cancellationReason": "string"
}
]
}, - "items": [
- {
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "position": 0,
- "deliveryCustomerId": "string",
- "productId": "string",
- "appStoreSubscriptionId": 0,
- "accessRightUniqueId": "string",
- "additionalStoreItemData": {
- "quantity": "string",
- "productId": "string",
- "transactionId": "string",
- "originalTransactionId": "string",
- "webOrderLineItemId": "string",
- "promotionalOfferId": "string",
- "subscriptionGroupIdentifier": "string",
- "isTrialPeriod": "string",
- "isInIntroOfferPeriod": "string",
- "isUpgraded": "string",
- "expiresDate": "2019-08-24T14:15:22Z",
- "purchaseDate": "2019-08-24T14:15:22Z",
- "originalPurchaseDate": "2019-08-24T14:15:22Z",
- "cancellationDate": "2019-08-24T14:15:22Z",
- "cancellationReason": "string"
}
}
]
}
]
}Get details for an app store order.
| appStoreOrderId required | integer <int64> unique id of the app store order |
{- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "appStoreOrderId": 0,
- "orderDate": "2019-08-24T14:15:22Z",
- "customerId": "string",
- "storeType": "APPSTORE",
- "additionalStoreData": {
- "receiptType": "string",
- "adamID": 0,
- "appItemID": "string",
- "bundleID": "string",
- "applicationVersion": "string",
- "downloadID": 0,
- "versionExternalIdentifier": "string",
- "originalApplicationVersion": "string",
- "receiptCreationDate": "2019-08-24T14:15:22Z",
- "requestDate": "2019-08-24T14:15:22Z",
- "originalPurchaseDate": "2019-08-24T14:15:22Z",
- "items": [
- {
- "quantity": "string",
- "productId": "string",
- "transactionId": "string",
- "originalTransactionId": "string",
- "webOrderLineItemId": "string",
- "promotionalOfferId": "string",
- "subscriptionGroupIdentifier": "string",
- "isTrialPeriod": "string",
- "isInIntroOfferPeriod": "string",
- "isUpgraded": "string",
- "expiresDate": "2019-08-24T14:15:22Z",
- "purchaseDate": "2019-08-24T14:15:22Z",
- "originalPurchaseDate": "2019-08-24T14:15:22Z",
- "cancellationDate": "2019-08-24T14:15:22Z",
- "cancellationReason": "string"
}
]
}, - "items": [
- {
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "position": 0,
- "deliveryCustomerId": "string",
- "productId": "string",
- "appStoreSubscriptionId": 0,
- "accessRightUniqueId": "string",
- "additionalStoreItemData": {
- "quantity": "string",
- "productId": "string",
- "transactionId": "string",
- "originalTransactionId": "string",
- "webOrderLineItemId": "string",
- "promotionalOfferId": "string",
- "subscriptionGroupIdentifier": "string",
- "isTrialPeriod": "string",
- "isInIntroOfferPeriod": "string",
- "isUpgraded": "string",
- "expiresDate": "2019-08-24T14:15:22Z",
- "purchaseDate": "2019-08-24T14:15:22Z",
- "originalPurchaseDate": "2019-08-24T14:15:22Z",
- "cancellationDate": "2019-08-24T14:15:22Z",
- "cancellationReason": "string"
}
}
]
}Search all app store subscriptions that correspond to the given search conditions.
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
| endingBefore | string <= 100 characters A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list. |
| sort | string <= 4 characters Enum: "ASC" "DESC" The sort of the search, if its desc it will revert to search for a lower startingAfter |
{- "endingBeforeId": "string",
- "startingAfterId": "string",
- "items": [
- {
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "appStoreSubscriptionId": 0,
- "chainId": 0,
- "externalSystemId": "string",
- "customerId": "string",
- "startDate": "2019-08-24T14:15:22Z",
- "endDate": "2019-08-24T14:15:22Z",
- "cancellationDate": "2019-08-24T14:15:22Z",
- "status": "ACTIVE",
- "accessRightUniqueId": "string",
- "plenigoInAppProductId": "string"
}
]
}Get details for an app store subscription.
| appStoreSubscriptionId required | integer <int64> unique id of the app store subscription |
{- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "appStoreSubscriptionId": 0,
- "chainId": 0,
- "externalSystemId": "string",
- "customerId": "string",
- "startDate": "2019-08-24T14:15:22Z",
- "endDate": "2019-08-24T14:15:22Z",
- "cancellationDate": "2019-08-24T14:15:22Z",
- "status": "ACTIVE",
- "accessRightUniqueId": "string",
- "plenigoInAppProductId": "string"
}Executes a purchase for the product represented by the provided voucher code. Only products that are completely free and have no follow up periods that must be paid can be bought that way.
| customerId required | string^[0-9]{1,18}$ unique id of the customer the checkout is for |
| customerSession | string <= 10000 characters active customer session - if a customer id is provided the customer id overrules the session |
| invoiceAddressId | integer <int64> unique id of the invoice address to use |
| deliveryAddressId | integer <int64> unique id of the delivery address to use |
| customerIpAddress required | string <= 45 characters ip address of the customer |
| variantUniqueId | string^[0-9\-a-zA-Z]{2,30}$ unique id of the checkout variant to use |
object (AdditionalData) | |
| voucherCode required | string <= 20 characters voucher code to use |
| overwrittenProductId | string <= 20 characters add a custom product id during the voucher checkout - this is only allowed for a single offer with one single purchase in it |
{- "customerId": "10003",
- "customerIpAddress": "198.51.100.42",
- "voucherCode": "1234-5678-1234"
}{- "orderId": 0
}Search all customers that correspond to the given search conditions.
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
| endingBefore | string <= 100 characters A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list. |
| sort | string <= 4 characters Enum: "ASC" "DESC" The sort of the search, if its desc it will revert to search for a lower startingAfter |
| externalSystemId | string external system id defined by third party systems |
string <email> email to search for | |
| username | string username to search for |
| customerMark | string Value: "WBZ" customer mark |
{- "items": [
- {
- "customerId": "100003",
- "username": "wild_flower",
- "email": "wildflower@example.com",
- "invoiceEmail": "wildflower-invoices@example.com",
- "birthday": "2001-03-21",
- "language": "de",
- "mobileNumber": "+14155552671",
- "status": "ACTIVATED"
}
]
}Create a new customer with the data provided.
| username | string <= 100 characters selected username of the customer that is unique for all users |
| email required | string <email> <= 100 characters email address of the customer that is unique for all users. Required if pseudoMail is not provided |
| externalSystemId | string <= 100 characters external system id - can only be set if not set yet |
| salutation | string Enum: "DIVERSE" "MR" "MRS" "NONE" salutation to identify the correct designation of a customer |
| firstName | string <= 100 characters first name of the customer - first name and last name or company name are required |
| lastName | string <= 100 characters last name of the customer - first name and last name or company name are required |
| invoiceEmail | string <email> <= 100 characters email address of the customer where invoices should be sent to |
| language required | string = 2 characters language of the customer - two letter language code according to ISO 639-1 |
| mobileNumber | string <= 100 characters (^\+?[1-9]\d{1,14}$|^$) mobile number of the customer formatted as E.164 |
| birthday | string or null <date> birthday of the customer with full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-01 |
object (CustomerMiscellaneousData) | |
| pseudoEmail | boolean flag indicating that email should be a pseudo email |
| password | string <= 100 characters newly created or updated password of the customer |
| customerId | string^[0-9]{1,18}$ unique id of the customer |
| registrationSource | string <= 100 characters domain, website, app or other source of the customer registration |
| sendWelcomeMail | boolean flag indicating if welcome mail for customer should be sent |
Array of objects (CustomerAddressCreation) addresses that should be directly associated with the customer | |
object (CustomerData) <= 50 properties Key must be a string with a maximum length of 30 characters. |
{- "customerId": "100003",
- "username": "wild_flower",
- "email": "wildflower@example.com",
- "invoiceEmail": "wildflower-invoices@example.com",
- "birthday": "2001-03-21",
- "language": "de",
- "mobileNumber": "+14155552671",
- "status": "ACTIVATED",
- "addresses": [
- {
- "type": "INVOICE",
- "preferred": true,
- "customerId": "100003",
- "businessAddress": true,
- "salutation": "MR",
- "title": "Dr",
- "firstName": "John",
- "lastName": "Doe",
- "companyName": "ARAMARK Ltd.",
- "additionalCompanyInfo": "Subdivision of World Ltd.",
- "street": "Commercial Road",
- "streetNumber": "30",
- "additionalStreetInfo": "Level 5",
- "postcode": "PO1 1AA",
- "city": "Hampshire",
- "country": "GB",
- "vatNumber": "DE123456789"
}
], - "data": {
- "myCustomerId": "1234CustomerId"
}
}{- "customerId": "100003",
- "externalSystemId": "1748-E",
- "username": "wild_flower",
- "email": "wildflower@example.com",
- "salutation": "MR",
- "firstName": "John",
- "lastName": "Doe",
- "invoiceEmail": "wildflower-invoices@example.com",
- "birthday": "2001-03-21",
- "language": "de",
- "mobileNumber": "+14155552671",
- "status": "ACTIVATED",
- "changedDate": "2019-03-21T17:32:12Z",
- "registrationDate": "2019-03-21T17:32:12Z",
- "registrationSource": "www.example.com",
- "twoFactorEnabled": false,
- "addresses": [
- {
- "addressId": 10004,
- "type": "INVOICE",
- "preferred": true,
- "customerId": "100003",
- "businessAddress": true,
- "salutation": "MR",
- "title": "Dr",
- "firstName": "John",
- "lastName": "Doe",
- "companyName": "ARAMARK Ltd.",
- "additionalCompanyInfo": "Subdivision of World Ltd.",
- "street": "Commercial Road",
- "streetNumber": "30",
- "additionalStreetInfo": "Level 5",
- "postcode": "PO1 1AA",
- "city": "Hampshire",
- "country": "GB",
- "vatNumber": "DE123456789"
}
], - "data": {
- "myCustomerId": "1234CustomerId"
}
}This functionality verifies the log in data of a customer and executes the log in. The caller must decide if a username or email address is provided for login. If both are provided only the email address will be used.
| username | string <= 100 characters username of the customer |
string <= 100 characters email of the customer | |
| password required | string <= 100 characters password of the customer |
object (LoggingData) |
{- "username": "string",
- "email": "string",
- "password": "string",
- "loggingData": {
- "os": "string",
- "browser": "string",
- "source": "string",
- "sourceUrl": "string",
- "ipAddress": "string",
- "country": "st"
}
}{- "customerId": "100003",
- "status": "ACTIVATED"
}This functionality verifies the session transfer token and returns the customer id and customer status.
| transferToken required | string <= 50 characters transfer token |
{- "customerId": "100003",
- "status": "ACTIVATED"
}Search all access rights that correspond to the given search conditions.
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
| endingBefore | string <= 100 characters A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list. |
| sort | string <= 4 characters Enum: "ASC" "DESC" The sort of the search, if its desc it will revert to search for a lower startingAfter |
{- "items": [
- {
- "accessRightId": 2000,
- "title": "A new access right",
- "uniqueId": "accessRight",
- "description": "Access right",
- "additionalData": {
- "key": "value"
}
}
]
}Create credit wallet.
| uniqueId required | string^[0-9\-a-zA-Z]{2,30}$ unique id of the wallet for identification |
| creditCount required | integer <int64> [ 1 .. 100000000 ] credit count to create wallet with |
| customerId required | string^[0-9]{1,18}$ unique id of the customer the credit wallet belongs to |
{- "customerId": "42",
- "uniqueId": "company-wallet",
- "creditCount": 5
}{- "customerId": "42",
- "customerCreditWalletId": 5800001,
- "uniqueId": "company-wallet",
- "title": "Wallet of a customer",
- "availableCreditCount": 5
}Search credit wallets that correspond to the given search conditions.
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
| endingBefore | string <= 100 characters A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list. |
| sort | string <= 4 characters Enum: "ASC" "DESC" The sort of the search, if its desc it will revert to search for a lower startingAfter |
{- "items": [
- {
- "customerId": "42",
- "customerCreditWalletId": 5800001,
- "uniqueId": "company-wallet",
- "title": "Wallet of a customer",
- "availableCreditCount": 5
}
]
}Get credit wallet uploads.
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
| endingBefore | string <= 100 characters A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list. |
| sort | string <= 4 characters Enum: "ASC" "DESC" The sort of the search, if its desc it will revert to search for a lower startingAfter |
{- "items": [
- {
- "customerId": "42",
- "creditUploadId": 6000001,
- "uploadDate": "2022-01-03T17:32:12Z",
- "uniqueId": "company-wallet",
- "creditsAdded": 5,
- "title": "Added by subscription",
- "itemType": "SUBSCRIPTION_ITEM",
- "itemId": "90300000"
}
]
}Get credit wallet usages.
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
| endingBefore | string <= 100 characters A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list. |
| sort | string <= 4 characters Enum: "ASC" "DESC" The sort of the search, if its desc it will revert to search for a lower startingAfter |
{- "items": [
- {
- "customerId": "42",
- "creditUsageId": 5900001,
- "usageDate": "2022-01-02T17:32:12Z",
- "uniqueId": "company-wallet",
- "creditsUsed": 2,
- "reason": "Usage of product one"
}
]
}Uploads a credit to a given credit wallet.
| customerId required | string^[0-9]{1,18}$ id of the customer the credit usage should be accounted to |
| uniqueId required | string^[0-9\-a-zA-Z]{2,30}$ unique id of the wallet to use |
| title required | string <= 100 characters title of upload |
| creditCount required | integer <int64> [ 1 .. 100000000 ] amount of credits to add |
{- "customerId": "42",
- "title": "New monthly credits",
- "uniqueId": "company-wallet",
- "creditCount": 2
}{- "customerId": "42",
- "customerCreditWalletId": 5800001,
- "uniqueId": "company-wallet",
- "title": "Wallet of a customer",
- "availableCreditCount": 5
}Uses a credit from a given credit wallet.
| customerId required | string^[0-9]{1,18}$ id of the customer the credit usage should be accounted to |
| uniqueId required | string^[0-9\-a-zA-Z]{2,30}$ unique id of the wallet to use |
| creditsUsed required | integer <int64> [ 1 .. 100000 ] amount of credits used |
| reason required | string <= 100 characters reason for credit usage |
| category | string <= 100 characters category for credit usage |
{- "customerId": "42",
- "uniqueId": "company-wallet",
- "creditsUsed": 2,
- "reason": "Usage of product one"
}{- "customerId": "42",
- "customerCreditWalletId": 5800001,
- "uniqueId": "company-wallet",
- "title": "Wallet of a customer",
- "availableCreditCount": 5
}Get customer credit wallets.
| customerId required | string unique id of the customer |
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
{- "items": [
- {
- "customerId": "42",
- "customerCreditWalletId": 5800001,
- "uniqueId": "company-wallet",
- "title": "Wallet of a customer",
- "availableCreditCount": 5
}
]
}Get credit wallet uploads.
| customerId required | string unique id of the customer |
| uniqueId required | string [ 2 .. 50 ] characters unique id of the wallet |
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
| endingBefore | string <= 100 characters A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list. |
| sort | string <= 4 characters Enum: "ASC" "DESC" The sort of the search, if its desc it will revert to search for a lower startingAfter |
{- "items": [
- {
- "customerId": "42",
- "creditUploadId": 6000001,
- "uploadDate": "2022-01-03T17:32:12Z",
- "uniqueId": "company-wallet",
- "creditsAdded": 5,
- "title": "Added by subscription",
- "itemType": "SUBSCRIPTION_ITEM",
- "itemId": "90300000"
}
]
}Get credit wallet usages.
| customerId required | string unique id of the customer |
| uniqueId required | string [ 2 .. 50 ] characters unique id of the wallet |
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
| endingBefore | string <= 100 characters A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list. |
| sort | string <= 4 characters Enum: "ASC" "DESC" The sort of the search, if its desc it will revert to search for a lower startingAfter |
{- "items": [
- {
- "customerId": "42",
- "creditUsageId": 5900001,
- "usageDate": "2022-01-02T17:32:12Z",
- "uniqueId": "company-wallet",
- "creditsUsed": 2,
- "reason": "Usage of product one"
}
]
}Search all access rights that correspond to the given search conditions.
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
| endingBefore | string <= 100 characters A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list. |
| sort | string <= 4 characters Enum: "ASC" "DESC" The sort of the search, if its desc it will revert to search for a lower startingAfter |
{- "startingAfterId": "100002",
- "items": [
- {
- "customerId": "100003",
- "createdDate": "2019-01-01T07:53:23.450961Z",
- "createdBy": "PLENIGO",
- "createdByType": "SYSTEM",
- "changedDate": "2019-01-01T07:53:23.450961Z",
- "changedBy": "PLENIGO",
- "changedByType": "SYSTEM",
- "items": [
- {
- "createdDate": "2019-01-01T07:53:23.450961Z",
- "createdBy": "PLENIGO",
- "createdByType": "SYSTEM",
- "changedDate": "2019-01-01T07:53:23.450961Z",
- "changedBy": "PLENIGO",
- "changedByType": "SYSTEM",
- "lifeTimeStart": "2019-01-01T07:53:23.450961Z",
- "lifeTimeEnd": "2020-01-01T07:53:23.450961Z",
- "accessTimeStart": "06:00:00",
- "accessTimeEnd": "18:00:00",
- "maxCacheDate": "2020-01-01T07:53:23.450961Z",
- "data": {
- "key": "value"
}, - "blocked": false,
- "productId": "P_TTA1E7173120881551",
- "plenigoOfferId": "O_TTA1E7173120881552",
- "plenigoProductId": "P_TTA1E7173120881551",
- "plenigoStepId": "S_TTA1E7173120881553",
- "accessRightUniqueId": "UNIQUE-ID",
- "accessRightData": {
- "key": "value"
}, - "itemType": "SUBSCRIPTION_ITEM",
- "itemId": "7212"
}
]
}
]
}Get all access rights for a customer identified by the passed customer id.
| customerId required | string unique id of the customer |
{- "customerId": "100003",
- "customerBlocked": false,
- "createdDate": "2019-01-01T07:53:23.450961Z",
- "createdBy": "PLENIGO",
- "createdByType": "SYSTEM",
- "changedDate": "2019-01-01T07:53:23.450961Z",
- "changedBy": "PLENIGO",
- "changedByType": "SYSTEM",
- "items": [
- {
- "createdDate": "2019-01-01T07:53:23.450961Z",
- "createdBy": "PLENIGO",
- "createdByType": "SYSTEM",
- "changedDate": "2019-01-01T07:53:23.450961Z",
- "changedBy": "PLENIGO",
- "changedByType": "SYSTEM",
- "lifeTimeStart": "2019-01-01T07:53:23.450961Z",
- "lifeTimeEnd": "2020-01-01T07:53:23.450961Z",
- "accessTimeStart": "06:00:00",
- "accessTimeEnd": "18:00:00",
- "maxCacheDate": "2020-01-01T07:53:23.450961Z",
- "data": {
- "key": "value"
}, - "blocked": false,
- "productId": "P_TTA1E7173120881551",
- "plenigoOfferId": "O_TTA1E7173120881552",
- "plenigoProductId": "P_TTA1E7173120881551",
- "plenigoStepId": "S_TTA1E7173120881553",
- "accessRightUniqueId": "UNIQUE-ID",
- "accessRightData": {
- "key": "value"
}, - "itemType": "SUBSCRIPTION_ITEM",
- "itemId": "7212"
}
]
}Create a new access right item with the data provided for a customer identified by the passed customer id.
| customerId required | string unique id of the customer |
| createdDate | string or null <date-time> time the object was created with time notation as defined by RFC 3339, section 5.6, for example, 17:32:28 |
| changedDate | string or null <date-time> time the object was changed with time notation as defined by RFC 3339, section 5.6, for example, 17:32:28 |
| createdBy | string <= 100 characters id who created the object |
| createdByType | string (UserType) Enum: "API" "CUSTOMER" "MERCHANT" "IMPORTER" "SYSTEM" type of user who performs the action |
| changedBy | string <= 100 characters id who changed the object |
| changedByType | string (UserType) Enum: "API" "CUSTOMER" "MERCHANT" "IMPORTER" "SYSTEM" type of user who performs the action |
| lifeTimeStart | string or null <date-time> date the access right will start with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| lifeTimeEnd | string or null <date-time> date the access right will end with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| accessTimeStart | string or null <date-time> time the access right will start with time notation as defined by RFC 3339, section 5.6, for example, 17:32:28 |
| accessTimeEnd | string or null <date-time> time the access right will end with time notation as defined by RFC 3339, section 5.6, for example, 17:32:28 |
| pausedTimeStart | string or null <date-time> time the access right pause will start with time notation as defined by RFC 3339, section 5.6, for example, 17:32:28 |
| pausedTimeEnd | string or null <date-time> time the access right pause will end with time notation as defined by RFC 3339, section 5.6, for example, 17:32:28 |
| maxCacheDate | string or null <date-time> max cache date with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
object <= 20 properties Key must be a string with a maximum length of 20 characters. | |
| blocked | boolean flag indicating if access is blocked |
| activePartners | Array of strings active partners of the company |
| accessRightUniqueId required | string^[0-9\-a-zA-Z]{2,30}$ unique id of the access right this access right grants access to |
{- "lifeTimeStart": "2019-01-01T07:53:23.450961Z",
- "lifeTimeEnd": "2020-01-01T07:53:23.450961Z",
- "accessTimeStart": "06:00:00",
- "accessTimeEnd": "18:00:00",
- "maxCacheDate": "2020-01-01T07:53:23.450961Z",
- "data": {
- "key": "value"
}, - "blocked": false,
- "accessRightUniqueId": "newAccessRightUniqueId"
}{- "customerId": "100003",
- "customerBlocked": false,
- "createdDate": "2019-01-01T07:53:23.450961Z",
- "createdBy": "PLENIGO",
- "createdByType": "SYSTEM",
- "changedDate": "2019-01-01T07:53:23.450961Z",
- "changedBy": "PLENIGO",
- "changedByType": "SYSTEM",
- "items": [
- {
- "createdDate": "2019-01-01T07:53:23.450961Z",
- "createdBy": "PLENIGO",
- "createdByType": "SYSTEM",
- "changedDate": "2019-01-01T07:53:23.450961Z",
- "changedBy": "PLENIGO",
- "changedByType": "SYSTEM",
- "lifeTimeStart": "2019-01-01T07:53:23.450961Z",
- "lifeTimeEnd": "2020-01-01T07:53:23.450961Z",
- "accessTimeStart": "06:00:00",
- "accessTimeEnd": "18:00:00",
- "maxCacheDate": "2020-01-01T07:53:23.450961Z",
- "data": {
- "key": "value"
}, - "blocked": false,
- "productId": "P_TTA1E7173120881551",
- "plenigoOfferId": "O_TTA1E7173120881552",
- "plenigoProductId": "P_TTA1E7173120881551",
- "plenigoStepId": "S_TTA1E7173120881553",
- "accessRightUniqueId": "UNIQUE-ID",
- "accessRightData": {
- "key": "value"
}, - "itemType": "SUBSCRIPTION_ITEM",
- "itemId": "7212"
}
]
}Check if customer has a valid access right for one or multiple access rights identified by the provided access right unique ids.
| customerId required | string unique id of the customer |
| accessRightUniqueIds required | string comma separated ids of access right unique ids |
{- "customerId": "100003",
- "customerBlocked": false,
- "accessGranted": true,
- "items": [
- {
- "accessGranted": true,
- "createdDate": "2019-01-01T07:53:23.450961Z",
- "createdBy": "PLENIGO",
- "createdByType": "SYSTEM",
- "changedDate": "2019-01-01T07:53:23.450961Z",
- "changedBy": "PLENIGO",
- "changedByType": "SYSTEM",
- "lifeTimeStart": "2019-01-01T07:53:23.450961Z",
- "lifeTimeEnd": "2020-01-01T07:53:23.450961Z",
- "accessTimeStart": "06:00:00",
- "accessTimeEnd": "18:00:00",
- "maxCacheDate": "2020-01-01T07:53:23.450961Z",
- "data": {
- "key": "value"
}, - "blocked": false,
- "productId": "P_TTA1E7173120881551",
- "plenigoOfferId": "O_TTA1E7173120881552",
- "plenigoProductId": "P_TTA1E7173120881551",
- "plenigoStepId": "S_TTA1E7173120881553",
- "accessRightUniqueId": "UNIQUE-ID",
- "accessRightData": {
- "key": "value"
}, - "itemType": "SUBSCRIPTION_ITEM",
- "itemId": "7212"
}
]
}Updates an access right item with the data provided for a customer identified by the passed customer id.
| customerId required | string unique id of the customer |
| accessRightUniqueId required | string id of the access right item |
| createdDate | string or null <date-time> time the object was created with time notation as defined by RFC 3339, section 5.6, for example, 17:32:28 |
| changedDate | string or null <date-time> time the object was changed with time notation as defined by RFC 3339, section 5.6, for example, 17:32:28 |
| createdBy | string <= 100 characters id who created the object |
| createdByType | string (UserType) Enum: "API" "CUSTOMER" "MERCHANT" "IMPORTER" "SYSTEM" type of user who performs the action |
| changedBy | string <= 100 characters id who changed the object |
| changedByType | string (UserType) Enum: "API" "CUSTOMER" "MERCHANT" "IMPORTER" "SYSTEM" type of user who performs the action |
| lifeTimeStart | string or null <date-time> date the access right will start with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| lifeTimeEnd | string or null <date-time> date the access right will end with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| accessTimeStart | string or null <date-time> time the access right will start with time notation as defined by RFC 3339, section 5.6, for example, 17:32:28 |
| accessTimeEnd | string or null <date-time> time the access right will end with time notation as defined by RFC 3339, section 5.6, for example, 17:32:28 |
| pausedTimeStart | string or null <date-time> time the access right pause will start with time notation as defined by RFC 3339, section 5.6, for example, 17:32:28 |
| pausedTimeEnd | string or null <date-time> time the access right pause will end with time notation as defined by RFC 3339, section 5.6, for example, 17:32:28 |
| maxCacheDate | string or null <date-time> max cache date with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
object <= 20 properties Key must be a string with a maximum length of 20 characters. | |
| blocked | boolean flag indicating if access is blocked |
| activePartners | Array of strings active partners of the company |
{- "lifeTimeStart": "2019-01-01T07:53:23.450961Z",
- "lifeTimeEnd": "2020-01-01T07:53:23.450961Z",
- "accessTimeStart": "06:00:00",
- "accessTimeEnd": "18:00:00",
- "maxCacheDate": "2020-01-01T07:53:23.450961Z",
- "data": {
- "key": "value"
}, - "blocked": false
}{- "customerId": "100003",
- "customerBlocked": false,
- "createdDate": "2019-01-01T07:53:23.450961Z",
- "createdBy": "PLENIGO",
- "createdByType": "SYSTEM",
- "changedDate": "2019-01-01T07:53:23.450961Z",
- "changedBy": "PLENIGO",
- "changedByType": "SYSTEM",
- "items": [
- {
- "createdDate": "2019-01-01T07:53:23.450961Z",
- "createdBy": "PLENIGO",
- "createdByType": "SYSTEM",
- "changedDate": "2019-01-01T07:53:23.450961Z",
- "changedBy": "PLENIGO",
- "changedByType": "SYSTEM",
- "lifeTimeStart": "2019-01-01T07:53:23.450961Z",
- "lifeTimeEnd": "2020-01-01T07:53:23.450961Z",
- "accessTimeStart": "06:00:00",
- "accessTimeEnd": "18:00:00",
- "maxCacheDate": "2020-01-01T07:53:23.450961Z",
- "data": {
- "key": "value"
}, - "blocked": false,
- "productId": "P_TTA1E7173120881551",
- "plenigoOfferId": "O_TTA1E7173120881552",
- "plenigoProductId": "P_TTA1E7173120881551",
- "plenigoStepId": "S_TTA1E7173120881553",
- "accessRightUniqueId": "UNIQUE-ID",
- "accessRightData": {
- "key": "value"
}, - "itemType": "SUBSCRIPTION_ITEM",
- "itemId": "7212"
}
]
}Delete an access right item for a customer identified by the passed customer id.
| customerId required | string unique id of the customer |
| accessRightUniqueId required | string id of the access right item |
{- "success": true
}Count metered access for an access right item with the data provided for a customer identified by the passed customer id.
| customerId required | string unique id of the customer |
| accessRightUniqueId required | string id of the access right item |
{- "customerId": "100003",
- "customerBlocked": false,
- "createdDate": "2019-01-01T07:53:23.450961Z",
- "createdBy": "PLENIGO",
- "createdByType": "SYSTEM",
- "changedDate": "2019-01-01T07:53:23.450961Z",
- "changedBy": "PLENIGO",
- "changedByType": "SYSTEM",
- "items": [
- {
- "createdDate": "2019-01-01T07:53:23.450961Z",
- "createdBy": "PLENIGO",
- "createdByType": "SYSTEM",
- "changedDate": "2019-01-01T07:53:23.450961Z",
- "changedBy": "PLENIGO",
- "changedByType": "SYSTEM",
- "lifeTimeStart": "2019-01-01T07:53:23.450961Z",
- "lifeTimeEnd": "2020-01-01T07:53:23.450961Z",
- "accessTimeStart": "06:00:00",
- "accessTimeEnd": "18:00:00",
- "maxCacheDate": "2020-01-01T07:53:23.450961Z",
- "data": {
- "key": "value"
}, - "blocked": false,
- "productId": "P_TTA1E7173120881551",
- "plenigoOfferId": "O_TTA1E7173120881552",
- "plenigoProductId": "P_TTA1E7173120881551",
- "plenigoStepId": "S_TTA1E7173120881553",
- "accessRightUniqueId": "UNIQUE-ID",
- "accessRightData": {
- "key": "value"
}, - "itemType": "SUBSCRIPTION_ITEM",
- "itemId": "7212"
}
]
}Block an access right item of type EXTERNAL or SINGLE_PRODUCT for a customer.
| customerId required | string unique id of the customer |
| accessRightUniqueId required | string id of the access right item |
| itemId required | string item id of an access right item |
{- "success": true
}Unblock an access right item of type EXTERNAL or SINGLE_PRODUCT for a customer.
| customerId required | string unique id of the customer |
| accessRightUniqueId required | string id of the access right item |
| itemId required | string item id of an access right item |
{- "success": true
}Search all cost centers that correspond to the given search conditions.
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
| endingBefore | string <= 100 characters A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list. |
| sort | string <= 4 characters Enum: "ASC" "DESC" The sort of the search, if its desc it will revert to search for a lower startingAfter |
{- "items": [
- {
- "costCenterId": 100001,
- "costCenter": "12345678",
- "description": "Default cost center",
- "shortDescription": "Default CC"
}
]
}Create a new cost center with the data provided.
| costCenter required | string <= 10 characters Cost center value of the cost center |
| purchaseNumber | string <= 20 characters Purchase number to use |
| description | string <= 400 characters description of the cost center |
| shortDescription | string <= 20 characters short description of the cost center |
{- "costCenter": "12345678",
- "description": "Default cost center",
- "shortDescription": "Default CC"
}{- "costCenterId": 100001,
- "costCenter": "12345678",
- "description": "Default cost center",
- "shortDescription": "Default CC"
}Get cost center that is identified by the passed cost center id.
| costCenterId required | integer <int64> unique id of the cost center |
{- "costCenterId": 100001,
- "costCenter": "12345678",
- "description": "Default cost center",
- "shortDescription": "Default CC"
}Update a cost center that is identified by the passed cost center id with the data provided.
| costCenterId required | integer <int64> unique id of the cost center |
| costCenter required | string <= 10 characters Cost center value of the cost center |
| purchaseNumber | string <= 20 characters Purchase number to use |
| description | string <= 400 characters description of the cost center |
| shortDescription | string <= 20 characters short description of the cost center |
{- "costCenter": "12345678",
- "description": "Default cost center",
- "shortDescription": "Default CC"
}{- "costCenterId": 100001,
- "costCenter": "12345678",
- "description": "Default cost center",
- "shortDescription": "Default CC"
}Search all tax codes that correspond to the given search conditions.
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
| endingBefore | string <= 100 characters A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list. |
| sort | string <= 4 characters Enum: "ASC" "DESC" The sort of the search, if its desc it will revert to search for a lower startingAfter |
{- "items": [
- {
- "taxCodeId": 100001,
- "changedDate": "2019-03-21T17:32:12Z",
- "countryType": "SINGLE_COUNTRY",
- "countries": [
- "DE"
], - "tax": 19,
- "analogTag": "A1901",
- "digitalTag": "D1901"
}
]
}Create a new tax code with the data provided.
| countryType required | string Enum: "EU" "EU_B2B" "SINGLE_COUNTRY" "WORLD" type of the country |
| countries required | Array of strings array of country codes formatted as ISO 3166-1 alpha-2 |
| tax required | number <double> [ 0 .. 100 ] tax percentage operated on this order item |
| analogTag required | string <= 80 characters tag for the analog tax code |
| digitalTag required | string <= 80 characters tag for the digital tax code |
| description | string <= 100 characters description of the tax code |
{- "countryType": "SINGLE_COUNTRY",
- "countries": [
- "DE"
], - "tax": 19,
- "analogTag": "A1901",
- "digitalTag": "D1901"
}{- "taxCodeId": 100001,
- "changedDate": "2019-03-21T17:32:12Z",
- "countryType": "SINGLE_COUNTRY",
- "countries": [
- "DE"
], - "tax": 19,
- "analogTag": "A1901",
- "digitalTag": "D1901"
}Get tax code that is identified by the passed tax code id.
| taxCodeId required | integer <int64> unique id of the tax code |
{- "taxCodeId": 100001,
- "changedDate": "2019-03-21T17:32:12Z",
- "countryType": "SINGLE_COUNTRY",
- "countries": [
- "DE"
], - "tax": 19,
- "analogTag": "A1901",
- "digitalTag": "D1901"
}Update a tax code that is identified by the passed tax code id with the data provided.
| taxCodeId required | integer <int64> unique id of the tax code |
| countryType required | string Enum: "EU" "EU_B2B" "SINGLE_COUNTRY" "WORLD" type of the country |
| countries required | Array of strings array of country codes formatted as ISO 3166-1 alpha-2 |
| tax required | number <double> [ 0 .. 100 ] tax percentage operated on this order item |
| analogTag required | string <= 80 characters tag for the analog tax code |
| digitalTag required | string <= 80 characters tag for the digital tax code |
| description | string <= 100 characters description of the tax code |
{- "countryType": "SINGLE_COUNTRY",
- "countries": [
- "DE"
], - "tax": 19,
- "analogTag": "A1901",
- "digitalTag": "D1901"
}{- "taxCodeId": 100001,
- "changedDate": "2019-03-21T17:32:12Z",
- "countryType": "SINGLE_COUNTRY",
- "countries": [
- "DE"
], - "tax": 19,
- "analogTag": "A1901",
- "digitalTag": "D1901"
}Search all activities that correspond to the given search conditions.
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
| endingBefore | string <= 100 characters A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list. |
| sort | string <= 4 characters Enum: "ASC" "DESC" The sort of the search, if its desc it will revert to search for a lower startingAfter |
| jsonObjectType | string Enum: "ACCESS_RIGHT_ITEM" "AMAZON_PAY" "BANK_ACCOUNT" "CREDIT_CARD" "CUSTOMER" "DELIVERY_ADDRESS" "INVOICE" "INVOICE_ADDRESS" "ORDER" "PAYPAL" "POST_FINANCE" "SUBSCRIPTION" "TWINT" "VIPPS" The type the activity belongs to. |
| jsonObjectIdentifier | string <= 100 characters The identifier of the object the activity belongs to. Can only be used in combination with jsonObjectType |
{- "items": [
- {
- "id": 100001,
- "createdDate": "2019-01-01T07:53:23.450961Z",
- "createdBy": "PLENIGO",
- "createdByType": "SYSTEM",
- "changedDate": "2020-01-13",
- "changedBy": "P_UZV4L63ZBT",
- "changedByType": "MERCHANT",
- "customerId": "12701",
- "activityType": "SYSTEM_API",
- "jsonObjectType": "INVOICE_ADDRESS",
- "jsonObjectIdentifier": "100001",
- "oldObject": {
- "addressId": 100001,
- "changedDate": "2019-03-21T17:32:12Z",
- "type": "INVOICE",
- "preferred": true,
- "customerId": "100003",
- "businessAddress": true,
- "salutation": "MR",
- "title": "",
- "firstName": "John",
- "lastName": "Doe",
- "companyName": "ARAMARK Ltd.",
- "additionalCompanyInfo": "Subdivision of World Ltd.",
- "street": "Commercial Road",
- "streetNumber": "30",
- "additionalStreetInfo": "Level 5",
- "postcode": "PO1 1AA",
- "city": "Hampshire",
- "country": "GB",
- "vatNumber": "DE123456789"
}, - "newObject": {
- "addressId": 100001,
- "changedDate": "2019-03-21T17:32:12Z",
- "type": "INVOICE",
- "preferred": true,
- "customerId": "100003",
- "businessAddress": true,
- "salutation": "MR",
- "title": "Dr",
- "firstName": "John",
- "lastName": "Doe",
- "companyName": "ARAMARK Ltd.",
- "additionalCompanyInfo": "Subdivision of World Ltd.",
- "street": "Commercial Road",
- "streetNumber": "30",
- "additionalStreetInfo": "Level 5",
- "postcode": "PO1 1AA",
- "city": "Hampshire",
- "country": "GB",
- "vatNumber": "DE123456789"
}, - "reason": "DATA_CHANGED"
}
]
}Search all activities that correspond to the given search conditions.
| customerId required | string unique id of the customer |
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
| endingBefore | string <= 100 characters A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list. |
| sort | string <= 4 characters Enum: "ASC" "DESC" The sort of the search, if its desc it will revert to search for a lower startingAfter |
| jsonObjectType | string Enum: "ACCESS_RIGHT_ITEM" "AMAZON_PAY" "BANK_ACCOUNT" "CREDIT_CARD" "CUSTOMER" "DELIVERY_ADDRESS" "INVOICE" "INVOICE_ADDRESS" "ORDER" "PAYPAL" "POST_FINANCE" "SUBSCRIPTION" "TWINT" "VIPPS" The type the activity belongs to. |
| jsonObjectIdentifier | string <= 100 characters The identifier of the object the activity belongs to. Can only be used in combination with jsonObjectType |
{- "items": [
- {
- "id": 100001,
- "createdDate": "2019-01-01T07:53:23.450961Z",
- "createdBy": "PLENIGO",
- "createdByType": "SYSTEM",
- "changedDate": "2020-01-13",
- "changedBy": "P_UZV4L63ZBT",
- "changedByType": "MERCHANT",
- "customerId": "12701",
- "activityType": "SYSTEM_API",
- "jsonObjectType": "INVOICE_ADDRESS",
- "jsonObjectIdentifier": "100001",
- "oldObject": {
- "addressId": 100001,
- "changedDate": "2019-03-21T17:32:12Z",
- "type": "INVOICE",
- "preferred": true,
- "customerId": "100003",
- "businessAddress": true,
- "salutation": "MR",
- "title": "",
- "firstName": "John",
- "lastName": "Doe",
- "companyName": "ARAMARK Ltd.",
- "additionalCompanyInfo": "Subdivision of World Ltd.",
- "street": "Commercial Road",
- "streetNumber": "30",
- "additionalStreetInfo": "Level 5",
- "postcode": "PO1 1AA",
- "city": "Hampshire",
- "country": "GB",
- "vatNumber": "DE123456789"
}, - "newObject": {
- "addressId": 100001,
- "changedDate": "2019-03-21T17:32:12Z",
- "type": "INVOICE",
- "preferred": true,
- "customerId": "100003",
- "businessAddress": true,
- "salutation": "MR",
- "title": "Dr",
- "firstName": "John",
- "lastName": "Doe",
- "companyName": "ARAMARK Ltd.",
- "additionalCompanyInfo": "Subdivision of World Ltd.",
- "street": "Commercial Road",
- "streetNumber": "30",
- "additionalStreetInfo": "Level 5",
- "postcode": "PO1 1AA",
- "city": "Hampshire",
- "country": "GB",
- "vatNumber": "DE123456789"
}, - "reason": "DATA_CHANGED"
}
]
}Returns additional data selections.
{- "additions": [
- {
- "title": "Social Media",
- "description": "Social Media Source",
- "identifier": "sm",
- "category": "Checkout",
- "enabled": true,
- "values": {
- "Facebook": "fb",
- "Twitter": "tw"
}
}
]
}Update additional data selections.
| createdDate | string or null <date-time> time the object was created with time notation as defined by RFC 3339, section 5.6, for example, 17:32:28 |
| changedDate | string or null <date-time> time the object was changed with time notation as defined by RFC 3339, section 5.6, for example, 17:32:28 |
| createdBy | string <= 100 characters id who created the object |
| createdByType | string (UserType) Enum: "API" "CUSTOMER" "MERCHANT" "IMPORTER" "SYSTEM" type of user who performs the action |
| changedBy | string <= 100 characters id who changed the object |
| changedByType | string (UserType) Enum: "API" "CUSTOMER" "MERCHANT" "IMPORTER" "SYSTEM" type of user who performs the action |
Array of objects (AdditionalDataSelection) |
{- "additions": [
- {
- "title": "Social Media",
- "description": "Social Media Source",
- "identifier": "sm",
- "category": "Checkout",
- "enabled": true,
- "values": {
- "Facebook": "fb",
- "Twitter": "tw"
}
}
]
}{- "additions": [
- {
- "title": "Social Media",
- "description": "Social Media Source",
- "identifier": "sm",
- "category": "Checkout",
- "enabled": true,
- "values": {
- "Facebook": "fb",
- "Twitter": "tw"
}
}
]
}Search all addresses that correspond to the given search conditions.
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
| endingBefore | string <= 100 characters A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list. |
| sort | string <= 4 characters Enum: "ASC" "DESC" The sort of the search, if its desc it will revert to search for a lower startingAfter |
{- "items": [
- {
- "addressId": 100001,
- "changedDate": "2019-03-21T17:32:12Z",
- "type": "INVOICE",
- "preferred": true,
- "customerId": "100003",
- "businessAddress": true,
- "salutation": "MR",
- "title": "Dr",
- "firstName": "John",
- "lastName": "Doe",
- "companyName": "ARAMARK Ltd.",
- "additionalCompanyInfo": "Subdivision of World Ltd.",
- "street": "Commercial Road",
- "streetNumber": "30",
- "additionalStreetInfo": "Level 5",
- "postcode": "PO1 1AA",
- "city": "Hampshire",
- "country": "GB",
- "vatNumber": "DE123456789"
}
]
}Create a new address with the data provided.
| overrideValidation | boolean flag if the validation should be ignored |
| businessAddress | boolean flag indicating if address represents a private or a business address |
| salutation | string Enum: "DIVERSE" "MR" "MRS" "NONE" salutation to identify the correct designation of a customer |
| title | string <= 100 characters title of the entity |
| firstName | string <= 100 characters first name of the customer - first name and last name or company name are required |
| lastName | string <= 100 characters last name of the customer - first name and last name or company name are required |
| companyName | string <= 100 characters company name - first name and last name or company name are required |
| additionalCompanyInfo | string <= 100 characters additional information belonging to the company |
| street | string <= 100 characters street name |
| streetNumber | string <= 100 characters street number |
| additionalStreetInfo | string <= 100 characters additional information describing address |
| postbox | string <= 100 characters postbox id |
| postcode | string <= 100 characters postcode |
| city | string <= 100 characters city |
| state | string <= 2 characters state |
| country | string = 2 characters country code formatted as ISO 3166-1 alpha-2 |
| vatNumber | string <= 20 characters VAT number of a member country of the European Union |
| phoneNumber | string <= 100 characters ^\+?[1-9]\d{1,14}$ phone number of the customer formatted as E.164 |
| deliveryInformation | string <= 100 characters delivery information |
| academicTitle | string <= 100 characters academic title |
| jobPosition | string <= 100 characters job position |
any Email address. Only available if the | |
| validationStatus | string Enum: "NONE" "VALID" "INVALID" "SUSPECT" "OVERRIDDEN" validation status of the address |
| validationHash | string validation hash of a valid address |
| preferred | boolean flag indicating if address is default selection for address type |
| type required | string (AddressType) Enum: "INVOICE" "DELIVERY" address type |
| customerId required | string^[0-9]{1,18}$ unique id of the customer the address belongs to |
{- "type": "INVOICE",
- "preferred": true,
- "customerId": "100003",
- "businessAddress": true,
- "salutation": "MR",
- "title": "Dr",
- "firstName": "John",
- "lastName": "Doe",
- "companyName": "ARAMARK Ltd.",
- "additionalCompanyInfo": "Subdivision of World Ltd.",
- "street": "Commercial Road",
- "streetNumber": "30",
- "additionalStreetInfo": "Level 5",
- "postcode": "PO1 1AA",
- "city": "Hampshire",
- "country": "GB",
- "vatNumber": "DE123456789"
}{- "addressId": 100001,
- "changedDate": "2019-03-21T17:32:12Z",
- "type": "INVOICE",
- "preferred": true,
- "customerId": "100003",
- "businessAddress": true,
- "salutation": "MR",
- "title": "Dr",
- "firstName": "John",
- "lastName": "Doe",
- "companyName": "ARAMARK Ltd.",
- "additionalCompanyInfo": "Subdivision of World Ltd.",
- "street": "Commercial Road",
- "streetNumber": "30",
- "additionalStreetInfo": "Level 5",
- "postcode": "PO1 1AA",
- "city": "Hampshire",
- "country": "GB",
- "vatNumber": "DE123456789"
}Important note: The use of these API endpoints is a chargeable service provided by plenigo GmbH. The billing is done according to the current price list, which you can find in the settings section of your plenigo account. The billing is done with the monthly invoice. Validates the address with the data provided.
| businessAddress | boolean flag indicating if address represents a private or a business address |
| salutation | string Enum: "DIVERSE" "MR" "MRS" "NONE" salutation to identify the correct designation of a customer |
| title | string <= 100 characters title of the entity |
| firstName | string <= 100 characters first name of the customer - first name and last name or company name are required |
| lastName | string <= 100 characters last name of the customer - first name and last name or company name are required |
| companyName | string <= 100 characters company name - first name and last name or company name are required |
| additionalCompanyInfo | string <= 100 characters additional information belonging to the company |
| street | string <= 100 characters street name |
| streetNumber | string <= 100 characters street number |
| additionalStreetInfo | string <= 100 characters additional information describing address |
| postbox | string <= 100 characters postbox id |
| postcode | string <= 100 characters postcode |
| city | string <= 100 characters city |
| state | string <= 2 characters state |
| country | string = 2 characters country code formatted as ISO 3166-1 alpha-2 |
| vatNumber | string <= 20 characters VAT number of a member country of the European Union |
| phoneNumber | string <= 100 characters ^\+?[1-9]\d{1,14}$ phone number of the customer formatted as E.164 |
| deliveryInformation | string <= 100 characters delivery information |
| academicTitle | string <= 100 characters academic title |
| jobPosition | string <= 100 characters job position |
any Email address. Only available if the | |
| validationStatus | string Enum: "NONE" "VALID" "INVALID" "SUSPECT" "OVERRIDDEN" validation status of the address |
| validationHash | string validation hash of a valid address |
| preferred | boolean flag indicating if address is default selection for address type |
| type required | string (AddressType) Enum: "INVOICE" "DELIVERY" address type |
| customerId required | string^[0-9]{1,18}$ unique id of the customer the address belongs to |
{- "type": "INVOICE",
- "preferred": true,
- "customerId": "100003",
- "businessAddress": true,
- "salutation": "MR",
- "title": "Dr",
- "firstName": "John",
- "lastName": "Doe",
- "companyName": "ARAMARK Ltd.",
- "additionalCompanyInfo": "Subdivision of World Ltd.",
- "street": "Commercial Road",
- "streetNumber": "30",
- "additionalStreetInfo": "Level 5",
- "postcode": "PO1 1AA",
- "city": "Hampshire",
- "country": "GB",
- "vatNumber": "DE123456789"
}{- "addressId": 100001,
- "changedDate": "2019-03-21T17:32:12Z",
- "type": "INVOICE",
- "preferred": true,
- "customerId": "100003",
- "businessAddress": true,
- "salutation": "MR",
- "title": "Dr",
- "firstName": "John",
- "lastName": "Doe",
- "companyName": "ARAMARK Ltd.",
- "additionalCompanyInfo": "Subdivision of World Ltd.",
- "street": "Commercial Road",
- "streetNumber": "30",
- "additionalStreetInfo": "Level 5",
- "postcode": "PO1 1AA",
- "city": "Hampshire",
- "country": "GB",
- "vatNumber": "DE123456789"
}Create a new wbz address with the data provided.
| overrideValidation | boolean flag if the validation should be ignored |
| businessAddress | boolean flag indicating if address represents a private or a business address |
| salutation | string Enum: "DIVERSE" "MR" "MRS" "NONE" salutation to identify the correct designation of a customer |
| title | string <= 100 characters title of the entity |
| firstName | string <= 100 characters first name of the customer - first name and last name or company name are required |
| lastName | string <= 100 characters last name of the customer - first name and last name or company name are required |
| companyName | string <= 100 characters company name - first name and last name or company name are required |
| additionalCompanyInfo | string <= 100 characters additional information belonging to the company |
| street | string <= 100 characters street name |
| streetNumber | string <= 100 characters street number |
| additionalStreetInfo | string <= 100 characters additional information describing address |
| postbox | string <= 100 characters postbox id |
| postcode | string <= 100 characters postcode |
| city | string <= 100 characters city |
| state | string <= 2 characters state |
| country | string = 2 characters country code formatted as ISO 3166-1 alpha-2 |
| vatNumber | string <= 20 characters VAT number of a member country of the European Union |
| phoneNumber | string <= 100 characters ^\+?[1-9]\d{1,14}$ phone number of the customer formatted as E.164 |
| deliveryInformation | string <= 100 characters delivery information |
| academicTitle | string <= 100 characters academic title |
| jobPosition | string <= 100 characters job position |
any Email address. Only available if the | |
| validationStatus | string Enum: "NONE" "VALID" "INVALID" "SUSPECT" "OVERRIDDEN" validation status of the address |
| validationHash | string validation hash of a valid address |
| customerId required | string^[0-9]{1,18}$ unique id of the customer the address belongs to |
{- "type": "INVOICE",
- "preferred": true,
- "customerId": "100003",
- "businessAddress": true,
- "salutation": "MR",
- "title": "Dr",
- "firstName": "John",
- "lastName": "Doe",
- "companyName": "ARAMARK Ltd.",
- "additionalCompanyInfo": "Subdivision of World Ltd.",
- "street": "Commercial Road",
- "streetNumber": "30",
- "additionalStreetInfo": "Level 5",
- "postcode": "PO1 1AA",
- "city": "Hampshire",
- "country": "GB",
- "vatNumber": "DE123456789"
}{- "addressId": 100001,
- "changedDate": "2019-03-21T17:32:12Z",
- "type": "INVOICE",
- "preferred": true,
- "customerId": "100003",
- "businessAddress": true,
- "salutation": "MR",
- "title": "Dr",
- "firstName": "John",
- "lastName": "Doe",
- "companyName": "ARAMARK Ltd.",
- "additionalCompanyInfo": "Subdivision of World Ltd.",
- "street": "Commercial Road",
- "streetNumber": "30",
- "additionalStreetInfo": "Level 5",
- "postcode": "PO1 1AA",
- "city": "Hampshire",
- "country": "GB",
- "vatNumber": "DE123456789"
}Get address that is identified by the passed address id.
| addressId required | integer <int64> unique id of the address |
{- "addressId": 100001,
- "changedDate": "2019-03-21T17:32:12Z",
- "type": "INVOICE",
- "preferred": true,
- "customerId": "100003",
- "businessAddress": true,
- "salutation": "MR",
- "title": "Dr",
- "firstName": "John",
- "lastName": "Doe",
- "companyName": "ARAMARK Ltd.",
- "additionalCompanyInfo": "Subdivision of World Ltd.",
- "street": "Commercial Road",
- "streetNumber": "30",
- "additionalStreetInfo": "Level 5",
- "postcode": "PO1 1AA",
- "city": "Hampshire",
- "country": "GB",
- "vatNumber": "DE123456789"
}Update an address that is identified by the passed address id with the data provided. If fields were filled before and are now passed empty these fields will be cleared.
| addressId required | integer <int64> unique id of the address |
| overrideValidation | boolean flag if the validation should be ignored |
| businessAddress | boolean flag indicating if address represents a private or a business address |
| salutation | string Enum: "DIVERSE" "MR" "MRS" "NONE" salutation to identify the correct designation of a customer |
| title | string <= 100 characters title of the entity |
| firstName | string <= 100 characters first name of the customer - first name and last name or company name are required |
| lastName | string <= 100 characters last name of the customer - first name and last name or company name are required |
| companyName | string <= 100 characters company name - first name and last name or company name are required |
| additionalCompanyInfo | string <= 100 characters additional information belonging to the company |
| street | string <= 100 characters street name |
| streetNumber | string <= 100 characters street number |
| additionalStreetInfo | string <= 100 characters additional information describing address |
| postbox | string <= 100 characters postbox id |
| postcode | string <= 100 characters postcode |
| city | string <= 100 characters city |
| state | string <= 2 characters state |
| country | string = 2 characters country code formatted as ISO 3166-1 alpha-2 |
| vatNumber | string <= 20 characters VAT number of a member country of the European Union |
| phoneNumber | string <= 100 characters ^\+?[1-9]\d{1,14}$ phone number of the customer formatted as E.164 |
| deliveryInformation | string <= 100 characters delivery information |
| academicTitle | string <= 100 characters academic title |
| jobPosition | string <= 100 characters job position |
any Email address. Only available if the | |
| validationStatus | string Enum: "NONE" "VALID" "INVALID" "SUSPECT" "OVERRIDDEN" validation status of the address |
| validationHash | string validation hash of a valid address |
| preferred | boolean flag indicating if address is default selection for address type |
{- "preferred": true,
- "businessAddress": true,
- "salutation": "MR",
- "title": "Dr",
- "firstName": "John",
- "lastName": "Doe",
- "companyName": "ARAMARK Ltd.",
- "additionalCompanyInfo": "Subdivision of World Ltd.",
- "street": "Commercial Road",
- "streetNumber": "30",
- "additionalStreetInfo": "Level 5",
- "postcode": "PO1 1AA",
- "city": "Hampshire",
- "country": "GB",
- "vatNumber": "DE123456789"
}{- "addressId": 100001,
- "changedDate": "2019-03-21T17:32:12Z",
- "type": "INVOICE",
- "preferred": true,
- "customerId": "100003",
- "businessAddress": true,
- "salutation": "MR",
- "title": "Dr",
- "firstName": "John",
- "lastName": "Doe",
- "companyName": "ARAMARK Ltd.",
- "additionalCompanyInfo": "Subdivision of World Ltd.",
- "street": "Commercial Road",
- "streetNumber": "30",
- "additionalStreetInfo": "Level 5",
- "postcode": "PO1 1AA",
- "city": "Hampshire",
- "country": "GB",
- "vatNumber": "DE123456789"
}Delete an address that is identified by the passed address id. Only addresses that are not associated with a subscription can be deleted. If such an address shall be deleted it must first be disconnected from the subscription.
| addressId required | integer <int64> unique id of the address |
{- "success": true
}Get all future addresses that correspond to the given address id.
| addressId required | integer <int64> unique id of the address |
{- "items": [
- {
- "activationDate": "2019-03-21",
- "businessAddress": true,
- "salutation": "MR",
- "title": "Dr",
- "firstName": "John",
- "lastName": "Doe",
- "companyName": "ARAMARK Ltd.",
- "additionalCompanyInfo": "Subdivision of World Ltd.",
- "street": "Commercial Road",
- "streetNumber": "30",
- "additionalStreetInfo": "Level 5",
- "postcode": "PO1 1AA",
- "city": "Hampshire",
- "country": "GB",
- "vatNumber": "DE123456789"
}, - {
- "activationDate": "2019-06-21",
- "businessAddress": true,
- "salutation": "MR",
- "title": "Dr",
- "firstName": "John",
- "lastName": "Doe",
- "companyName": "ARAMARK Ltd.",
- "additionalCompanyInfo": "Subdivision of World Ltd.",
- "street": "Commercial Road",
- "streetNumber": "32",
- "additionalStreetInfo": "Level 5",
- "postcode": "PO1 1AA",
- "city": "Hampshire",
- "country": "GB",
- "vatNumber": "DE123456789"
}
]
}Create a new future address with the data provided. An address can only have two future addresses
| addressId required | integer <int64> unique id of the address |
| date required | string <date> date of the future address |
| overrideValidation | boolean flag if the validation should be ignored |
| businessAddress | boolean flag indicating if address represents a private or a business address |
| salutation | string Enum: "DIVERSE" "MR" "MRS" "NONE" salutation to identify the correct designation of a customer |
| title | string <= 100 characters title of the entity |
| firstName | string <= 100 characters first name of the customer - first name and last name or company name are required |
| lastName | string <= 100 characters last name of the customer - first name and last name or company name are required |
| companyName | string <= 100 characters company name - first name and last name or company name are required |
| additionalCompanyInfo | string <= 100 characters additional information belonging to the company |
| street | string <= 100 characters street name |
| streetNumber | string <= 100 characters street number |
| additionalStreetInfo | string <= 100 characters additional information describing address |
| postbox | string <= 100 characters postbox id |
| postcode | string <= 100 characters postcode |
| city | string <= 100 characters city |
| state | string <= 2 characters state |
| country | string = 2 characters country code formatted as ISO 3166-1 alpha-2 |
| vatNumber | string <= 20 characters VAT number of a member country of the European Union |
| phoneNumber | string <= 100 characters ^\+?[1-9]\d{1,14}$ phone number of the customer formatted as E.164 |
| deliveryInformation | string <= 100 characters delivery information |
| academicTitle | string <= 100 characters academic title |
| jobPosition | string <= 100 characters job position |
any Email address. Only available if the | |
| validationStatus | string Enum: "NONE" "VALID" "INVALID" "SUSPECT" "OVERRIDDEN" validation status of the address |
| validationHash | string validation hash of a valid address |
{- "businessAddress": true,
- "salutation": "MR",
- "title": "Dr",
- "firstName": "John",
- "lastName": "Doe",
- "companyName": "ARAMARK Ltd.",
- "additionalCompanyInfo": "Subdivision of World Ltd.",
- "street": "Commercial Road",
- "streetNumber": "30",
- "additionalStreetInfo": "Level 5",
- "postcode": "PO1 1AA",
- "city": "Hampshire",
- "country": "GB",
- "vatNumber": "DE123456789"
}{- "activationDate": "2019-03-21",
- "businessAddress": true,
- "salutation": "MR",
- "title": "Dr",
- "firstName": "John",
- "lastName": "Doe",
- "companyName": "ARAMARK Ltd.",
- "additionalCompanyInfo": "Subdivision of World Ltd.",
- "street": "Commercial Road",
- "streetNumber": "30",
- "additionalStreetInfo": "Level 5",
- "postcode": "PO1 1AA",
- "city": "Hampshire",
- "country": "GB",
- "vatNumber": "DE123456789"
}Update a future address that is identified by the passed date with the data provided. If fields were filled before and are now passed empty these fields will be cleared.
| addressId required | integer <int64> unique id of the address |
| date required | string <date> date of the future address |
| overrideValidation | boolean flag if the validation should be ignored |
| businessAddress | boolean flag indicating if address represents a private or a business address |
| salutation | string Enum: "DIVERSE" "MR" "MRS" "NONE" salutation to identify the correct designation of a customer |
| title | string <= 100 characters title of the entity |
| firstName | string <= 100 characters first name of the customer - first name and last name or company name are required |
| lastName | string <= 100 characters last name of the customer - first name and last name or company name are required |
| companyName | string <= 100 characters company name - first name and last name or company name are required |
| additionalCompanyInfo | string <= 100 characters additional information belonging to the company |
| street | string <= 100 characters street name |
| streetNumber | string <= 100 characters street number |
| additionalStreetInfo | string <= 100 characters additional information describing address |
| postbox | string <= 100 characters postbox id |
| postcode | string <= 100 characters postcode |
| city | string <= 100 characters city |
| state | string <= 2 characters state |
| country | string = 2 characters country code formatted as ISO 3166-1 alpha-2 |
| vatNumber | string <= 20 characters VAT number of a member country of the European Union |
| phoneNumber | string <= 100 characters ^\+?[1-9]\d{1,14}$ phone number of the customer formatted as E.164 |
| deliveryInformation | string <= 100 characters delivery information |
| academicTitle | string <= 100 characters academic title |
| jobPosition | string <= 100 characters job position |
any Email address. Only available if the | |
| validationStatus | string Enum: "NONE" "VALID" "INVALID" "SUSPECT" "OVERRIDDEN" validation status of the address |
| validationHash | string validation hash of a valid address |
{- "businessAddress": true,
- "salutation": "MR",
- "title": "Dr",
- "firstName": "John",
- "lastName": "Doe",
- "companyName": "ARAMARK Ltd.",
- "additionalCompanyInfo": "Subdivision of World Ltd.",
- "street": "Commercial Road",
- "streetNumber": "30",
- "additionalStreetInfo": "Level 5",
- "postcode": "PO1 1AA",
- "city": "Hampshire",
- "country": "GB",
- "vatNumber": "DE123456789"
}{- "activationDate": "2019-03-21",
- "businessAddress": true,
- "salutation": "MR",
- "title": "Dr",
- "firstName": "John",
- "lastName": "Doe",
- "companyName": "ARAMARK Ltd.",
- "additionalCompanyInfo": "Subdivision of World Ltd.",
- "street": "Commercial Road",
- "streetNumber": "30",
- "additionalStreetInfo": "Level 5",
- "postcode": "PO1 1AA",
- "city": "Hampshire",
- "country": "GB",
- "vatNumber": "DE123456789"
}Delete a future address that is identified by the passed date.
| addressId required | integer <int64> unique id of the address |
| date required | string <date> date of the future address |
{- "success": true
}Important note: The use of these API endpoints is a chargeable service provided by plenigo GmbH. The billing is done according to the current price list, which you can find in the settings section of your plenigo account. The billing is done with the monthly invoice.
Validates the address with the given id.
| addressId required | integer <int64> unique id of the address |
{- "addressId": 100001,
- "changedDate": "2019-03-21T17:32:12Z",
- "type": "INVOICE",
- "preferred": true,
- "customerId": "100003",
- "businessAddress": true,
- "salutation": "MR",
- "title": "Dr",
- "firstName": "John",
- "lastName": "Doe",
- "companyName": "ARAMARK Ltd.",
- "additionalCompanyInfo": "Subdivision of World Ltd.",
- "street": "Commercial Road",
- "streetNumber": "30",
- "additionalStreetInfo": "Level 5",
- "postcode": "PO1 1AA",
- "city": "Hampshire",
- "country": "GB",
- "vatNumber": "DE123456789"
}Search all age rules that correspond to the given search conditions.
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
| endingBefore | string <= 100 characters A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list. |
{- "items": [
- {
- "internalTitle": "string",
- "description": "string",
- "relationalOperator": "ABOVE",
- "age": 1,
- "protectedPlenigoOfferId": "string",
- "followUpPlenigoOfferId": "string",
- "replacementPlenigoOfferId": "string",
- "stopOnFail": true,
- "translations": [
- {
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "language": "st",
- "title": "string",
- "preDescription": "string",
- "successDescription": "string",
- "failureDescription": "string",
- "preferred": true
}
], - "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "ageRuleId": 0
}
]
}Get age rule that is identified by the passed age rule id.
| ageRuleId required | integer <int64> unique id of the age rule |
{- "internalTitle": "string",
- "description": "string",
- "relationalOperator": "ABOVE",
- "age": 1,
- "protectedPlenigoOfferId": "string",
- "followUpPlenigoOfferId": "string",
- "replacementPlenigoOfferId": "string",
- "stopOnFail": true,
- "translations": [
- {
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "language": "st",
- "title": "string",
- "preDescription": "string",
- "successDescription": "string",
- "failureDescription": "string",
- "preferred": true
}
], - "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "ageRuleId": 0
}Search all Apple purchases that correspond to the given search conditions.
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
| endingBefore | string <= 100 characters A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list. |
| sort | string <= 4 characters Enum: "ASC" "DESC" The sort of the search, if its desc it will revert to search for a lower startingAfter |
| token | string app store token |
{- "items": [
- {
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "appleAppStorePurchaseId": 0,
- "purchaseDate": "2019-08-24T14:15:22Z",
- "token": "string",
- "valid": true,
- "appStoreOrderId": 0,
- "receipt": {
- "receiptType": "string",
- "adamID": 0,
- "appItemID": "string",
- "bundleID": "string",
- "applicationVersion": "string",
- "downloadID": 0,
- "versionExternalIdentifier": "string",
- "originalApplicationVersion": "string",
- "receiptCreationDate": "2019-08-24T14:15:22Z",
- "requestDate": "2019-08-24T14:15:22Z",
- "originalPurchaseDate": "2019-08-24T14:15:22Z",
- "items": [
- {
- "quantity": "string",
- "productId": "string",
- "transactionId": "string",
- "originalTransactionId": "string",
- "webOrderLineItemId": "string",
- "promotionalOfferId": "string",
- "subscriptionGroupIdentifier": "string",
- "isTrialPeriod": "string",
- "isInIntroOfferPeriod": "string",
- "isUpgraded": "string",
- "expiresDate": "2019-08-24T14:15:22Z",
- "purchaseDate": "2019-08-24T14:15:22Z",
- "originalPurchaseDate": "2019-08-24T14:15:22Z",
- "cancellationDate": "2019-08-24T14:15:22Z",
- "cancellationReason": "string"
}
]
}, - "purchaseData": {
- "transactions": [
- {
- "transactionID": "string",
- "originalTransactionId": "string",
- "webOrderLineItemId": "string",
- "bundleID": "string",
- "productID": "string",
- "subscriptionGroupIdentifier": "string",
- "purchaseDate": 0,
- "originalPurchaseDate": 0,
- "expiresDate": 0,
- "quantity": 0,
- "type": "string",
- "appAccountToken": "string",
- "inAppOwnershipType": "string",
- "signedDate": 0,
- "offerType": 0,
- "offerIdentifier": "string",
- "revocationDate": 0,
- "revocationReason": 0,
- "isUpgraded": true,
- "storefront": "string",
- "storefrontId": "string",
- "transactionReason": "string",
- "environment": "string",
- "price": 0,
- "currency": "string",
- "offerDiscountType": "string"
}
]
}
}
]
}Add an Apple app store purchase to the plenigo system and retrieve a token for further processing.
| appIdentifier | string <= 100 characters identifier of the application as defined in the plenigo backend to retrieve the according secret |
| receiptData | Array of strings [ 0 .. 100 ] items [ items <= 300000 characters ] |
| transactionIds | Array of strings [ 0 .. 100 ] items [ items <= 20000 characters ] |
{- "appIdentifier": "string",
- "receiptData": [
- "string"
], - "transactionIds": [
- "string"
]
}{- "purchases": [
- {
- "customerId": "string",
- "token": "string",
- "hasOrders": true,
- "orders": [
- {
- "purchaseDate": "2019-08-24T14:15:22Z",
- "valid": true,
- "accessRightUniqueId": "string",
- "appStoreProductId": "string",
- "accessRights": [
- {
- "uniqueId": "string",
- "additionalData": {
- "property1": "string",
- "property2": "string"
}
}
]
}
]
}
]
}Get details for an Apple app store purchase.
| appleAppStorePurchaseId required | integer <int64> unique id of the purchase |
{- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "appleAppStorePurchaseId": 0,
- "purchaseDate": "2019-08-24T14:15:22Z",
- "token": "string",
- "valid": true,
- "appStoreOrderId": 0,
- "receipt": {
- "receiptType": "string",
- "adamID": 0,
- "appItemID": "string",
- "bundleID": "string",
- "applicationVersion": "string",
- "downloadID": 0,
- "versionExternalIdentifier": "string",
- "originalApplicationVersion": "string",
- "receiptCreationDate": "2019-08-24T14:15:22Z",
- "requestDate": "2019-08-24T14:15:22Z",
- "originalPurchaseDate": "2019-08-24T14:15:22Z",
- "items": [
- {
- "quantity": "string",
- "productId": "string",
- "transactionId": "string",
- "originalTransactionId": "string",
- "webOrderLineItemId": "string",
- "promotionalOfferId": "string",
- "subscriptionGroupIdentifier": "string",
- "isTrialPeriod": "string",
- "isInIntroOfferPeriod": "string",
- "isUpgraded": "string",
- "expiresDate": "2019-08-24T14:15:22Z",
- "purchaseDate": "2019-08-24T14:15:22Z",
- "originalPurchaseDate": "2019-08-24T14:15:22Z",
- "cancellationDate": "2019-08-24T14:15:22Z",
- "cancellationReason": "string"
}
]
}, - "purchaseData": {
- "transactions": [
- {
- "transactionID": "string",
- "originalTransactionId": "string",
- "webOrderLineItemId": "string",
- "bundleID": "string",
- "productID": "string",
- "subscriptionGroupIdentifier": "string",
- "purchaseDate": 0,
- "originalPurchaseDate": 0,
- "expiresDate": 0,
- "quantity": 0,
- "type": "string",
- "appAccountToken": "string",
- "inAppOwnershipType": "string",
- "signedDate": 0,
- "offerType": 0,
- "offerIdentifier": "string",
- "revocationDate": 0,
- "revocationReason": 0,
- "isUpgraded": true,
- "storefront": "string",
- "storefrontId": "string",
- "transactionReason": "string",
- "environment": "string",
- "price": 0,
- "currency": "string",
- "offerDiscountType": "string"
}
]
}
}Associate an Apple app store purchase with a customer. Only app store purchases that include actual orders can be associated.
| token required | string unique id of the purchase of an app store |
| customerId | string^[0-9]{1,18}$ id of the customer to associate purchase with |
{- "customerId": "string"
}{- "customerId": "string",
- "token": "string",
- "hasOrders": true,
- "orders": [
- {
- "purchaseDate": "2019-08-24T14:15:22Z",
- "valid": true,
- "accessRightUniqueId": "string",
- "appStoreProductId": "string",
- "accessRights": [
- {
- "uniqueId": "string",
- "additionalData": {
- "property1": "string",
- "property2": "string"
}
}
]
}
]
}Verify validity of Apple app store purchase.
| token required | string unique id of the purchase of an app store |
{- "customerId": "string",
- "token": "string",
- "hasOrders": true,
- "orders": [
- {
- "purchaseDate": "2019-08-24T14:15:22Z",
- "valid": true,
- "accessRightUniqueId": "string",
- "appStoreProductId": "string",
- "accessRights": [
- {
- "uniqueId": "string",
- "additionalData": {
- "property1": "string",
- "property2": "string"
}
}
]
}
]
}Search all Google Playstore purchases that correspond to the given search conditions.
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
| endingBefore | string <= 100 characters A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list. |
| sort | string <= 4 characters Enum: "ASC" "DESC" The sort of the search, if its desc it will revert to search for a lower startingAfter |
| token | string app store token |
{- "items": [
- {
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "googlePlayStorePurchaseId": 0,
- "purchaseDate": "2019-08-24T14:15:22Z",
- "token": "string",
- "packageName": "string",
- "productId": "string",
- "valid": true,
- "subscription": true,
- "purchaseToken": "string",
- "appStoreOrderId": 0,
- "subscriptionPurchase": {
- "autoRenewing": true,
- "autoResumeTimeMillis": "string",
- "cancelReason": 0,
- "cancelSurveyReason": 0,
- "userInputCancelReason": "string",
- "subscriptionEndDate": "2019-08-24T14:15:22Z",
- "countryCode": "string",
- "developerPayload": "string",
- "expiryTimeMillis": "string",
- "kind": "string",
- "linkedPurchaseToken": "string",
- "orderId": "string",
- "paymentState": 0,
- "priceAmountMicros": "string",
- "priceCurrencyCode": "string",
- "profileId": "string",
- "profileName": "string",
- "purchaseType": 0,
- "startTimeMillis": "string",
- "userCancellationTimeMillis": "string"
}, - "productPurchase": {
- "acknowledgementState": "string",
- "consumptionState": "string",
- "developerPayload": "string",
- "kind": "string",
- "orderId": "string",
- "purchaseState": "string",
- "purchaseTimeMillis": "string",
- "purchaseType": "string"
}
}
]
}Add a Google Playstore purchase to the plenigo system and retrieve a token for further processing.
| packageName | string <= 1000 characters package name of the application this purchase was done for (for example, 'com.some.thing'). |
Array of objects (GooglePlayStorePurchaseAdditionElement) [ 1 .. 100 ] items |
{- "packageName": "string",
- "receiptData": [
- {
- "productId": "string",
- "subscription": true,
- "purchaseToken": "string"
}
]
}[ ]Get details for a Google Playstore purchase.
| googlePlayStorePurchaseId required | integer <int64> unique id of the purchase |
{- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "googlePlayStorePurchaseId": 0,
- "purchaseDate": "2019-08-24T14:15:22Z",
- "token": "string",
- "packageName": "string",
- "productId": "string",
- "valid": true,
- "subscription": true,
- "purchaseToken": "string",
- "appStoreOrderId": 0,
- "subscriptionPurchase": {
- "autoRenewing": true,
- "autoResumeTimeMillis": "string",
- "cancelReason": 0,
- "cancelSurveyReason": 0,
- "userInputCancelReason": "string",
- "subscriptionEndDate": "2019-08-24T14:15:22Z",
- "countryCode": "string",
- "developerPayload": "string",
- "expiryTimeMillis": "string",
- "kind": "string",
- "linkedPurchaseToken": "string",
- "orderId": "string",
- "paymentState": 0,
- "priceAmountMicros": "string",
- "priceCurrencyCode": "string",
- "profileId": "string",
- "profileName": "string",
- "purchaseType": 0,
- "startTimeMillis": "string",
- "userCancellationTimeMillis": "string"
}, - "productPurchase": {
- "acknowledgementState": "string",
- "consumptionState": "string",
- "developerPayload": "string",
- "kind": "string",
- "orderId": "string",
- "purchaseState": "string",
- "purchaseTimeMillis": "string",
- "purchaseType": "string"
}
}Associate a Google Playstore purchase with a customer.
| token required | string unique id of the purchase of an app store |
| customerId | string^[0-9]{1,18}$ id of the customer to associate purchase with |
{- "customerId": "string"
}{- "customerId": "string",
- "token": "string",
- "hasOrders": true,
- "orders": [
- {
- "purchaseDate": "2019-08-24T14:15:22Z",
- "valid": true,
- "accessRightUniqueId": "string",
- "appStoreProductId": "string",
- "accessRights": [
- {
- "uniqueId": "string",
- "additionalData": {
- "property1": "string",
- "property2": "string"
}
}
]
}
]
}Verify validity of Google Playstore purchase.
| token required | string unique id of the purchase of an app store |
{- "customerId": "string",
- "token": "string",
- "hasOrders": true,
- "orders": [
- {
- "purchaseDate": "2019-08-24T14:15:22Z",
- "valid": true,
- "accessRightUniqueId": "string",
- "appStoreProductId": "string",
- "accessRights": [
- {
- "uniqueId": "string",
- "additionalData": {
- "property1": "string",
- "property2": "string"
}
}
]
}
]
}Search all app store orders that correspond to the given search conditions.
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
| endingBefore | string <= 100 characters A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list. |
| sort | string <= 4 characters Enum: "ASC" "DESC" The sort of the search, if its desc it will revert to search for a lower startingAfter |
{- "endingBeforeId": "string",
- "startingAfterId": "string",
- "items": [
- {
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "appStoreOrderId": 0,
- "orderDate": "2019-08-24T14:15:22Z",
- "customerId": "string",
- "storeType": "APPSTORE",
- "additionalStoreData": {
- "receiptType": "string",
- "adamID": 0,
- "appItemID": "string",
- "bundleID": "string",
- "applicationVersion": "string",
- "downloadID": 0,
- "versionExternalIdentifier": "string",
- "originalApplicationVersion": "string",
- "receiptCreationDate": "2019-08-24T14:15:22Z",
- "requestDate": "2019-08-24T14:15:22Z",
- "originalPurchaseDate": "2019-08-24T14:15:22Z",
- "items": [
- {
- "quantity": "string",
- "productId": "string",
- "transactionId": "string",
- "originalTransactionId": "string",
- "webOrderLineItemId": "string",
- "promotionalOfferId": "string",
- "subscriptionGroupIdentifier": "string",
- "isTrialPeriod": "string",
- "isInIntroOfferPeriod": "string",
- "isUpgraded": "string",
- "expiresDate": "2019-08-24T14:15:22Z",
- "purchaseDate": "2019-08-24T14:15:22Z",
- "originalPurchaseDate": "2019-08-24T14:15:22Z",
- "cancellationDate": "2019-08-24T14:15:22Z",
- "cancellationReason": "string"
}
]
}, - "items": [
- {
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "position": 0,
- "deliveryCustomerId": "string",
- "productId": "string",
- "appStoreSubscriptionId": 0,
- "accessRightUniqueId": "string",
- "additionalStoreItemData": {
- "quantity": "string",
- "productId": "string",
- "transactionId": "string",
- "originalTransactionId": "string",
- "webOrderLineItemId": "string",
- "promotionalOfferId": "string",
- "subscriptionGroupIdentifier": "string",
- "isTrialPeriod": "string",
- "isInIntroOfferPeriod": "string",
- "isUpgraded": "string",
- "expiresDate": "2019-08-24T14:15:22Z",
- "purchaseDate": "2019-08-24T14:15:22Z",
- "originalPurchaseDate": "2019-08-24T14:15:22Z",
- "cancellationDate": "2019-08-24T14:15:22Z",
- "cancellationReason": "string"
}
}
]
}
]
}Get details for an app store order.
| appStoreOrderId required | integer <int64> unique id of the app store order |
{- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "appStoreOrderId": 0,
- "orderDate": "2019-08-24T14:15:22Z",
- "customerId": "string",
- "storeType": "APPSTORE",
- "additionalStoreData": {
- "receiptType": "string",
- "adamID": 0,
- "appItemID": "string",
- "bundleID": "string",
- "applicationVersion": "string",
- "downloadID": 0,
- "versionExternalIdentifier": "string",
- "originalApplicationVersion": "string",
- "receiptCreationDate": "2019-08-24T14:15:22Z",
- "requestDate": "2019-08-24T14:15:22Z",
- "originalPurchaseDate": "2019-08-24T14:15:22Z",
- "items": [
- {
- "quantity": "string",
- "productId": "string",
- "transactionId": "string",
- "originalTransactionId": "string",
- "webOrderLineItemId": "string",
- "promotionalOfferId": "string",
- "subscriptionGroupIdentifier": "string",
- "isTrialPeriod": "string",
- "isInIntroOfferPeriod": "string",
- "isUpgraded": "string",
- "expiresDate": "2019-08-24T14:15:22Z",
- "purchaseDate": "2019-08-24T14:15:22Z",
- "originalPurchaseDate": "2019-08-24T14:15:22Z",
- "cancellationDate": "2019-08-24T14:15:22Z",
- "cancellationReason": "string"
}
]
}, - "items": [
- {
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "position": 0,
- "deliveryCustomerId": "string",
- "productId": "string",
- "appStoreSubscriptionId": 0,
- "accessRightUniqueId": "string",
- "additionalStoreItemData": {
- "quantity": "string",
- "productId": "string",
- "transactionId": "string",
- "originalTransactionId": "string",
- "webOrderLineItemId": "string",
- "promotionalOfferId": "string",
- "subscriptionGroupIdentifier": "string",
- "isTrialPeriod": "string",
- "isInIntroOfferPeriod": "string",
- "isUpgraded": "string",
- "expiresDate": "2019-08-24T14:15:22Z",
- "purchaseDate": "2019-08-24T14:15:22Z",
- "originalPurchaseDate": "2019-08-24T14:15:22Z",
- "cancellationDate": "2019-08-24T14:15:22Z",
- "cancellationReason": "string"
}
}
]
}Search all app store subscriptions that correspond to the given search conditions.
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
| endingBefore | string <= 100 characters A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list. |
| sort | string <= 4 characters Enum: "ASC" "DESC" The sort of the search, if its desc it will revert to search for a lower startingAfter |
{- "endingBeforeId": "string",
- "startingAfterId": "string",
- "items": [
- {
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "appStoreSubscriptionId": 0,
- "chainId": 0,
- "externalSystemId": "string",
- "customerId": "string",
- "startDate": "2019-08-24T14:15:22Z",
- "endDate": "2019-08-24T14:15:22Z",
- "cancellationDate": "2019-08-24T14:15:22Z",
- "status": "ACTIVE",
- "accessRightUniqueId": "string",
- "plenigoInAppProductId": "string"
}
]
}Get details for an app store subscription.
| appStoreSubscriptionId required | integer <int64> unique id of the app store subscription |
{- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "appStoreSubscriptionId": 0,
- "chainId": 0,
- "externalSystemId": "string",
- "customerId": "string",
- "startDate": "2019-08-24T14:15:22Z",
- "endDate": "2019-08-24T14:15:22Z",
- "cancellationDate": "2019-08-24T14:15:22Z",
- "status": "ACTIVE",
- "accessRightUniqueId": "string",
- "plenigoInAppProductId": "string"
}Search all archived cancellation reasons that correspond to the given search conditions.
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
| endingBefore | string <= 100 characters A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list. |
{- "items": [
- {
- "customerCancellationReasonId": 120302,
- "createdDate": "2019-01-01T07:53:23.450961Z",
- "createdBy": "PLENIGO",
- "createdByType": "SYSTEM",
- "changedDate": "2019-01-01T07:53:23.450961Z",
- "changedBy": "PLENIGO",
- "changedByType": "SYSTEM",
- "internalTitle": "Too expensive",
- "active": true,
- "priority": 1,
- "uniqueId": "too_expensive",
- "translations": [
- {
- "language": "DE",
- "text": "Too expensive",
- "preferred": true
}
]
}
]
}Creates a transfer token for a merchant user.
| apiAccessKey | string <= 5000 characters api access key of the merchant user to create transfer token for |
{- "apiAccessKey": "string"
}{- "transferToken": "string"
}Get blocked ibans for a company.
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
| endingBefore | string <= 100 characters A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list. |
| iban | string [ 18 .. 32 ] characters |
{- "items": [
- {
- "blockedIbanId": 100001,
- "iban": "GB19123412341234123412",
- "description": "This iban is not allowed."
}
]
}Create a blocked iban for a company.
| iban required | string [ 18 .. 32 ] characters |
| description | string <= 1000 characters description of the blocked iban |
{- "iban": "stringstringstring",
- "description": "string"
}{- "blockedIbanId": 100001,
- "iban": "GB19123412341234123412",
- "description": "This iban is not allowed."
}Get blocked iban for a company.
| blockedIbanId required | integer <int64> unique id of the blocked iban |
{- "blockedIbanId": 100001,
- "iban": "GB19123412341234123412",
- "description": "This iban is not allowed."
}Search all bonuses that correspond to the given search conditions.
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
| endingBefore | string <= 100 characters A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list. |
| plenigoBonusId | string plenigo bonus id of the offer |
{- "endingBeforeId": "string",
- "startingAfterId": "string",
- "items": [
- {
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "accessRightId": 223001,
- "availability": "AVAILABLE",
- "taxType": "DIGITALPRODUCT",
- "costCenterId": 123001,
- "deliveryAddressMandatory": true,
- "deliveryAmount": 1,
- "deliveryCondition": "AFTER_PAYMENT",
- "description": "The cheapest teacup we have in stock.",
- "internalTitle": "Teacup",
- "invoiceAddressMandatory": true,
- "receiver": "PAYER",
- "archived": true,
- "bonusId": 123400,
- "plenigoBonusId": "BO_12345678901234567",
- "priceIssueId": 323001,
- "translations": [
- {
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "conditions": "You have to be a customer for at least three days.",
- "description": "A modern high quality teacup.",
- "images": [
- {
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "addonTranslationImageId": 100324,
- "altText": "A very nice promotion",
- "image": [
- 0
], - "metaData": null,
- "name": "Promotion image",
}
], - "language": "en",
- "preferred": true,
- "title": "Teacup"
}
]
}
]
}Search all archived bonuses that correspond to the given search conditions.
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
| endingBefore | string <= 100 characters A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list. |
{- "endingBeforeId": "string",
- "startingAfterId": "string",
- "items": [
- {
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "accessRightId": 223001,
- "availability": "AVAILABLE",
- "taxType": "DIGITALPRODUCT",
- "costCenterId": 123001,
- "deliveryAddressMandatory": true,
- "deliveryAmount": 1,
- "deliveryCondition": "AFTER_PAYMENT",
- "description": "The cheapest teacup we have in stock.",
- "internalTitle": "Teacup",
- "invoiceAddressMandatory": true,
- "receiver": "PAYER",
- "archived": true,
- "bonusId": 123400,
- "plenigoBonusId": "BO_12345678901234567",
- "priceIssueId": 323001,
- "translations": [
- {
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "conditions": "You have to be a customer for at least three days.",
- "description": "A modern high quality teacup.",
- "images": [
- {
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "addonTranslationImageId": 100324,
- "altText": "A very nice promotion",
- "image": [
- 0
], - "metaData": null,
- "name": "Promotion image",
}
], - "language": "en",
- "preferred": true,
- "title": "Teacup"
}
]
}
]
}Get bonus that is identified by the passed bonus id.
| bonusId required | integer <int64> unique id of the bonus |
{- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "accessRightId": 223001,
- "availability": "AVAILABLE",
- "taxType": "DIGITALPRODUCT",
- "costCenterId": 123001,
- "deliveryAddressMandatory": true,
- "deliveryAmount": 1,
- "deliveryCondition": "AFTER_PAYMENT",
- "description": "The cheapest teacup we have in stock.",
- "internalTitle": "Teacup",
- "invoiceAddressMandatory": true,
- "receiver": "PAYER",
- "archived": true,
- "bonusId": 123400,
- "plenigoBonusId": "BO_12345678901234567",
- "priceIssueId": 323001,
- "translations": [
- {
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "conditions": "You have to be a customer for at least three days.",
- "description": "A modern high quality teacup.",
- "images": [
- {
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "addonTranslationImageId": 100324,
- "altText": "A very nice promotion",
- "image": [
- 0
], - "metaData": null,
- "name": "Promotion image",
}
], - "language": "en",
- "preferred": true,
- "title": "Teacup"
}
]
}Search all callback log entries that correspond to the given search conditions.
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
| endingBefore | string <= 100 characters A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list. |
| sort | string <= 4 characters Enum: "ASC" "DESC" The sort of the search, if its desc it will revert to search for a lower startingAfter |
| entityType | string Enum: "APP_STORE_ORDER" "APP_STORE_SUBSCRIPTION" "CALLBACK_RENEWAL" "CROSS_CLIENT_ORDER" "CUSTOMER" "CUSTOMER_GDPR" "CUSTOMER_OPT_IN" "DOO_EVENT_ACCESS" "FAILED_PAYMENT" "INVOICE" "INVOICE_CANCELLATION" "INVOICE_CORRECTION" "ORDER" "PURCHASED_ADDON" "SUBSCRIPTION" "VOUCHER_CAMPAIGN" "VOUCHER_CHANNEL" entity type to get entries for |
| callbackType | string Enum: "CANCELLATION" "CHANGE" "CONDITIONS_FULFILLED" "CREATION" "DELETION" "ENDED" "FINISHED" "PAYMENT_FAILED" "PAYMENT_REVOKED" "UNDO_CANCELLATION" callback type to get entries for |
| errorOnly | boolean flag indicating if only failed callbacks should be returned |
| plenigoCallbackId | integer <int64> id of the callback the returned callback log entries should belong to |
{- "items": [
- {
- "callbackLogEntryId": 1230001,
- "createdDate": "2019-01-01T07:53:23.450961Z",
- "createdBy": "PLENIGO",
- "createdByType": "SYSTEM",
- "changedDate": "2019-01-01T07:53:23.450961Z",
- "changedBy": "PLENIGO",
- "changedByType": "SYSTEM",
- "entityType": "CUSTOMER",
- "callbackType": "CREATION",
- "entityVersion": "3.0",
- "entityId": "1240003",
- "success": false,
- "erroMsg": "Could not reach host https://www.example.com."
}
]
}Get callback log entry that is identified by the passed callback log entry id.
| callbackLogEntryId required | integer <int64> unique id of the callback log entry |
{- "callbackLogEntryId": 1230001,
- "createdDate": "2019-01-01T07:53:23.450961Z",
- "createdBy": "PLENIGO",
- "createdByType": "SYSTEM",
- "changedDate": "2019-01-01T07:53:23.450961Z",
- "changedBy": "PLENIGO",
- "changedByType": "SYSTEM",
- "entityType": "CUSTOMER",
- "callbackType": "CREATION",
- "entityVersion": "3.0",
- "entityId": "1240003",
- "success": false,
- "erroMsg": "Could not reach host https://www.example.com."
}Executes a purchase for the product represented by the provided voucher code. Only products that are completely free and have no follow up periods that must be paid can be bought that way.
| customerId required | string^[0-9]{1,18}$ unique id of the customer the checkout is for |
| customerSession | string <= 10000 characters active customer session - if a customer id is provided the customer id overrules the session |
| invoiceAddressId | integer <int64> unique id of the invoice address to use |
| deliveryAddressId | integer <int64> unique id of the delivery address to use |
| customerIpAddress required | string <= 45 characters ip address of the customer |
| variantUniqueId | string^[0-9\-a-zA-Z]{2,30}$ unique id of the checkout variant to use |
object (AdditionalData) | |
| voucherCode required | string <= 20 characters voucher code to use |
| overwrittenProductId | string <= 20 characters add a custom product id during the voucher checkout - this is only allowed for a single offer with one single purchase in it |
{- "customerId": "10003",
- "customerIpAddress": "198.51.100.42",
- "voucherCode": "1234-5678-1234"
}{- "orderId": 0
}Summarizes all information of a goodwill purchase before finishing the purchase. This step must be completed before purchase submit.
| invoiceCustomerId required | string^[0-9]{1,18}$ unique id of the customer the invoice belongs to |
| invoiceAddressId required | integer <int64> unique id of the invoice address to use |
| merchantIpAddress required | string <= 45 characters ip address of the merchant |
| purchaseOrderIndicator | string <= 50 characters purchase invoice indicator if provided by the customer |
| variantDeliveryAddressId | integer <int64> variant delivery address for deliveries |
| orderDate | null or string <date-time> date time the order was done if differs from start date with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
object (AdditionalData) additional data associated with this order | |
required | Array of objects (GoodwillCheckoutReceiver) [ 1 .. 100 ] items delivery customers that receive the goodwill products |
{- "invoiceCustomerId": "27001",
- "invoiceAddressId": 15000,
- "merchantIpAddress": "198.51.100.42",
- "purchaseOrderIndicator": "PI-34A345",
- "additionalData": {
- "affiliateId": "AID-32473",
- "partnerId": "PartnerOne",
- "utm": {
- "campaign": "product launch",
- "term": "something",
- "content": "Test1"
}, - "data": {
- "key": "value"
}
}, - "receivers": [
- {
- "customerId": "27100",
- "addressId": 15100,
- "item": {
- "deliveryListId": 1456,
- "deliveryListDateId": 3467,
- "quantity": 2
}
}, - {
- "customerId": "27101",
- "addressId": 15101,
- "item": {
- "deliveryListId": 1453,
- "deliveryListDateId": 3457,
- "quantity": 2
}
}
]
}{- "purchaseOrderId": "string",
- "purchaseBlocked": true,
- "contractCompanyId": "string",
- "companyId": "string",
- "companyName": "string",
- "companyCountry": "string",
- "currency": "string",
- "invoiceCountry": "string",
- "ipAddress": "string",
- "pspType": "string",
- "additionalPspTypes": [
- "string"
], - "paymentMethod": "string",
- "paymentMethodId": 0,
- "purchaseOrderIndicator": "string",
- "analogInvoice": true,
- "deliveryInPast": true,
- "orderDate": "2019-08-24T14:15:22Z",
- "subscriptionStartDate": "2019-08-24T14:15:22Z",
- "referenceStartDate": "2019-08-24T14:15:22Z",
- "nextBookingDate": "2019-08-24T14:15:22Z",
- "customer": {
- "username": "string",
- "email": "user@example.com",
- "externalSystemId": "string",
- "salutation": "DIVERSE",
- "firstName": "string",
- "lastName": "string",
- "invoiceEmail": "user@example.com",
- "language": "st",
- "mobileNumber": "string",
- "birthday": "2019-08-24",
- "miscellaneousData": {
- "leitwegId": "string"
}, - "status": "ACTIVATED",
- "customerId": "string",
- "invoiceAddress": {
- "businessAddress": true,
- "salutation": "DIVERSE",
- "title": "string",
- "firstName": "string",
- "lastName": "string",
- "companyName": "string",
- "additionalCompanyInfo": "string",
- "street": "string",
- "streetNumber": "string",
- "additionalStreetInfo": "string",
- "postbox": "string",
- "postcode": "string",
- "city": "string",
- "state": "st",
- "country": "st",
- "vatNumber": "string",
- "phoneNumber": "string",
- "deliveryInformation": "string",
- "academicTitle": "string",
- "jobPosition": "string",
- "email": null,
- "validationStatus": "NONE",
- "validationHash": "string",
- "preferred": true,
- "type": "INVOICE",
- "customerId": "string",
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "addressId": 0
}, - "variantDeliveryAddress": {
- "businessAddress": true,
- "salutation": "DIVERSE",
- "title": "string",
- "firstName": "string",
- "lastName": "string",
- "companyName": "string",
- "additionalCompanyInfo": "string",
- "street": "string",
- "streetNumber": "string",
- "additionalStreetInfo": "string",
- "postbox": "string",
- "postcode": "string",
- "city": "string",
- "state": "st",
- "country": "st",
- "vatNumber": "string",
- "phoneNumber": "string",
- "deliveryInformation": "string",
- "academicTitle": "string",
- "jobPosition": "string",
- "email": null,
- "validationStatus": "NONE",
- "validationHash": "string",
- "preferred": true,
- "type": "INVOICE",
- "customerId": "string",
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "addressId": 0
}, - "deliveryAddress": {
- "businessAddress": true,
- "salutation": "DIVERSE",
- "title": "string",
- "firstName": "string",
- "lastName": "string",
- "companyName": "string",
- "additionalCompanyInfo": "string",
- "street": "string",
- "streetNumber": "string",
- "additionalStreetInfo": "string",
- "postbox": "string",
- "postcode": "string",
- "city": "string",
- "state": "st",
- "country": "st",
- "vatNumber": "string",
- "phoneNumber": "string",
- "deliveryInformation": "string",
- "academicTitle": "string",
- "jobPosition": "string",
- "email": null,
- "validationStatus": "NONE",
- "validationHash": "string",
- "preferred": true,
- "type": "INVOICE",
- "customerId": "string",
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "addressId": 0
}, - "paymentMethods": {
- "blockedPaymentMethods": [
- "AMAZON_PAY"
], - "amazonPayAccounts": [
- {
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "amazonPayAccountId": 0,
- "chargePermissionId": "string",
- "preferred": true,
- "customerId": "string",
- "active": true
}
], - "bankAccounts": [
- {
- "owner": "string",
- "iban": "stringstringstring",
- "bic": "stringst",
- "preferred": true,
- "invalid": true,
- "mandateId": "string",
- "mandateDate": "2019-08-24",
- "pspMandateId": "string",
- "paymentProvider": "AMAZON",
- "providerToken": "string",
- "customerId": "string",
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "bankAccountId": 0,
- "active": true
}
], - "creditCards": [
- {
- "owner": "string",
- "cardType": "VISA",
- "providerToken": "string",
- "obfuscatedNumber": "string",
- "validTo": "2019-08-24",
- "issuer": "string",
- "preferred": true,
- "invalid": true,
- "customerId": "string",
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "creditCardId": 0,
- "paymentProvider": "AMAZON",
- "active": true
}
], - "payPalAccounts": [
- {
- "billingAgreementId": "string",
- "preferred": true,
- "invalid": true,
- "customerId": "string",
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "payPalAccountId": 0,
- "active": true
}
], - "iDealAccounts": [
- {
- "owner": "string",
- "obfuscatedIban": "string",
- "pspAccountId": "string",
- "fingerprint": "string",
- "preferred": true,
- "invalid": true,
- "customerId": "string",
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "iDealAccountId": 0,
- "active": true
}
], - "twintAccounts": [
- {
- "chargePermissionId": "string",
- "preferred": true,
- "invalid": true,
- "customerId": "string",
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "twintAccountId": 0,
- "active": true
}
], - "vippsAgreements": [
- {
- "agreementId": "string",
- "providerReferenceId": "string",
- "preferred": true,
- "invalid": true,
- "customerId": "string",
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "vippsAgreementId": 0,
- "active": true
}
]
}
}, - "allowedPaymentMethods": [
- {
- "paymentMethod": "AMAZON_PAY"
}
], - "additionalData": {
- "affiliateId": "string",
- "partnerId": "string",
- "sourceId": "string",
- "utm": {
- "source": "string",
- "medium": "string",
- "campaign": "string",
- "term": "string",
- "content": "string"
}, - "data": {
- "property1": "string",
- "property2": "string"
}
}, - "offers": [
- {
- "customer": {
- "username": "string",
- "email": "user@example.com",
- "externalSystemId": "string",
- "salutation": "DIVERSE",
- "firstName": "string",
- "lastName": "string",
- "invoiceEmail": "user@example.com",
- "language": "st",
- "mobileNumber": "string",
- "birthday": "2019-08-24",
- "miscellaneousData": {
- "leitwegId": "string"
}, - "status": "ACTIVATED",
- "customerId": "string",
- "invoiceAddress": {
- "businessAddress": true,
- "salutation": "DIVERSE",
- "title": "string",
- "firstName": "string",
- "lastName": "string",
- "companyName": "string",
- "additionalCompanyInfo": "string",
- "street": "string",
- "streetNumber": "string",
- "additionalStreetInfo": "string",
- "postbox": "string",
- "postcode": "string",
- "city": "string",
- "state": "st",
- "country": "st",
- "vatNumber": "string",
- "phoneNumber": "string",
- "deliveryInformation": "string",
- "academicTitle": "string",
- "jobPosition": "string",
- "email": null,
- "validationStatus": "NONE",
- "validationHash": "string",
- "preferred": true,
- "type": "INVOICE",
- "customerId": "string",
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "addressId": 0
}, - "variantDeliveryAddress": {
- "businessAddress": true,
- "salutation": "DIVERSE",
- "title": "string",
- "firstName": "string",
- "lastName": "string",
- "companyName": "string",
- "additionalCompanyInfo": "string",
- "street": "string",
- "streetNumber": "string",
- "additionalStreetInfo": "string",
- "postbox": "string",
- "postcode": "string",
- "city": "string",
- "state": "st",
- "country": "st",
- "vatNumber": "string",
- "phoneNumber": "string",
- "deliveryInformation": "string",
- "academicTitle": "string",
- "jobPosition": "string",
- "email": null,
- "validationStatus": "NONE",
- "validationHash": "string",
- "preferred": true,
- "type": "INVOICE",
- "customerId": "string",
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "addressId": 0
}, - "deliveryAddress": {
- "businessAddress": true,
- "salutation": "DIVERSE",
- "title": "string",
- "firstName": "string",
- "lastName": "string",
- "companyName": "string",
- "additionalCompanyInfo": "string",
- "street": "string",
- "streetNumber": "string",
- "additionalStreetInfo": "string",
- "postbox": "string",
- "postcode": "string",
- "city": "string",
- "state": "st",
- "country": "st",
- "vatNumber": "string",
- "phoneNumber": "string",
- "deliveryInformation": "string",
- "academicTitle": "string",
- "jobPosition": "string",
- "email": null,
- "validationStatus": "NONE",
- "validationHash": "string",
- "preferred": true,
- "type": "INVOICE",
- "customerId": "string",
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "addressId": 0
}, - "paymentMethods": {
- "blockedPaymentMethods": [
- "AMAZON_PAY"
], - "amazonPayAccounts": [
- {
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "amazonPayAccountId": 0,
- "chargePermissionId": "string",
- "preferred": true,
- "customerId": "string",
- "active": true
}
], - "bankAccounts": [
- {
- "owner": "string",
- "iban": "stringstringstring",
- "bic": "stringst",
- "preferred": true,
- "invalid": true,
- "mandateId": "string",
- "mandateDate": "2019-08-24",
- "pspMandateId": "string",
- "paymentProvider": "AMAZON",
- "providerToken": "string",
- "customerId": "string",
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "bankAccountId": 0,
- "active": true
}
], - "creditCards": [
- {
- "owner": "string",
- "cardType": "VISA",
- "providerToken": "string",
- "obfuscatedNumber": "string",
- "validTo": "2019-08-24",
- "issuer": "string",
- "preferred": true,
- "invalid": true,
- "customerId": "string",
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "creditCardId": 0,
- "paymentProvider": "AMAZON",
- "active": true
}
], - "payPalAccounts": [
- {
- "billingAgreementId": "string",
- "preferred": true,
- "invalid": true,
- "customerId": "string",
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "payPalAccountId": 0,
- "active": true
}
], - "iDealAccounts": [
- {
- "owner": "string",
- "obfuscatedIban": "string",
- "pspAccountId": "string",
- "fingerprint": "string",
- "preferred": true,
- "invalid": true,
- "customerId": "string",
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "iDealAccountId": 0,
- "active": true
}
], - "twintAccounts": [
- {
- "chargePermissionId": "string",
- "preferred": true,
- "invalid": true,
- "customerId": "string",
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "twintAccountId": 0,
- "active": true
}
], - "vippsAgreements": [
- {
- "agreementId": "string",
- "providerReferenceId": "string",
- "preferred": true,
- "invalid": true,
- "customerId": "string",
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "vippsAgreementId": 0,
- "active": true
}
]
}
}, - "offerInfo": [
- {
- "texts": {
- "description": "string",
- "legalText": "string",
- "summaryText": "string",
- "withdrawalInstruction": "string"
}, - "checkoutOfferId": "string",
- "plenigoOfferId": "stringstringstringst",
- "connectedCompanyId": "string",
- "connectedCompanyName": "string",
- "title": "string",
- "titleAdditions": "string",
- "logoUrl": "string",
- "logoAltText": "string",
- "subscriptions": [
- {
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "chainId": 0,
- "externalSystemId": "string",
- "term": 100,
- "termTimeSpan": "DAY",
- "durationPeriod": 100,
- "durationPeriodTimeSpan": "DAY",
- "accountingPeriod": 100,
- "accountingPeriodTimeSpan": "DAY",
- "cancellationPeriod": 100,
- "cancellationPeriodTimeSpan": "DAY",
- "finishedDeliveries": 0,
- "openDeliveries": 0,
- "deliveries": 0,
- "chargeableDeliveries": 0,
- "subscriptionDeliveries": {
- "chargeableDeliveries": 0,
- "deliveries": 0,
- "openDeliveries": 0,
- "finishedDeliveries": 0,
- "goodwillDeliveries": 0,
- "deliveriesBeforeCancellation": 0,
- "deliveriesAfterCancellation": 0,
- "irregularDeliveries": 0
}, - "recurringDeliveries": true,
- "startDate": "2019-08-24T14:15:22Z",
- "referenceStartDate": null,
- "endDate": "2019-08-24T14:15:22Z",
- "cancellationDate": "2019-08-24T14:15:22Z",
- "status": "ACTIVE",
- "currency": "str",
- "paymentMethod": "AMAZON_PAY",
- "accessBlocked": true,
- "firstBookingDate": "2019-08-24",
- "lastBookingDate": "2019-08-24",
- "nextBookingDate": "2019-08-24",
- "precursorReason": "ACTION",
- "precursorReasonDetail": "string",
- "successorReason": "ACTION",
- "successorReasonDetail": "string",
- "managedBy": "PLENIGO",
- "purchaseOrderIndicator": "string",
- "analogInvoice": true,
- "suppressInvoiceSending": true,
- "plenigoOfferId": "stringstringstringst",
- "paymentTriesDone": 100,
- "externalBilling": true,
- "customerCancellationBlocked": true,
- "cancellationReasonUniqueId": "string",
- "subscriptionType": "CREDIT_BASED",
- "cancellationType": "CREDIT_BASED",
- "activePartners": [
- "string"
], - "deliveryPaused": {
- "startPauseDate": "2019-08-24",
- "endPauseDate": "2019-08-24",
- "pauseType": "PAYMENT_ONLY"
}, - "paused": {
- "startPauseDate": "2019-08-24",
- "endPauseDate": "2019-08-24",
- "pauseType": "PAYMENT_ONLY"
}, - "paymentPaused": {
- "startPauseDate": "2019-08-24",
- "endPauseDate": "2019-08-24",
- "pauseType": "PAYMENT_ONLY"
}, - "multiuserSettings": {
- "onlyBundledUsage": true,
- "enableSelfService": true,
}, - "description": "string",
- "legalText": "string",
- "summaryText": "string",
- "withdrawalInstruction": "string",
- "priceToPay": 0,
- "netPriceToPay": 0,
- "items": [
- { }
], - "followUpSubscription": { },
- "connectedOfferInfo": { }
}
], - "individualPurchases": [
- { }
], - "misuseRuleId": 0,
- "misuseRuleUsedId": 0,
- "misuseRuleUsed": true,
- "misuseRuleTitle": "string",
- "misuseRuleDescription": "string",
- "salesStop": true,
- "salesStopText": "string",
- "successor": true,
- "successorPlenigoOfferId": "string",
- "successorText": "string",
- "invoiceAddressMandatory": true,
- "deliveryAddressMandatory": true,
- "ignoreInvoiceAddressValidation": true,
- "ignoreDeliveryAddressValidation": true,
- "fixedStartDate": "2019-08-24T14:15:22Z",
- "multiplePurchases": true,
- "offerCustomization": { },
- "allowedPaymentMethods": [
- "string"
], - "corporateAccountUsers": 0,
- "managedBy": "string",
- "availability": "string",
- "possibleStartDates": [
- "2019-08-24T14:15:22Z"
], - "possibleOfferStartDateInfo": { },
- "useOnlyStartDates": true,
- "shoppingCartDetails": { },
- "addons": {
- "property1": [
- { }
], - "property2": [
- { }
]
}, - "activePartners": [
- "string"
]
}
]
}
]
}Purchases a free product for a given customer. The product must be free of charge and if it is a subscription all the steps must be free of charge.
| customerId required | string^[0-9]{1,18}$ unique id of the customer the checkout is for |
| customerSession | string <= 10000 characters active customer session - if a customer id is provided the customer id overrules the session |
| invoiceAddressId | integer <int64> unique id of the invoice address to use |
| deliveryAddressId | integer <int64> unique id of the delivery address to use |
| customerIpAddress required | string <= 45 characters ip address of the customer |
| variantUniqueId | string^[0-9\-a-zA-Z]{2,30}$ unique id of the checkout variant to use |
object (AdditionalData) | |
required | object or object (CheckoutOffer) |
{- "customerId": "10003",
- "customerIpAddress": "198.51.100.42",
- "offer": {
- "plenigoOfferId": "O_12341423124DF",
- "title": "free offer",
- "quantity": 1
}
}{- "orderId": 0
}Prepares everything for a purchase that a customer is supposed to do. The purchase order id returned is only valid a limited time so this method should be called in time before the customer is sent to the checkout.
| customerId | string^[0-9]{1,18}$ unique id of the customer the checkout is for |
| customerSession | string <= 10000 characters active customer session - if a customer id is provided the customer id overrules the session |
| invoiceAddressId | integer <int64> unique id of the invoice address to use |
| deliveryAddressId | integer <int64> unique id of the delivery address to use |
| customerIpAddress required | string <= 45 characters ip address of the customer |
| showNetPrices | boolean flag indicating if net prices should be shown during checkout |
| paymentOnly | boolean flag indicating that the checkout should only show payment information |
| forcePaymentMethod | string Enum: "AMAZON_PAY" "APPLE_PAY" "BANK_ACCOUNT" "BILLING" "CREDIT_CARD" "GOOGLE_PAY" "IDEAL" "PAYPAL" "POSTFINANCE" "SOFORT" "TWINT" "VIPPS" "ZERO" force checkout to use a specific payment method |
| basketId | string <= 40 characters unique id of the plenigo basket |
| allowMultiplePurchases | boolean flag indicating if product can be bought multiple times - a user will be able to pay the same product twice |
| startWithVoucherInput | boolean flag indicating if checkout process should start with a voucher input field - this field is only a hint for the visual representation and if you don't use the plenigo iFrame checkout the logic must be implemented on your side |
| hideVoucherInput | boolean flag indicating if checkout process should hide the voucher input field - this field is only a hint for the visual representation and if you don't use the plenigo iFrame checkout the logic must be implemented on your side |
| allowedPaymentMethods | Array of strings Items Enum: "AMAZON_PAY" "APPLE_PAY" "BANK_ACCOUNT" "BILLING" "CREDIT_CARD" "GOOGLE_PAY" "IDEAL" "PAYPAL" "POSTFINANCE" "SOFORT" "TWINT" "VIPPS" "ZERO" possibility for additional restrictions of payment methods - only payment methods provided here and configured in the backend are allowed during checkout |
| language | string <= 2 characters language to use during checkout - two letter language code according to ISO 639-1 |
| debugMode | boolean flag indicating if debug information should be shown during purchase process |
| subscriptionStartDate | string or null <date-time> optional start date of subscriptions with date notation as defined for example, 2017-07-21 |
object (CheckoutAddressSettings) additional address settings | |
| giftOption | string Enum: "FORCE_GIFT_OPTION" "HIDE_GIFT_OPTION" "SHOW_GIFT_OPTION" "PRESELECT_GIFT_OPTION" flag that controls if the checkout should be run as a gift checkout, should show a gift checkout box or hide it - the default value is HIDE_GIFT_OPTION |
object (AdditionalData) additional data associated with this order | |
| voucherCode | string voucher code - if voucher code is provided no items must be provided |
Array of objects or objects (CheckoutOffer) offers that should be sold via checkout | |
Array of objects (ConnectedOfferRequest) connected offers that should be sold via checkout | |
| variantUniqueId | string^[0-9\-a-zA-Z]{2,30}$ unique id of the checkout variant to use |
{- "customerIpAddress": "198.51.100.42",
- "items": [
- {
- "plenigoOfferId": "O_12341423124DF",
- "title": "offer 1",
- "quantity": 1
}, - {
- "plenigoOfferId": "O_34234234234AB",
- "title": "offer 2",
- "quantity": 1
}
]
}{- "purchaseId": "string"
}Search all corporate accounts that correspond to the given search conditions.
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
| endingBefore | string <= 100 characters A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list. |
| corporateAccountId | integer <int64> unique id of the corporate account |
{- "items": [
- {
- "corporateAccountId": 9310,
- "customerId": "100003",
- "title": "A new offer",
- "plenigoOfferId": "O_123456789123456789",
- "usersAmount": 5,
- "users": [
- {
- "corporateAccountUserId": 9401,
- "email": "wildflower@example.com",
- "salutation": "MR",
- "firstName": "John",
- "lastName": "Doe",
- "status": "ACTIVE",
- "customerId": "100006",
- "corporateAccountCode": "123456789123"
}
], - "accessRightItems": [
- {
- "lifeTimeStart": "2019-01-01T07:53:23.450961Z",
- "lifeTimeEnd": "2020-01-01T07:53:23.450961Z",
- "accessTimeStart": "06:00:00",
- "accessTimeEnd": "18:00:00",
- "maxCacheDate": "2020-01-01T07:53:23.450961Z",
- "data": {
- "key": "value"
}, - "blocked": false,
- "accessRightItemId": "P_TTA1E7173120881551",
- "internAccessRightItemId": "P_TTA1E7173120881551",
- "productId": "P_TTA1E7173120881551",
- "plenigoOfferId": "O_TTA1E7173120881552",
- "plenigoProductId": "P_TTA1E7173120881551",
- "plenigoStepId": "S_TTA1E7173120881553",
- "accessRightUniqueId": "UNIQUE-ID",
- "itemType": "SUBSCRIPTION_ITEM",
- "itemId": "7212"
}
]
}
]
}Check if a corporate account user code is valid.
| code required | string [ 16 .. 19 ] characters unique code for the corporate account user |
{- "code": "1234-5678-9123-4567"
}{- "corporateAccountId": 9310,
- "plenigoOfferId": "O_123456789123456789",
- "status": "INVITED"
}Search all corporate accounts of the customer that correspond to the given search conditions.
| customerId required | string unique id of the customer |
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
| endingBefore | string <= 100 characters A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list. |
{- "items": [
- {
- "corporateAccountId": 9310,
- "customerId": "100003",
- "title": "A new offer",
- "plenigoOfferId": "O_123456789123456789",
- "usersAmount": 5,
- "users": [
- {
- "corporateAccountUserId": 9401,
- "email": "wildflower@example.com",
- "salutation": "MR",
- "firstName": "John",
- "lastName": "Doe",
- "status": "ACTIVE",
- "customerId": "100006",
- "corporateAccountCode": "123456789123"
}
], - "accessRightItems": [
- {
- "lifeTimeStart": "2019-01-01T07:53:23.450961Z",
- "lifeTimeEnd": "2020-01-01T07:53:23.450961Z",
- "accessTimeStart": "06:00:00",
- "accessTimeEnd": "18:00:00",
- "maxCacheDate": "2020-01-01T07:53:23.450961Z",
- "data": {
- "key": "value"
}, - "blocked": false,
- "accessRightItemId": "P_TTA1E7173120881551",
- "internAccessRightItemId": "P_TTA1E7173120881551",
- "productId": "P_TTA1E7173120881551",
- "plenigoOfferId": "O_TTA1E7173120881552",
- "plenigoProductId": "P_TTA1E7173120881551",
- "plenigoStepId": "S_TTA1E7173120881553",
- "accessRightUniqueId": "UNIQUE-ID",
- "itemType": "SUBSCRIPTION_ITEM",
- "itemId": "7212"
}
]
}
]
}Use a corporate account user code.
| customerId required | string unique id of the customer |
| code required | string [ 16 .. 19 ] characters unique code for the corporate account user |
{- "code": "1234-5678-9123-4567"
}{- "success": true
}Get the corporate account of the customer.
| customerId required | string unique id of the customer |
| corporateAccountId required | integer <int64> unique id of the corporate account |
{- "corporateAccountId": 9310,
- "customerId": "100003",
- "title": "A new offer",
- "plenigoOfferId": "O_123456789123456789",
- "usersAmount": 5,
- "users": [
- {
- "corporateAccountUserId": 9401,
- "email": "wildflower@example.com",
- "salutation": "MR",
- "firstName": "John",
- "lastName": "Doe",
- "status": "INVITED",
- "corporateAccountCode": "1234567891234567"
}
], - "accessRightItems": [
- {
- "lifeTimeStart": "2019-01-01T07:53:23.450961Z",
- "lifeTimeEnd": "2020-01-01T07:53:23.450961Z",
- "accessTimeStart": "06:00:00",
- "accessTimeEnd": "18:00:00",
- "maxCacheDate": "2020-01-01T07:53:23.450961Z",
- "data": {
- "key": "value"
}, - "blocked": false,
- "accessRightItemId": "P_TTA1E7173120881551",
- "internAccessRightItemId": "P_TTA1E7173120881551",
- "productId": "P_TTA1E7173120881551",
- "plenigoOfferId": "O_TTA1E7173120881552",
- "plenigoProductId": "P_TTA1E7173120881551",
- "plenigoStepId": "S_TTA1E7173120881553",
- "accessRightUniqueId": "UNIQUE-ID",
- "itemType": "SUBSCRIPTION_ITEM",
- "itemId": "7212"
}
]
}Create a corporate account user for the given corporate account.
| customerId required | string unique id of the customer |
| corporateAccountId required | integer <int64> unique id of the corporate account |
| sendMail | boolean flag indicating if an email should be send |
| email required | string <email> <= 100 characters email address of the customer that should belong to this corporate account user |
| salutation required | string Enum: "DIVERSE" "MR" "MRS" "NONE" salutation to identify the correct designation of a customer |
| firstName required | string <= 100 characters first name of the customer - first name and last name or company name are required |
| lastName required | string <= 100 characters last name of the customer - first name and last name or company name are required |
{- "email": "wildflower@example.com",
- "salutation": "MR",
- "firstName": "John",
- "lastName": "Doe"
}{- "corporateAccountId": 9310,
- "customerId": "100003",
- "title": "A new offer",
- "plenigoOfferId": "O_123456789123456789",
- "usersAmount": 5,
- "users": [
- {
- "corporateAccountUserId": 9401,
- "email": "wildflower@example.com",
- "salutation": "MR",
- "firstName": "John",
- "lastName": "Doe",
- "status": "INVITED",
- "corporateAccountCode": "1234567891234567"
}
], - "accessRightItems": [
- {
- "lifeTimeStart": "2019-01-01T07:53:23.450961Z",
- "lifeTimeEnd": "2020-01-01T07:53:23.450961Z",
- "accessTimeStart": "06:00:00",
- "accessTimeEnd": "18:00:00",
- "maxCacheDate": "2020-01-01T07:53:23.450961Z",
- "data": {
- "key": "value"
}, - "blocked": false,
- "accessRightItemId": "P_TTA1E7173120881551",
- "internAccessRightItemId": "P_TTA1E7173120881551",
- "productId": "P_TTA1E7173120881551",
- "plenigoOfferId": "O_TTA1E7173120881552",
- "plenigoProductId": "P_TTA1E7173120881551",
- "plenigoStepId": "S_TTA1E7173120881553",
- "accessRightUniqueId": "UNIQUE-ID",
- "itemType": "SUBSCRIPTION_ITEM",
- "itemId": "7212"
}
]
}Delete a corporate account user for the given corporate account.
| customerId required | string unique id of the customer |
| corporateAccountId required | integer <int64> unique id of the corporate account |
| corporateAccountUserId required | integer <int64> unique id of the corporate account user |
{- "corporateAccountId": 9310,
- "customerId": "100003",
- "title": "A new offer",
- "plenigoOfferId": "O_123456789123456789",
- "usersAmount": 5,
- "users": [
- {
- "corporateAccountUserId": 9401,
- "email": "wildflower@example.com",
- "salutation": "MR",
- "firstName": "John",
- "lastName": "Doe",
- "status": "INVITED",
- "corporateAccountCode": "1234567891234567"
}
], - "accessRightItems": [
- {
- "lifeTimeStart": "2019-01-01T07:53:23.450961Z",
- "lifeTimeEnd": "2020-01-01T07:53:23.450961Z",
- "accessTimeStart": "06:00:00",
- "accessTimeEnd": "18:00:00",
- "maxCacheDate": "2020-01-01T07:53:23.450961Z",
- "data": {
- "key": "value"
}, - "blocked": false,
- "accessRightItemId": "P_TTA1E7173120881551",
- "internAccessRightItemId": "P_TTA1E7173120881551",
- "productId": "P_TTA1E7173120881551",
- "plenigoOfferId": "O_TTA1E7173120881552",
- "plenigoProductId": "P_TTA1E7173120881551",
- "plenigoStepId": "S_TTA1E7173120881553",
- "accessRightUniqueId": "UNIQUE-ID",
- "itemType": "SUBSCRIPTION_ITEM",
- "itemId": "7212"
}
]
}Resend a corporate account user invitation email for the given corporate account.
| customerId required | string unique id of the customer |
| corporateAccountId required | integer <int64> unique id of the corporate account |
| corporateAccountUserId required | integer <int64> unique id of the corporate account user |
{- "success": true
}Search all credit wallets that correspond to the given search conditions.
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
| endingBefore | string <= 100 characters A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list. |
{- "items": [
- {
- "internalTitle": "string",
- "creditCountInvalidation": true,
- "creditValidityTime": 36,
- "creditValidityTimespan": "DAY",
- "translations": [
- {
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "language": "st",
- "title": "string",
- "description": "string",
- "preferred": true
}
], - "uniqueId": "string",
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "creditWalletId": 0
}
]
}Get credit wallet that is identified by the passed credit wallet id.
| creditWalletId required | integer <int64> unique id of the credit wallet |
{- "internalTitle": "string",
- "creditCountInvalidation": true,
- "creditValidityTime": 36,
- "creditValidityTimespan": "DAY",
- "translations": [
- {
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "language": "st",
- "title": "string",
- "description": "string",
- "preferred": true
}
], - "uniqueId": "string",
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "creditWalletId": 0
}Search all cross sellings that correspond to the given search conditions.
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
| endingBefore | string <= 100 characters A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list. |
{- "items": [
- {
- "crossSellingId": 18001,
- "internalTitle": "Update to best product",
- "description": "We offer our customers the best product.",
- "accessStart": "NOW",
- "optional": false,
- "sourceProductTags": [
- {
- "productTagId": 270001,
- "name": "Source product",
- "category": "FLOW",
- "description": "Identifies the source product."
}
], - "targetProductTags": [
- {
- "productTagId": 270003,
- "name": "Target product",
- "category": "FLOW",
- "description": "Identifies the target product."
}
], - "translations": [
- {
- "language": "en",
- "title": "You change to product XYZ",
- "description": "Enjoy the advantages of product XYZ.",
- "preferred": true
}
]
}
]
}Get cross selling that is identified by the passed cross selling id.
| crossSellingId required | integer <int64> unique id of the cross selling |
{- "crossSellingId": 18001,
- "internalTitle": "Update to best product",
- "description": "We offer our customers the best product.",
- "accessStart": "NOW",
- "optional": false,
- "sourceProductTags": [
- {
- "productTagId": 270001,
- "name": "Source product",
- "category": "FLOW",
- "description": "Identifies the source product."
}
], - "targetProductTags": [
- {
- "productTagId": 270003,
- "name": "Target product",
- "category": "FLOW",
- "description": "Identifies the target product."
}
], - "sourceProductTagIds": [
- 270001,
- 270002
], - "targetProductTagIds": [
- 270003,
- 270004
], - "translations": [
- {
- "language": "en",
- "title": "You change to product XYZ",
- "description": "Enjoy the advantages of product XYZ.",
- "preferred": true
}
]
}Search all cancellation reasons that correspond to the given search conditions.
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
| endingBefore | string <= 100 characters A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list. |
{- "items": [
- {
- "customerCancellationReasonId": 120302,
- "createdDate": "2019-01-01T07:53:23.450961Z",
- "createdBy": "PLENIGO",
- "createdByType": "SYSTEM",
- "changedDate": "2019-01-01T07:53:23.450961Z",
- "changedBy": "PLENIGO",
- "changedByType": "SYSTEM",
- "internalTitle": "Too expensive",
- "active": true,
- "priority": 1,
- "uniqueId": "too_expensive",
- "translations": [
- {
- "language": "DE",
- "text": "Too expensive",
- "preferred": true
}
]
}
]
}Get cancellation reasons that is identified by the passed cancellation reasons id.
| customerCancellationReasonId required | string unique id of a customer cancellation reason |
{- "customerCancellationReasonId": 120302,
- "createdDate": "2019-01-01T07:53:23.450961Z",
- "createdBy": "PLENIGO",
- "createdByType": "SYSTEM",
- "changedDate": "2019-01-01T07:53:23.450961Z",
- "changedBy": "PLENIGO",
- "changedByType": "SYSTEM",
- "internalTitle": "Too expensive",
- "active": true,
- "priority": 1,
- "uniqueId": "too_expensive",
- "translations": [
- {
- "language": "DE",
- "text": "Too expensive",
- "preferred": true
}
]
}Search all advertisement opt ins that correspond to the given search conditions.
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
| endingBefore | string <= 100 characters A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list. |
{- "items": [
- {
- "customerOptInId": 120302,
- "createdDate": "2019-01-01T07:53:23.450961Z",
- "createdBy": "PLENIGO",
- "createdByType": "SYSTEM",
- "changedDate": "2019-01-01T07:53:23.450961Z",
- "changedBy": "PLENIGO",
- "changedByType": "SYSTEM",
- "internalTitle": "Main opt in",
- "active": true,
- "uniqueId": "V1.0",
- "includedTypes": [
- "PHONE"
], - "activationTime": "2020-03-21T17:32:12Z",
- "translations": [
- {
- "language": "DE",
- "ssoText": "Accept while registration",
- "checkoutText": "Accept while checkout",
- "preferred": true
}
]
}
]
}Get advertisement opt in that is identified by the passed advertisement opt in id.
| customerOptInId required | string unique id of a customer opt in |
{- "customerOptInId": 120302,
- "createdDate": "2019-01-01T07:53:23.450961Z",
- "createdBy": "PLENIGO",
- "createdByType": "SYSTEM",
- "changedDate": "2019-01-01T07:53:23.450961Z",
- "changedBy": "PLENIGO",
- "changedByType": "SYSTEM",
- "internalTitle": "Main opt in",
- "active": true,
- "uniqueId": "V1.0",
- "includedTypes": [
- "EMAIL",
- "POST"
], - "activationTime": "2020-03-21T17:32:12Z",
- "translations": [
- {
- "language": "DE",
- "ssoText": "Accept while registration",
- "checkoutText": "Accept while checkout",
- "preferred": true
}
]
}Search all terms and conditions that correspond to the given search conditions.
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
| endingBefore | string <= 100 characters A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list. |
{- "items": [
- {
- "customerTermId": 120302,
- "internalTitle": "Main term",
- "active": true,
- "uniqueId": "V1.0",
- "activationTime": "2020-03-21T17:32:12Z",
- "translations": [
- {
- "language": "DE",
- "ssoText": "Accept while registration",
- "checkoutText": "Accept while checkout",
- "preferred": true
}
]
}
]
}Get terms and conditions that is identified by the passed terms and conditions id.
| customerTermId required | string unique id of a customer term |
{- "customerTermId": 120302,
- "internalTitle": "Main term",
- "active": true,
- "uniqueId": "V1.0",
- "activationTime": "2020-03-21T17:32:12Z",
- "translations": [
- {
- "language": "DE",
- "ssoText": "Accept while registration",
- "checkoutText": "Accept while checkout",
- "preferred": true
}
]
}Search all customers that correspond to the given search conditions. It is important to note that email, username, and externalSystemid exclude each other so only one query parameter is used. The defined priority is email, username, externalSystemId.
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
| endingBefore | string <= 100 characters A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list. |
| sort | string <= 4 characters Enum: "ASC" "DESC" The sort of the search, if its desc it will revert to search for a lower startingAfter |
| externalSystemId | string external system id defined by third party systems |
string <email> email to search for | |
| username | string username to search for |
{- "items": [
- {
- "customerId": "100003",
- "username": "wild_flower",
- "email": "wildflower@example.com",
- "invoiceEmail": "wildflower-invoices@example.com",
- "birthday": "2001-03-21",
- "language": "de",
- "mobileNumber": "+14155552671",
- "status": "ACTIVATED"
}
]
}Create a new customer with the data provided.
| username | string <= 100 characters selected username of the customer that is unique for all users |
| email required | string <email> <= 100 characters email address of the customer that is unique for all users. Required if pseudoMail is not provided |
| externalSystemId | string <= 100 characters external system id - can only be set if not set yet |
| salutation | string Enum: "DIVERSE" "MR" "MRS" "NONE" salutation to identify the correct designation of a customer |
| firstName | string <= 100 characters first name of the customer - first name and last name or company name are required |
| lastName | string <= 100 characters last name of the customer - first name and last name or company name are required |
| invoiceEmail | string <email> <= 100 characters email address of the customer where invoices should be sent to |
| language required | string = 2 characters language of the customer - two letter language code according to ISO 639-1 |
| mobileNumber | string <= 100 characters (^\+?[1-9]\d{1,14}$|^$) mobile number of the customer formatted as E.164 |
| birthday | string or null <date> birthday of the customer with full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-01 |
object (CustomerMiscellaneousData) | |
| pseudoEmail | boolean flag indicating that email should be a pseudo email |
| password | string <= 100 characters newly created or updated password of the customer |
| customerId | string^[0-9]{1,18}$ unique id of the customer |
| registrationSource | string <= 100 characters domain, website, app or other source of the customer registration |
| sendWelcomeMail | boolean flag indicating if welcome mail for customer should be sent |
Array of objects (CustomerAddressCreation) addresses that should be directly associated with the customer | |
object (CustomerData) <= 50 properties Key must be a string with a maximum length of 30 characters. |
{- "customerId": "100003",
- "username": "wild_flower",
- "email": "wildflower@example.com",
- "invoiceEmail": "wildflower-invoices@example.com",
- "birthday": "2001-03-21",
- "language": "de",
- "mobileNumber": "+14155552671",
- "status": "ACTIVATED",
- "addresses": [
- {
- "type": "INVOICE",
- "preferred": true,
- "customerId": "100003",
- "businessAddress": true,
- "salutation": "MR",
- "title": "Dr",
- "firstName": "John",
- "lastName": "Doe",
- "companyName": "ARAMARK Ltd.",
- "additionalCompanyInfo": "Subdivision of World Ltd.",
- "street": "Commercial Road",
- "streetNumber": "30",
- "additionalStreetInfo": "Level 5",
- "postcode": "PO1 1AA",
- "city": "Hampshire",
- "country": "GB",
- "vatNumber": "DE123456789"
}
], - "data": {
- "myCustomerId": "1234CustomerId"
}
}{- "customerId": "100003",
- "externalSystemId": "1748-E",
- "username": "wild_flower",
- "email": "wildflower@example.com",
- "salutation": "MR",
- "firstName": "John",
- "lastName": "Doe",
- "invoiceEmail": "wildflower-invoices@example.com",
- "birthday": "2001-03-21",
- "language": "de",
- "mobileNumber": "+14155552671",
- "status": "ACTIVATED",
- "changedDate": "2019-03-21T17:32:12Z",
- "registrationDate": "2019-03-21T17:32:12Z",
- "registrationSource": "www.example.com",
- "twoFactorEnabled": false,
- "addresses": [
- {
- "addressId": 10004,
- "type": "INVOICE",
- "preferred": true,
- "customerId": "100003",
- "businessAddress": true,
- "salutation": "MR",
- "title": "Dr",
- "firstName": "John",
- "lastName": "Doe",
- "companyName": "ARAMARK Ltd.",
- "additionalCompanyInfo": "Subdivision of World Ltd.",
- "street": "Commercial Road",
- "streetNumber": "30",
- "additionalStreetInfo": "Level 5",
- "postcode": "PO1 1AA",
- "city": "Hampshire",
- "country": "GB",
- "vatNumber": "DE123456789"
}
], - "data": {
- "myCustomerId": "1234CustomerId"
}
}Search all additional data of customers.
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
| endingBefore | string <= 100 characters A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list. |
{- "endingBeforeId": "string",
- "startingAfterId": "string",
- "items": [
- {
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "customerId": "string",
- "data": {
- "property1": "string",
- "property2": "string"
}
}
]
}Search all failed login attempts that correspond to the given search conditions.
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
| endingBefore | string <= 100 characters A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list. |
| sort | string <= 4 characters Enum: "ASC" "DESC" The sort of the search, if its desc it will revert to search for a lower startingAfter |
{- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "customerId": "string",
- "loginDate": "2019-08-24T14:15:22Z",
- "browser": "string",
- "os": "string",
- "source": "string",
- "sourceUrl": "string",
- "country": "string",
- "failedCustomerLogInId": 0
}Search all successful login attempts that correspond to the given search conditions.
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
| endingBefore | string <= 100 characters A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list. |
| sort | string <= 4 characters Enum: "ASC" "DESC" The sort of the search, if its desc it will revert to search for a lower startingAfter |
{- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "customerId": "string",
- "loginDate": "2019-08-24T14:15:22Z",
- "browser": "string",
- "os": "string",
- "source": "string",
- "sourceUrl": "string",
- "country": "string",
- "customerLogInId": 0
}Search opt-ins of a company.
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
| sort | string <= 4 characters Enum: "ASC" "DESC" The sort of the search, if its desc it will revert to search for a lower startingAfter |
{- "items": [
- {
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "customerId": "string",
- "optIns": {
- "key": "EMAIL",
- "value": {
- "optInId": 0,
- "uniqueId": "string",
- "changedDate": "2019-08-24T14:15:22Z",
- "status": "NONE"
}
}
}
]
}Search customer by address with given search conditions
| useAnd | boolean flag indicating result should match all set fields |
| firstName | string <= 100 characters First name of the customer |
| lastName required | string <= 100 characters Last name of the customer (required if |
| companyName | string <= 100 characters Company name (required if |
| street | string <= 100 characters Street name |
| postcode required | string <= 100 characters Postcode |
| city | string <= 100 characters City |
| country required | string^[A-Z]{2}$ Country code formatted as ISO 3166-1 alpha-2 |
{- "firstName": "John",
- "lastName": "Doe",
- "companyName": "Example Ltd.",
- "street": "Kensington Road",
- "postcode": "E1 6AN",
- "city": "London",
- "country": "GB"
}{- "endingBeforeId": "string",
- "startingAfterId": "string",
- "items": [
- {
- "addresses": [
- {
- "addressId": 0,
- "businessAddress": true,
- "city": "string",
- "country": "st",
- "postcode": "string",
- "street": "string",
- "streetNumber": "string"
}
], - "email": "user@example.com",
- "firstName": "string",
- "invoiceEmail": "user@example.com",
- "lastName": "string",
- "customerId": "string",
- "username": "string"
}
]
}Get customer that is identified by the passed customer id.
| customerId required | string unique id of the customer |
{- "customerId": "100003",
- "username": "wild_flower",
- "email": "wildflower@example.com",
- "invoiceEmail": "wildflower-invoices@example.com",
- "birthday": "2001-03-21",
- "language": "de",
- "mobileNumber": "+14155552671",
- "status": "ACTIVATED",
- "acceptedTerms": {
- "AEISLQ565BPITQ251O31": {
- "termId": 103300,
- "uniqueId": "V1.0",
- "acceptanceDate": "2020-03-21T17:32:12Z"
}
}
}Update a customer that is identified by the passed customer id with the data provided.
| customerId required | string unique id of the customer |
| includeAccessRightsCheck | boolean flag to include a check if user has active access rights |
| username | string <= 100 characters selected username of the customer that is unique for all users |
string <email> <= 100 characters email address of the customer that is unique for all users. Required if pseudoMail is not provided | |
| externalSystemId | string <= 100 characters external system id - can only be set if not set yet |
| salutation | string Enum: "DIVERSE" "MR" "MRS" "NONE" salutation to identify the correct designation of a customer |
| firstName | string <= 100 characters first name of the customer - first name and last name or company name are required |
| lastName | string <= 100 characters last name of the customer - first name and last name or company name are required |
| invoiceEmail | string <email> <= 100 characters email address of the customer where invoices should be sent to |
| language required | string = 2 characters language of the customer - two letter language code according to ISO 639-1 |
| mobileNumber | string <= 100 characters (^\+?[1-9]\d{1,14}$|^$) mobile number of the customer formatted as E.164 |
| birthday | string or null <date> birthday of the customer with full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-01 |
object (CustomerMiscellaneousData) | |
| pseudoEmail | boolean flag indicating that email should be a pseudo email |
| password | string <= 100 characters newly created or updated password of the customer |
| processingBlocked | boolean Flag to indicate to third party systems that the customer is blocked for further processing and should not be used for advertisement, etc. Can be used in combination with the pseudoEmail flag to handle data protection requests without deletion of a customer. |
{- "username": "wild_flower",
- "email": "wildflower@example.com",
- "invoiceEmail": "wildflower-invoices@example.com",
- "birthday": "2001-03-21",
- "language": "de",
- "mobileNumber": "+14155552671"
}{- "customerId": "100003",
- "username": "wild_flower",
- "email": "wildflower@example.com",
- "invoiceEmail": "wildflower-invoices@example.com",
- "birthday": "2001-03-21",
- "language": "de",
- "mobileNumber": "+14155552671",
- "status": "ACTIVATED",
- "acceptedTerms": {
- "AEISLQ565BPITQ251O31": {
- "termId": 103300,
- "uniqueId": "V1.0",
- "acceptanceDate": "2020-03-21T17:32:12Z"
}
}
}Delete a customer. This is only possible if customer has no payments done yet.
| customerId required | string unique id of the customer |
| forceDeletion | boolean flag indicating if force deletion |
| includeAccessRightsCheck | boolean flag to include a check if user has active access rights |
{- "success": true
}Get access rights associated with a customer.
| customerId required | string unique id of the customer |
{- "customerId": "100003",
- "customerBlocked": false,
- "createdDate": "2019-01-01T07:53:23.450961Z",
- "createdBy": "PLENIGO",
- "createdByType": "SYSTEM",
- "changedDate": "2019-01-01T07:53:23.450961Z",
- "changedBy": "PLENIGO",
- "changedByType": "SYSTEM",
- "items": [
- {
- "createdDate": "2019-01-01T07:53:23.450961Z",
- "createdBy": "PLENIGO",
- "createdByType": "SYSTEM",
- "changedDate": "2019-01-01T07:53:23.450961Z",
- "changedBy": "PLENIGO",
- "changedByType": "SYSTEM",
- "lifeTimeStart": "2019-01-01T07:53:23.450961Z",
- "lifeTimeEnd": "2020-01-01T07:53:23.450961Z",
- "accessTimeStart": "06:00:00",
- "accessTimeEnd": "18:00:00",
- "maxCacheDate": "2020-01-01T07:53:23.450961Z",
- "data": {
- "key": "value"
}, - "blocked": false,
- "productId": "P_TTA1E7173120881551",
- "plenigoOfferId": "O_TTA1E7173120881552",
- "plenigoProductId": "P_TTA1E7173120881551",
- "plenigoStepId": "S_TTA1E7173120881553",
- "accessRightUniqueId": "UNIQUE-ID",
- "accessRightData": {
- "key": "value"
}, - "itemType": "SUBSCRIPTION_ITEM",
- "itemId": "7212"
}
]
}Returns additional data associated with the customer associated with the provided customer id.
| customerId required | string unique id of the customer |
{- "data": {
- "myCustomerId": "1234CustomerId"
}
}Replace additional data of a customer. All data will be replaced with the new data provided.
| customerId required | string unique id of the customer |
| customerId | string^[0-9]{1,18}$ unique id of the customer |
object (CustomerData) <= 50 properties Key must be a string with a maximum length of 30 characters. |
{- "data": {
- "myCustomerId": "1234CustomerId"
}
}{- "data": {
- "myCustomerId": "1234CustomerId"
}
}Search all addresses that correspond to the given search conditions and belong to the customer identified by the customer id provided.
| customerId required | string unique id of the customer |
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
| endingBefore | string <= 100 characters A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list. |
| sort | string <= 4 characters Enum: "ASC" "DESC" The sort of the search, if its desc it will revert to search for a lower startingAfter |
{- "items": [
- {
- "addressId": 100001,
- "changedDate": "2019-03-21T17:32:12Z",
- "type": "INVOICE",
- "preferred": true,
- "customerId": "100003",
- "businessAddress": true,
- "salutation": "MR",
- "title": "Dr",
- "firstName": "John",
- "lastName": "Doe",
- "companyName": "ARAMARK Ltd.",
- "additionalCompanyInfo": "Subdivision of World Ltd.",
- "street": "Commercial Road",
- "streetNumber": "30",
- "additionalStreetInfo": "Level 5",
- "postcode": "PO1 1AA",
- "city": "Hampshire",
- "country": "GB",
- "vatNumber": "DE123456789"
}
]
}Search all app store orders that correspond to the given search conditions.
| customerId required | string unique id of the customer |
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
| endingBefore | string <= 100 characters A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list. |
| sort | string <= 4 characters Enum: "ASC" "DESC" The sort of the search, if its desc it will revert to search for a lower startingAfter |
{- "endingBeforeId": "string",
- "startingAfterId": "string",
- "items": [
- {
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "appStoreOrderId": 0,
- "orderDate": "2019-08-24T14:15:22Z",
- "customerId": "string",
- "storeType": "APPSTORE",
- "additionalStoreData": {
- "receiptType": "string",
- "adamID": 0,
- "appItemID": "string",
- "bundleID": "string",
- "applicationVersion": "string",
- "downloadID": 0,
- "versionExternalIdentifier": "string",
- "originalApplicationVersion": "string",
- "receiptCreationDate": "2019-08-24T14:15:22Z",
- "requestDate": "2019-08-24T14:15:22Z",
- "originalPurchaseDate": "2019-08-24T14:15:22Z",
- "items": [
- {
- "quantity": "string",
- "productId": "string",
- "transactionId": "string",
- "originalTransactionId": "string",
- "webOrderLineItemId": "string",
- "promotionalOfferId": "string",
- "subscriptionGroupIdentifier": "string",
- "isTrialPeriod": "string",
- "isInIntroOfferPeriod": "string",
- "isUpgraded": "string",
- "expiresDate": "2019-08-24T14:15:22Z",
- "purchaseDate": "2019-08-24T14:15:22Z",
- "originalPurchaseDate": "2019-08-24T14:15:22Z",
- "cancellationDate": "2019-08-24T14:15:22Z",
- "cancellationReason": "string"
}
]
}, - "items": [
- {
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "position": 0,
- "deliveryCustomerId": "string",
- "productId": "string",
- "appStoreSubscriptionId": 0,
- "accessRightUniqueId": "string",
- "additionalStoreItemData": {
- "quantity": "string",
- "productId": "string",
- "transactionId": "string",
- "originalTransactionId": "string",
- "webOrderLineItemId": "string",
- "promotionalOfferId": "string",
- "subscriptionGroupIdentifier": "string",
- "isTrialPeriod": "string",
- "isInIntroOfferPeriod": "string",
- "isUpgraded": "string",
- "expiresDate": "2019-08-24T14:15:22Z",
- "purchaseDate": "2019-08-24T14:15:22Z",
- "originalPurchaseDate": "2019-08-24T14:15:22Z",
- "cancellationDate": "2019-08-24T14:15:22Z",
- "cancellationReason": "string"
}
}
]
}
]
}Search all app store subscriptions that correspond to the given search conditions.
| customerId required | string unique id of the customer |
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
| endingBefore | string <= 100 characters A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list. |
| sort | string <= 4 characters Enum: "ASC" "DESC" The sort of the search, if its desc it will revert to search for a lower startingAfter |
{- "endingBeforeId": "string",
- "startingAfterId": "string",
- "items": [
- {
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "appStoreSubscriptionId": 0,
- "chainId": 0,
- "externalSystemId": "string",
- "customerId": "string",
- "startDate": "2019-08-24T14:15:22Z",
- "endDate": "2019-08-24T14:15:22Z",
- "cancellationDate": "2019-08-24T14:15:22Z",
- "status": "ACTIVE",
- "accessRightUniqueId": "string",
- "plenigoInAppProductId": "string"
}
]
}Changes a customer's email
| customerId required | string unique id of the customer |
string <email> <= 100 characters new email of the customer |
{- "email": "email@example.com"
}{- "customerId": "100003",
- "username": "wild_flower",
- "email": "wildflower@example.com",
- "invoiceEmail": "wildflower-invoices@example.com",
- "birthday": "2001-03-21",
- "language": "de",
- "mobileNumber": "+14155552671",
- "status": "ACTIVATED",
- "acceptedTerms": {
- "AEISLQ565BPITQ251O31": {
- "termId": 103300,
- "uniqueId": "V1.0",
- "acceptanceDate": "2020-03-21T17:32:12Z"
}
}
}Search all foreign orders that correspond to the given search conditions and belong to the customer identified by the customer id provided.
| customerId required | string unique id of the customer |
| size | integer <int32> [ 5 .. 100 ] amount of elements to return - if no size is provided or the size is not within range it will be automatically set to 5 |
| startTime | string <date-time> time the entity was changed after or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| endTime | string <date-time> time the entity was changed before or equal with date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z |
| startingAfter | string <= 100 characters A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next result set. |
| endingBefore | string <= 100 characters A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list. |
| sort | string <= 4 characters Enum: "ASC" "DESC" The sort of the search, if its desc it will revert to search for a lower startingAfter |
{- "items": [
- {
- "orderId": 12200,
- "changedDate": "2019-03-21T17:32:12Z",
- "status": "DONE",
- "type": "ORDER",
- "orderDate": "2019-03-21T17:32:12Z",
- "accumulatedPrice": 12,
- "currency": "EUR",
- "paymentMethod": "PAYPAL",
- "paymentMethodId": 100231,
- "invoiceCustomerId": "100003",
- "invoiceAddress": {
- "businessAddress": true,
- "salutation": "MR",
- "title": "Dr",
- "firstName": "John",
- "lastName": "Doe",
- "companyName": "ARAMARK Ltd.",
- "additionalCompanyInfo": "Subdivision of World Ltd.",
- "street": "Commercial Road",
- "streetNumber": "30",
- "additionalStreetInfo": "Level 5",
- "postcode": "PO1 1AA",
- "city": "Hampshire",
- "country": "GB",
- "vatNumber": "DE123456789"
}, - "items": [
- {
- "position": 1,
- "productId": "P_TTA1E7173120881551",
- "plenigoOfferId": "O_MZA1E7173120881551",
- "plenigoProductId": "P_TTA1E7173120881551",
- "plenigoStepId": "S_DRLEE7173120881551",
- "title": "A simple cup",
- "taxType": "PHYSICALPRODUCT",
- "price": 12,
- "tax": 19,
- "taxCountry": "DE",
- "quantity": 12,
- "deliveryCustomerId": "100003",
- "deliveryAddress": {
- "businessAddress": true,
- "salutation": "MR",
- "title": "Dr",
- "firstName": "John",
- "lastName": "Doe",
- "companyName": "ARAMARK Ltd.",
- "additionalCompanyInfo": "Subdivision of World Ltd.",
- "street": "Commercial Road",
- "streetNumber": "30",
- "additionalStreetInfo": "Level 5",
- "postcode": "PO1 1AA",
- "city": "Hampshire",
- "country": "GB",
- "vatNumber": "DE123456789"
}
}
]
}
]
}ASYNC Every call to this endpoint will return a promise ID and create a GDPR request callback that contains the customer data requested. The callback also returns the promise ID returned by this call to be identified. This endpoint is highly limited because of its expensive nature. You can only call it three times every five seconds. Unlimited requests can be done by an agent via the plenigo merchant backend.
| customerId required | string unique id of the customer |
{- "success": true,
- "promiseId": "0ujsszgFvbiEr7CDgE3z8MAUPFt"
}{- "promiseId": "string",
- "entityType": "APP_STORE_ORDER",
- "callbackType": "CANCELLATION",
- "entityId": 29,
- "entity": {
- "customer": {
- "username": "string",
- "email": "user@example.com",
- "externalSystemId": "string",
- "salutation": "DIVERSE",
- "firstName": "string",
- "lastName": "string",
- "invoiceEmail": "user@example.com",
- "language": "st",
- "mobileNumber": "string",
- "birthday": "2019-08-24",
- "miscellaneousData": {
- "leitwegId": "string"
}, - "status": "ACTIVATED",
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "customerId": "string",
- "registrationSource": "string",
- "registrationDate": "2019-08-24T14:15:22Z",
- "ageVerificationPinEnabled": true,
- "acceptedTerms": {
- "property1": {
- "termId": 0,
- "uniqueId": "string",
- "acceptanceDate": "2019-08-24T14:15:22Z"
}, - "property2": {
- "termId": 0,
- "uniqueId": "string",
- "acceptanceDate": "2019-08-24T14:15:22Z"
}
}, - "ssoLoginProviders": [
- "GOOGLE"
], - "customerMarks": [
- "WBZ"
], - "processingBlocked": true,
- "twoFactorEnabled": true,
- "assignedLabels": [
- {
- "labelId": 0,
- "internal": true,
- "uniqueId": "string"
}
]
}, - "accessRights": {
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "customerId": "string",
- "customerBlocked": true,
- "items": [
- {
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "lifeTimeStart": "2019-08-24T14:15:22Z",
- "lifeTimeEnd": "2019-08-24T14:15:22Z",
- "accessTimeStart": "2019-08-24T14:15:22Z",
- "accessTimeEnd": "2019-08-24T14:15:22Z",
- "pausedTimeStart": "2019-08-24T14:15:22Z",
- "pausedTimeEnd": "2019-08-24T14:15:22Z",
- "maxCacheDate": "2019-08-24T14:15:22Z",
- "data": {
- "property1": "string",
- "property2": "string"
}, - "blocked": true,
- "activePartners": [
- "string"
], - "accessRightUniqueId": "string",
- "productId": "string",
- "plenigoOfferId": "stringstringstringst",
- "plenigoProductId": "stringstringstringst",
- "plenigoStepId": "stringstringstringst",
- "itemType": "APP_STORE_PRODUCT",
- "itemId": "string",
- "foreignItem": true,
- "accessRightData": {
- "property1": "string",
- "property2": "string"
}, - "meteredData": {
- "refreshTime": "2019-08-24T14:15:22Z",
- "meteredCounterId": 0,
- "meteredTime": 0,
- "counter": 0,
- "allowedUsage": 0
}
}
]
}, - "additionalData": {
- "customerId": "string",
- "data": {
- "property1": "string",
- "property2": "string"
}
}, - "addresses": {
- "endingBeforeId": "string",
- "startingAfterId": "string",
- "items": [
- {
- "businessAddress": true,
- "salutation": "DIVERSE",
- "title": "string",
- "firstName": "string",
- "lastName": "string",
- "companyName": "string",
- "additionalCompanyInfo": "string",
- "street": "string",
- "streetNumber": "string",
- "additionalStreetInfo": "string",
- "postbox": "string",
- "postcode": "string",
- "city": "string",
- "state": "st",
- "country": "st",
- "vatNumber": "string",
- "phoneNumber": "string",
- "deliveryInformation": "string",
- "academicTitle": "string",
- "jobPosition": "string",
- "email": null,
- "validationStatus": "NONE",
- "validationHash": "string",
- "preferred": true,
- "type": "INVOICE",
- "customerId": "string",
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "addressId": 0
}
]
}, - "foreignOrders": {
- "endingBeforeId": "string",
- "startingAfterId": "string",
- "items": [
- {
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "orderId": 0,
- "externalSystemId": "string",
- "status": "ACTIVE",
- "type": "ORDER",
- "orderDate": "2019-08-24T14:15:22Z",
- "accumulatedPrice": 0,
- "currency": "str",
- "paymentMethod": "AMAZON_PAY",
- "paymentMethodId": 0,
- "paymentMethodDetails": {
- "brand": "string",
- "issuer": "string"
}, - "purchaseOrderIndicator": "string",
- "invoiceCustomerId": "string",
- "analogInvoice": true,
- "suppressInvoiceSending": true,
- "managedBy": "PLENIGO",
- "activePartners": [
- "string"
], - "giftInfo": {
- "notifyGiftee": true,
- "donorText": "string",
- "gifteeEmail": "user@example.com"
}, - "invoiceAddress": {
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "businessAddress": true,
- "salutation": "DIVERSE",
- "title": "string",
- "firstName": "string",
- "lastName": "string",
- "companyName": "string",
- "additionalCompanyInfo": "string",
- "street": "string",
- "streetNumber": "string",
- "additionalStreetInfo": "string",
- "postbox": "string",
- "postcode": "string",
- "city": "string",
- "state": "st",
- "country": "st",
- "vatNumber": "string",
- "phoneNumber": "string",
- "deliveryInformation": "string",
- "type": "INVOICE"
}, - "appliedRules": {
- "rules": [
- {
- "id": 0,
- "position": 0,
- "type": "AGE_RULE",
- "success": true
}
]
}, - "items": [
- {
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "position": 0,
- "productId": "string",
- "plenigoOfferId": "stringstringstringst",
- "plenigoProductId": "stringstringstringst",
- "plenigoStepId": "stringstringstringst",
- "accessRightUniqueId": "string",
- "title": "string",
- "internalTitle": "string",
- "taxType": "DIGITALPRODUCT",
- "price": 100000,
- "tax": 100,
- "taxCountry": "st",
- "quantity": 1,
- "discountPercentage": 100,
- "costCenter": "string",
- "purchaseNumber": "string",
- "voucherCode": "string",
- "deliveryCustomerId": "string",
- "deliveryAddress": {
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "businessAddress": true,
- "salutation": "DIVERSE",
- "title": "string",
- "firstName": "string",
- "lastName": "string",
- "companyName": "string",
- "additionalCompanyInfo": "string",
- "street": "string",
- "streetNumber": "string",
- "additionalStreetInfo": "string",
- "postbox": "string",
- "postcode": "string",
- "city": "string",
- "state": "st",
- "country": "st",
- "vatNumber": "string",
- "phoneNumber": "string",
- "deliveryInformation": "string",
- "type": "INVOICE"
}, - "subscriptionItemId": 0,
- "externalBilling": true,
- "taxState": "st",
- "purchasedAddonId": 0,
- "validityEndDate": "2019-08-24T14:15:22Z",
- "voucherPurchase": {
- "voucherTemplateId": 0,
- "voucherCode": "string",
- "voucherEndDate": "2019-08-24T14:15:22Z"
}, - "voucherUsage": {
- "purchaseOrderId": 0,
- "purchaseOrderItemPosition": 0
}, - "plenigoAddonId": "stringstringstringst",
- "creditCount": 100000000,
- "creditWalletUniqueId": "string",
- "corporateAccountId": 0,
- "connectedOfferInfo": {
- "contractCompanyId": "string",
- "companyId": "string",
- "productId": "string",
- "plenigoProductId": "stringstringstringst",
- "plenigoStepId": "stringstringstringst"
}, - "multiuserPriceSegments": {
- "multiuserPaymentVariant": "COMPLETE",
- "maxNumberOfUsers": 0,
- "priceSegments": [
- {
- "userCount": null,
- "priceIssueId": null,
- "price": null
}
]
}
}
]
}
]
}, - "invoices": {
- "endingBeforeId": "string",
- "startingAfterId": "string",
- "items": [
- {
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "invoiceId": 0,
- "invoiceDate": "2019-08-24T14:15:22Z",
- "type": "CANCELLATION",
- "status": "PAID",
- "precursorId": 0,
- "successorId": 0,
- "cancellationInvoiceId": 0,
- "accumulatedPrice": 0,
- "currency": "str",
- "paymentMethod": "AMAZON_PAY",
- "paymentMethodId": 0,
- "invoiceCustomerId": "string",
- "customerEmail": "string",
- "transactionId": "string",
- "analogInvoice": true,
- "orderId": 0,
- "purchaseOrderIndicator": "string",
- "paymentChangedToBilling": true,
- "invoiceAddress": {
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "type": "INVOICE",
- "businessAddress": true,
- "salutation": "DIVERSE",
- "title": "string",
- "firstName": "string",
- "lastName": "string",
- "companyName": "string",
- "additionalCompanyInfo": "string",
- "street": "string",
- "streetNumber": "string",
- "additionalStreetInfo": "string",
- "postbox": "string",
- "postcode": "string",
- "city": "string",
- "state": "st",
- "country": "st",
- "vatNumber": "string",
- "phoneNumber": "string"
}, - "items": [
- {
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "position": 0,
- "title": "string",
- "productId": "string",
- "plenigoOfferId": "stringstringstringst",
- "plenigoProductId": "string",
- "plenigoStepId": "stringstringstringst",
- "plenigoAddonId": "stringstringstringst",
- "price": 100000,
- "tax": 100,
- "taxType": "DIGITALPRODUCT",
- "taxCountry": "st",
- "quantity": 1,
- "costCenter": "string",
- "purchaseNumber": "string",
- "purchasedAddonId": 0,
- "subscriptionDeliveries": {
- "chargeableDeliveries": 0,
- "deliveries": 0,
- "openDeliveries": 0,
- "finishedDeliveries": 0,
- "goodwillDeliveries": 0,
- "deliveriesBeforeCancellation": 0,
- "deliveriesAfterCancellation": 0,
- "irregularDeliveries": 0
}, - "multiuserItemPrice": {
- "multiuserPaymentVariant": "COMPLETE",
- "maxNumberOfUsers": 0,
- "priceSegments": [
- {
- "userCount": null,
- "quantity": null,
- "price": null
}
], - "price": 0
}, - "deliveryCustomerId": "string",
- "deliveryAddress": {
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "type": "INVOICE",
- "businessAddress": true,
- "salutation": "DIVERSE",
- "title": "string",
- "firstName": "string",
- "lastName": "string",
- "companyName": "string",
- "additionalCompanyInfo": "string",
- "street": "string",
- "streetNumber": "string",
- "additionalStreetInfo": "string",
- "postbox": "string",
- "postcode": "string",
- "city": "string",
- "state": "st",
- "country": "st",
- "vatNumber": "string",
- "phoneNumber": "string"
}, - "subscriptionItemId": 0,
- "periodStartDate": "2019-08-24T14:15:22Z",
- "periodEndDate": "2019-08-24T14:15:22Z",
- "discountPercentage": 100
}
]
}
]
}, - "orders": {
- "endingBeforeId": "string",
- "startingAfterId": "string",
- "items": [
- {
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "orderId": 0,
- "externalSystemId": "string",
- "status": "ACTIVE",
- "type": "ORDER",
- "orderDate": "2019-08-24T14:15:22Z",
- "accumulatedPrice": 0,
- "currency": "str",
- "paymentMethod": "AMAZON_PAY",
- "paymentMethodId": 0,
- "paymentMethodDetails": {
- "brand": "string",
- "issuer": "string"
}, - "purchaseOrderIndicator": "string",
- "invoiceCustomerId": "string",
- "analogInvoice": true,
- "suppressInvoiceSending": true,
- "managedBy": "PLENIGO",
- "activePartners": [
- "string"
], - "giftInfo": {
- "notifyGiftee": true,
- "donorText": "string",
- "gifteeEmail": "user@example.com"
}, - "invoiceAddress": {
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "businessAddress": true,
- "salutation": "DIVERSE",
- "title": "string",
- "firstName": "string",
- "lastName": "string",
- "companyName": "string",
- "additionalCompanyInfo": "string",
- "street": "string",
- "streetNumber": "string",
- "additionalStreetInfo": "string",
- "postbox": "string",
- "postcode": "string",
- "city": "string",
- "state": "st",
- "country": "st",
- "vatNumber": "string",
- "phoneNumber": "string",
- "deliveryInformation": "string",
- "type": "INVOICE"
}, - "appliedRules": {
- "rules": [
- {
- "id": 0,
- "position": 0,
- "type": "AGE_RULE",
- "success": true
}
]
}, - "items": [
- {
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "position": 0,
- "productId": "string",
- "plenigoOfferId": "stringstringstringst",
- "plenigoProductId": "stringstringstringst",
- "plenigoStepId": "stringstringstringst",
- "accessRightUniqueId": "string",
- "title": "string",
- "internalTitle": "string",
- "taxType": "DIGITALPRODUCT",
- "price": 100000,
- "tax": 100,
- "taxCountry": "st",
- "quantity": 1,
- "discountPercentage": 100,
- "costCenter": "string",
- "purchaseNumber": "string",
- "voucherCode": "string",
- "deliveryCustomerId": "string",
- "deliveryAddress": {
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "businessAddress": true,
- "salutation": "DIVERSE",
- "title": "string",
- "firstName": "string",
- "lastName": "string",
- "companyName": "string",
- "additionalCompanyInfo": "string",
- "street": "string",
- "streetNumber": "string",
- "additionalStreetInfo": "string",
- "postbox": "string",
- "postcode": "string",
- "city": "string",
- "state": "st",
- "country": "st",
- "vatNumber": "string",
- "phoneNumber": "string",
- "deliveryInformation": "string",
- "type": "INVOICE"
}, - "subscriptionItemId": 0,
- "externalBilling": true,
- "taxState": "st",
- "purchasedAddonId": 0,
- "validityEndDate": "2019-08-24T14:15:22Z",
- "voucherPurchase": {
- "voucherTemplateId": 0,
- "voucherCode": "string",
- "voucherEndDate": "2019-08-24T14:15:22Z"
}, - "voucherUsage": {
- "purchaseOrderId": 0,
- "purchaseOrderItemPosition": 0
}, - "plenigoAddonId": "stringstringstringst",
- "creditCount": 100000000,
- "creditWalletUniqueId": "string",
- "corporateAccountId": 0,
- "connectedOfferInfo": {
- "contractCompanyId": "string",
- "companyId": "string",
- "productId": "string",
- "plenigoProductId": "stringstringstringst",
- "plenigoStepId": "stringstringstringst"
}, - "multiuserPriceSegments": {
- "multiuserPaymentVariant": "COMPLETE",
- "maxNumberOfUsers": 0,
- "priceSegments": [
- {
- "userCount": null,
- "priceIssueId": null,
- "price": null
}
]
}
}
]
}
]
}, - "paymentMethods": {
- "blockedPaymentMethods": [
- "AMAZON_PAY"
], - "amazonPayAccounts": [
- {
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "amazonPayAccountId": 0,
- "chargePermissionId": "string",
- "preferred": true,
- "customerId": "string",
- "active": true
}
], - "bankAccounts": [
- {
- "owner": "string",
- "iban": "stringstringstring",
- "bic": "stringst",
- "preferred": true,
- "invalid": true,
- "mandateId": "string",
- "mandateDate": "2019-08-24",
- "pspMandateId": "string",
- "paymentProvider": "AMAZON",
- "providerToken": "string",
- "customerId": "string",
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "bankAccountId": 0,
- "active": true
}
], - "creditCards": [
- {
- "owner": "string",
- "cardType": "VISA",
- "providerToken": "string",
- "obfuscatedNumber": "string",
- "validTo": "2019-08-24",
- "issuer": "string",
- "preferred": true,
- "invalid": true,
- "customerId": "string",
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "creditCardId": 0,
- "paymentProvider": "AMAZON",
- "active": true
}
], - "payPalAccounts": [
- {
- "billingAgreementId": "string",
- "preferred": true,
- "invalid": true,
- "customerId": "string",
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "payPalAccountId": 0,
- "active": true
}
], - "iDealAccounts": [
- {
- "owner": "string",
- "obfuscatedIban": "string",
- "pspAccountId": "string",
- "fingerprint": "string",
- "preferred": true,
- "invalid": true,
- "customerId": "string",
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "iDealAccountId": 0,
- "active": true
}
], - "twintAccounts": [
- {
- "chargePermissionId": "string",
- "preferred": true,
- "invalid": true,
- "customerId": "string",
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "twintAccountId": 0,
- "active": true
}
], - "vippsAgreements": [
- {
- "agreementId": "string",
- "providerReferenceId": "string",
- "preferred": true,
- "invalid": true,
- "customerId": "string",
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "vippsAgreementId": 0,
- "active": true
}
]
}, - "subscriptions": {
- "endingBeforeId": "string",
- "startingAfterId": "string",
- "items": [
- {
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "chainId": 0,
- "externalSystemId": "string",
- "term": 100,
- "termTimeSpan": "DAY",
- "durationPeriod": 100,
- "durationPeriodTimeSpan": "DAY",
- "accountingPeriod": 100,
- "accountingPeriodTimeSpan": "DAY",
- "cancellationPeriod": 100,
- "cancellationPeriodTimeSpan": "DAY",
- "finishedDeliveries": 0,
- "openDeliveries": 0,
- "deliveries": 0,
- "chargeableDeliveries": 0,
- "subscriptionDeliveries": {
- "chargeableDeliveries": 0,
- "deliveries": 0,
- "openDeliveries": 0,
- "finishedDeliveries": 0,
- "goodwillDeliveries": 0,
- "deliveriesBeforeCancellation": 0,
- "deliveriesAfterCancellation": 0,
- "irregularDeliveries": 0
}, - "recurringDeliveries": true,
- "startDate": "2019-08-24T14:15:22Z",
- "referenceStartDate": null,
- "endDate": "2019-08-24T14:15:22Z",
- "cancellationDate": "2019-08-24T14:15:22Z",
- "status": "ACTIVE",
- "currency": "str",
- "paymentMethod": "AMAZON_PAY",
- "accessBlocked": true,
- "firstBookingDate": "2019-08-24",
- "lastBookingDate": "2019-08-24",
- "nextBookingDate": "2019-08-24",
- "precursorReason": "ACTION",
- "precursorReasonDetail": "string",
- "successorReason": "ACTION",
- "successorReasonDetail": "string",
- "managedBy": "PLENIGO",
- "purchaseOrderIndicator": "string",
- "analogInvoice": true,
- "suppressInvoiceSending": true,
- "plenigoOfferId": "stringstringstringst",
- "paymentTriesDone": 100,
- "externalBilling": true,
- "customerCancellationBlocked": true,
- "cancellationReasonUniqueId": "string",
- "subscriptionType": "CREDIT_BASED",
- "cancellationType": "CREDIT_BASED",
- "activePartners": [
- "string"
], - "deliveryPaused": {
- "startPauseDate": "2019-08-24",
- "endPauseDate": "2019-08-24",
- "pauseType": "PAYMENT_ONLY"
}, - "paused": {
- "startPauseDate": "2019-08-24",
- "endPauseDate": "2019-08-24",
- "pauseType": "PAYMENT_ONLY"
}, - "paymentPaused": {
- "startPauseDate": "2019-08-24",
- "endPauseDate": "2019-08-24",
- "pauseType": "PAYMENT_ONLY"
}, - "multiuserSettings": {
- "onlyBundledUsage": true,
- "enableSelfService": true,
}, - "subscriptionId": 0,
- "invoiceCustomerId": "string",
- "invoiceAddressId": 0,
- "deliveryCustomerId": "string",
- "deliveryAddressId": 0,
- "paymentMethodId": 0,
- "paymentMethodDetails": {
- "brand": "string",
- "issuer": "string"
}, - "precursorId": 0,
- "successorId": 0,
- "customerCancellationReasonId": 0,
- "connectedOffer": true,
- "connectedOfferInfo": {
- "contractCompanyId": "string",
- "companyId": "string",
- "customerId": "string",
- "plenigoOfferId": "stringstringstringst"
}, - "items": [
- {
- "createdDate": "2019-08-24T14:15:22Z",
- "changedDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByType": "API",
- "changedBy": "string",
- "changedByType": "API",
- "subscriptionItemId": 0,
- "corporateAccountId": 0,
- "productId": "string",
- "plenigoProductId": "stringstringstringst",
- "plenigoStepId": "stringstringstringst",
- "chainItemId": 0,
- "accessRightUniqueId": "string",
- "title": "string",
- "internalTitle": "string",
- "taxType": "DIGITALPRODUCT",
- "packageTitle": "string",
- "packageId": "string",
- "packageCancellationLocked": true,
- "price": 1000000,
- "priceIssueId": 0,
- "productContractId": 0,
- "discountPercentage": 100,
- "quantity": 1,
- "creditCount": 100000000,