PointOfSaleApi
Use the invoice id returned to start adding invoice items with the {M:NexportVirtualCampus.WebApi.v1.PointOfSaleApiController.AddInvoiceItem(Nexport.WebApi.Model.v1.CreateInvoiceItemRequest)} method. Once all items and payments are recorded use the {M:NexportVirtualCampus.WebApi.v1.PointOfSaleApiController.CommitInvoiceTransaction(Nexport.WebApi.Model.v1.CommitInvoiceRequest)} method to complete this invoice. ###Permissions Requires the Manage Invoices permission in the given organization or an ancestor. If a purchasing group is specified, the purchasing agent must have the Group Purchasing Agent permission in the given group or an ancestor.
Use the AdminApi Authenticate method to get the access_token
Contains fields for creating an invoice
Id of the purchasing agent for the invoice. This must be a user id.
00000000-0000-0000-0000-000000000000Id of the organization that the invoice belongs to. Usually this is the Organization that made the sale.
00000000-0000-0000-0000-000000000000Id of the organization or group that is purchasing this wholesale. This must be the ID of a Group or Organization within your NexPort directory.
00000000-0000-0000-0000-000000000000Optional note for the invoice
Id of the created invoice
Not authorized to manage invoices
Entity not found
Validation exception. See response body for more info.
POST /api/v1/PointOfSaleApi/BeginInvoiceTransaction?access_token=text HTTP/1.1
Host: www.nexportcampus.com
Content-Type: application/json
Accept: */*
Content-Length: 194
{
"purchasing_agent_id": "00000000-0000-0000-0000-000000000000",
"organization_id": "00000000-0000-0000-0000-000000000000",
"purchasing_group_id": "00000000-0000-0000-0000-000000000000",
"note": "text"
}{
"invoice_id": "00000000-0000-0000-0000-000000000000",
"api_error_entity": {
"error_code": 0,
"error_message": "text",
"warning_messages": [
"text"
]
}
}Use the AdminApi Authenticate method to get the access_token
Id of the created invoice
Not authorized to manage invoices
Entity not found
Validation exception. See response body for more info.
POST /api/v1/PointOfSaleApi/GetInvoice?invoice_id=123e4567-e89b-12d3-a456-426614174000&access_token=text HTTP/1.1
Host: www.nexportcampus.com
Accept: */*
{
"id": "00000000-0000-0000-0000-000000000000",
"purchasing_agent": "00000000-0000-0000-0000-000000000000",
"sales_agent": "00000000-0000-0000-0000-000000000000",
"state": 0,
"invoice_items": [
{
"id": "00000000-0000-0000-0000-000000000000",
"product_id": "00000000-0000-0000-0000-000000000000",
"purchasing_group_id": "00000000-0000-0000-0000-000000000000",
"product_type": 0,
"funding_pool": "text",
"utc_redemption_available_date": "2025-11-30T23:02:48.993Z"
}
],
"utc_creation_date": "2025-11-30T23:02:48.993Z",
"utc_date_committed": "2025-11-30T23:02:48.993Z",
"api_error_entity": {
"error_code": 0,
"error_message": "text",
"warning_messages": [
"text"
]
}
}Will returns the invioce item and its redemption ###Permissions Requires current user to be sales agent on the associated invoice OR current user to be purchasing agent on the invoice OR the Manage Invoices permission in the invoice item's invoice organization or an ancestor.
ID of the invoice item to retrieve.
Use the AdminApi Authenticate method to get the access_token
Id of the created invoice
Not authorized to manage invoices
Invoice item or Invoice were not found
Validation exception. See response body for more info.
POST /api/v1/PointOfSaleApi/GetInvoiceItem?invoice_item_id=123e4567-e89b-12d3-a456-426614174000&access_token=text HTTP/1.1
Host: www.nexportcampus.com
Accept: */*
{
"invoice_item": {
"id": "00000000-0000-0000-0000-000000000000",
"product_id": "00000000-0000-0000-0000-000000000000",
"purchasing_group_id": "00000000-0000-0000-0000-000000000000",
"product_type": 0,
"funding_pool": "text",
"utc_redemption_available_date": "2025-11-30T23:02:48.993Z"
},
"invoice_item_redemption": {
"redemption_id": "00000000-0000-0000-0000-000000000000",
"invoice_item_id": "00000000-0000-0000-0000-000000000000",
"invoice_id": "00000000-0000-0000-0000-000000000000",
"redemption_type": 0,
"redemption_enrollment_id": "00000000-0000-0000-0000-000000000000",
"utc_redemption_date": "2025-11-30T23:02:48.993Z",
"utc_expiration_date": "2025-11-30T23:02:48.993Z",
"redemption_user_id": "00000000-0000-0000-0000-000000000000",
"redemption_user_last_name": "text",
"redemption_user_first_name": "text",
"redemption_user_login": "text",
"redemption_user_email": "text",
"redemption_code": "text",
"organization_id": "00000000-0000-0000-0000-000000000000",
"organization_name": "text",
"organization_short_name": "text",
"catalog_id": "00000000-0000-0000-0000-000000000000",
"catalog_name": "text",
"catalog_description": "text",
"catalog_pricing_model": 0,
"catalog_access_time_limit": "text",
"utc_catalog_creation_date": "2025-11-30T23:02:48.993Z",
"utc_catalog_modified_date": "2025-11-30T23:02:48.993Z",
"syllabus_id": "00000000-0000-0000-0000-000000000000",
"syllabus_title": "text",
"syllabus_unique_name": "text",
"syllabus_description": "text",
"syllabus_certificate_id": "00000000-0000-0000-0000-000000000000",
"syllabus_disable_certificates_for_student": true,
"syllabus_credit_hours": 1,
"syllabus_section_number": "text",
"syllabus_section_ceus": "text",
"syllabus_section_duration": "text",
"syllabus_section_objectives": "text",
"utc_syllabus_creation_date": "2025-11-30T23:02:48.993Z",
"utc_syllabus_modified_date": "2025-11-30T23:02:48.993Z",
"api_error_entity": {
"error_code": 0,
"error_message": "text",
"warning_messages": [
"text"
]
}
},
"api_error_entity": {
"error_code": 0,
"error_message": "text",
"warning_messages": [
"text"
]
}
}###Permissions Requires the current user to be the sales agent on the invoice. Also requires the current user to have the Add Subscriptions permission. If a purchasing group is specified, the purchasing agent must have the Group Purchasing Agent permission in the given group or an ancestor.
Use the AdminApi Authenticate method to get the access_token
Contains fields for creating an invoice item
Id of the invoice to create an invoice item for
00000000-0000-0000-0000-000000000000ProductId from GetCatalog/CategorySyllabi
00000000-0000-0000-0000-000000000000Default is Syllabus. Syllabus=0; Catalog=1; ShippingAndHandling=2; Taxes=3; Other=4; OpenEnded=5;0 = Syllabus, 1 = Catalog, 2 = ShippingAndHandling, 3 = Taxes, 4 = Other, 5 = OpenEnded
Cost in USD
Invoice item note
Can be used to set the redemption expiration date once a redemption is created for this invoice item. Redemption expiration will be set based on UtcAccessExpirationDate first if it is set.
Can be used to calculate the redemption expiration date once a redemption is created for this invoice item. Redemption will be set based on AccessExpirationTimeLimit if UtcAccessExpirationDate is not set. Redemption expiration date will be set to redemption date + AccessExpirationTimeLimit.
Can be used to create the subscription within the specified organization for the student when the invoice item is redeemed. Enrollment associated with this invoice item will also be created for the subscription.
00000000-0000-0000-0000-000000000000Used in wholesale purchases to associate invoice items with specific groups or orgs. This means the item was sold to the specified purchasing group. If no group is specified then the purchasing group from the invoice will be used.
00000000-0000-0000-0000-000000000000Can be used to create the membership within the specified groups for the student when the invoice item is redeemed.
Used for organizations to group purchased items and track those groupings.
Used to restrict when a redemption can be created for this invoice item, i.e. redemptions can't be created until after the specified date.
The id of the newly created invoice item
Current user must be invoice sales agent
Entity not found
Validation exception. See response body for more info.
POST /api/v1/PointOfSaleApi/AddInvoiceItem?access_token=text HTTP/1.1
Host: www.nexportcampus.com
Content-Type: application/json
Accept: */*
Content-Length: 506
{
"invoice_id": "00000000-0000-0000-0000-000000000000",
"product_id": "00000000-0000-0000-0000-000000000000",
"product_type": 0,
"cost": 1,
"note": "text",
"utc_access_expiration_date": "2025-11-30T23:02:48.993Z",
"access_expiration_time_limit": "text",
"subscription_org_id": "00000000-0000-0000-0000-000000000000",
"purchasing_group_id": "00000000-0000-0000-0000-000000000000",
"group_membership_ids": [
"00000000-0000-0000-0000-000000000000"
],
"funding_pool": "text",
"utc_redemption_available_date": "2025-11-30T23:02:48.993Z"
}{
"invoice_item_id": "00000000-0000-0000-0000-000000000000",
"api_error_entity": {
"error_code": 0,
"error_message": "text",
"warning_messages": [
"text"
]
}
}###Permissions Requires the current user to be the sales agent on the invoice. Also requires the current user to have the Add Subscriptions permission. If a purchasing group is specified, the purchasing agent must have the Group Purchasing Agent permission in the given group or an ancestor.
Use the AdminApi Authenticate method to get the access_token
This is the number of invoice items to create with the same information.
Id of the invoice to create an invoice item for
00000000-0000-0000-0000-000000000000ProductId from GetCatalog/CategorySyllabi
00000000-0000-0000-0000-000000000000Default is Syllabus. Syllabus=0; Catalog=1; ShippingAndHandling=2; Taxes=3; Other=4; OpenEnded=5;0 = Syllabus, 1 = Catalog, 2 = ShippingAndHandling, 3 = Taxes, 4 = Other, 5 = OpenEnded
Cost in USD
Invoice item note
Can be used to set the redemption expiration date once a redemption is created for this invoice item. Redemption expiration will be set based on UtcAccessExpirationDate first if it is set.
Can be used to calculate the redemption expiration date once a redemption is created for this invoice item. Redemption will be set based on AccessExpirationTimeLimit if UtcAccessExpirationDate is not set. Redemption expiration date will be set to redemption date + AccessExpirationTimeLimit.
Can be used to create the subscription within the specified organization for the student when the invoice item is redeemed. Enrollment associated with this invoice item will also be created for the subscription.
00000000-0000-0000-0000-000000000000Used in wholesale purchases to associate invoice items with specific groups or orgs. This means the item was sold to the specified purchasing group. If no group is specified then the purchasing group from the invoice will be used.
00000000-0000-0000-0000-000000000000Can be used to create the membership within the specified groups for the student when the invoice item is redeemed.
Used for organizations to group purchased items and track those groupings.
Used to restrict when a redemption can be created for this invoice item, i.e. redemptions can't be created until after the specified date.
The list of ids for the newly created invoice items
Current user must be invoice sales agent
Entity not found
Validation exception. See response body for more info.
POST /api/v1/PointOfSaleApi/AddInvoiceItems?access_token=text HTTP/1.1
Host: www.nexportcampus.com
Content-Type: application/json
Accept: */*
Content-Length: 519
{
"quantity": 1,
"invoice_id": "00000000-0000-0000-0000-000000000000",
"product_id": "00000000-0000-0000-0000-000000000000",
"product_type": 0,
"cost": 1,
"note": "text",
"utc_access_expiration_date": "2025-11-30T23:02:48.993Z",
"access_expiration_time_limit": "text",
"subscription_org_id": "00000000-0000-0000-0000-000000000000",
"purchasing_group_id": "00000000-0000-0000-0000-000000000000",
"group_membership_ids": [
"00000000-0000-0000-0000-000000000000"
],
"funding_pool": "text",
"utc_redemption_available_date": "2025-11-30T23:02:48.993Z"
}{
"invoice_item_ids": [
"00000000-0000-0000-0000-000000000000"
],
"api_error_entity": {
"error_code": 0,
"error_message": "text",
"warning_messages": [
"text"
]
}
}Creates a new invoice payment and adds it to the database. Requires the
current user to be the sales agent on the invoice.
Use the AdminApi Authenticate method to get the access_token
Information for creating an invoice payment
Id of the invoice that the payment is for
00000000-0000-0000-0000-000000000000Id of the user collecting payment (not used in 5.2; CurrentUser is used instead)
00000000-0000-0000-0000-000000000000Id of the account that the payment goes to
00000000-0000-0000-0000-000000000000Id of user that payment is being collected from
00000000-0000-0000-0000-000000000000Cash=0; Check=1; PayPal=2; NopCommercePlugin=3; DiscountOrCoupon=4; Other=1000;0 = Cash, 1 = Check, 2 = PayPal, 3 = NopCommercePlugin, 4 = DiscountOrCoupon, 1000 = Other
Id to help track the transaction information for the payment processor
Amount being paid
Date that the payment is made
Optional note for the invoice payment
Id of the created invoice payment
Current user must be invoice sales agent
Entity not found
Validation exception. See response body for more info.
POST /api/v1/PointOfSaleApi/AddInvoicePayment?access_token=text HTTP/1.1
Host: www.nexportcampus.com
Content-Type: application/json
Accept: */*
Content-Length: 365
{
"invoice_id": "00000000-0000-0000-0000-000000000000",
"payment_collector_id": "00000000-0000-0000-0000-000000000000",
"merchant_account_id": "00000000-0000-0000-0000-000000000000",
"payee_id": "00000000-0000-0000-0000-000000000000",
"payment_processor": 0,
"payment_processor_transaction_id": "text",
"amount_usd": 1,
"utc_payment_date": "2025-11-30T23:02:48.993Z",
"note": "text"
}{
"invoice_payment_id": "00000000-0000-0000-0000-000000000000",
"api_error_entity": {
"error_code": 0,
"error_message": "text",
"warning_messages": [
"text"
]
}
}Creates a new invoice scheduled payment and adds it to the database. Requires the
current user to be the sales agent on the invoice.
Use the AdminApi Authenticate method to get the access_token
Information for creating an invoice scheduled payment
Id of the invoice that the payment will be made to
00000000-0000-0000-0000-000000000000Amount of the payment
When the payment is due
Optional note for the scheduled payment
Id of the created invoice scheduled payment
Current user must be invoice sales agent
Entity not found
Validation exception. See response body for more info.
POST /api/v1/PointOfSaleApi/AddInvoiceScheduledPayment?access_token=text HTTP/1.1
Host: www.nexportcampus.com
Content-Type: application/json
Accept: */*
Content-Length: 124
{
"invoice_id": "00000000-0000-0000-0000-000000000000",
"amount_usd": 1,
"utc_due_date": "2025-11-30T23:02:48.993Z",
"note": "text"
}{
"invoice_scheduled_payment_id": "00000000-0000-0000-0000-000000000000",
"api_error_entity": {
"error_code": 0,
"error_message": "text",
"warning_messages": [
"text"
]
}
}This method is used to complete an invoice transaction that was started using {M:NexportVirtualCampus.WebApi.v1.PointOfSaleApiController.BeginInvoiceTransaction(Nexport.WebApi.Model.v1.CreateInvoiceMessageRequest)}.
This method is used to complete an invoice transaction that was started using {M:NexportVirtualCampus.WebApi.v1.PointOfSaleApiController.BeginInvoiceTransaction(Nexport.WebApi.Model.v1.CreateInvoiceMessageRequest)}. NOTE: the auto_redeem functionality has been superceded by the RedeemInvoiceItem method. Use that method instead of setting auto_redeem to true. ###Permissions Requires current user to be the sales agent on the invoice AND the Manage Invoices permission in the invoice organization or an ancestor.
Use the AdminApi Authenticate method to get the access_token
Contains information for committing an invoice and creating redemptions if necessary
Id of the invoice to commit
00000000-0000-0000-0000-000000000000Invoice number and redemption codes
Not authorized to manage invoices
Entity not found
Validation exception. See response body for more info.
POST /api/v1/PointOfSaleApi/CommitInvoiceTransaction?access_token=text HTTP/1.1
Host: www.nexportcampus.com
Content-Type: application/json
Accept: */*
Content-Length: 53
{
"invoice_id": "00000000-0000-0000-0000-000000000000"
}{
"invoice_redemption_code": "text",
"invoice_item_redemption_codes": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"api_error_entity": {
"error_code": 0,
"error_message": "text",
"warning_messages": [
"text"
]
}
}###Permissions Requires current user to be sales agent on the associated invoice OR current user to have the Manage Invoices permission in the invoice organization or an ancestor thereof.
Use the AdminApi Authenticate method to get the access_token
Contains fields for redeeming an invoice item
Id of the invoice item to update
00000000-0000-0000-0000-000000000000Invoice redemption information
Not authorized to manage invoices
Entity not found
Validation exception
POST /api/v1/PointOfSaleApi/UpdateInvoiceItem?access_token=text HTTP/1.1
Host: www.nexportcampus.com
Content-Type: application/json
Accept: */*
Content-Length: 561
{
"invoice_item_id": "00000000-0000-0000-0000-000000000000",
"data": {
"product_id": "00000000-0000-0000-0000-000000000000",
"product_type": 0,
"cost_usd": 1,
"utc_access_expiration_date": "2025-11-30T23:02:48.993Z",
"access_expiration_time_limit": "text",
"note": "text",
"product_code": "text",
"is_renewal": true,
"subscription_org_id": "00000000-0000-0000-0000-000000000000",
"group_memberships": [
"00000000-0000-0000-0000-000000000000"
],
"purchasing_group_id": "00000000-0000-0000-0000-000000000000",
"funding_pool": "text",
"utc_redemption_available_date": "2025-11-30T23:02:48.993Z"
}
}{
"invoice_item_id": "00000000-0000-0000-0000-000000000000",
"invoice_id": "00000000-0000-0000-0000-000000000000",
"api_error_entity": {
"error_code": 0,
"error_message": "text",
"warning_messages": [
"text"
]
}
}###Permissions Requires current user to be sales agent on the invoice OR current user to be purchasing agent on the invoice OR current user to have the Manage Invoices permission in the invoice organization or an ancestor thereof. In order to use the {M:NexportVirtualCampus.WebApi.v1.PointOfSaleApiController.ApplyInvoiceItemUpdates(Nexport.Models.PointOfSale.InvoiceItem,Nexport.WebApi.Model.v1.UpdatedInvoiceFields)} field the current user must be a sales gent or have manage invoices on the org. Purchasing agents can not update the invoice after the fact.
Use the AdminApi Authenticate method to get the access_token
Contains fields for redeeming an invoice item
Id of the invoice item to redeem
00000000-0000-0000-0000-000000000000Id of the redemption to redeem
00000000-0000-0000-0000-000000000000Redemption code on the invoice item to redeem
Id of the user that is redeeming the invoice item
00000000-0000-0000-0000-000000000000Renew redemption updates the expiration on an existing enrollment. Delete finished enrollment will also create a new enrollment. Default is normal redemption (creates an enrollment). NormalRedemption=1; DeleteFinishedEnrollment=20; RenewRedemption=30;0 = InvalidRedemption, 1 = NormalRedemption, 20 = DeleteFinishedEnrollment, 30 = RenewRedemption, 40 = RestartEnrollment
Optional note to be included with the redemption creation audit log.
Name of the remote system redeeming the invoice item, i.e. "Marketplace".
Id of the admin who assigned the redemption. Will be set to current API user if not provided.
00000000-0000-0000-0000-000000000000ProductId from GetCatalog/CategorySyllabi
00000000-0000-0000-0000-000000000000Default is Syllabus. Syllabus=0; Catalog=1; ShippingAndHandling=2; Taxes=3; Other=4; OpenEnded=5;0 = Syllabus, 1 = Catalog, 2 = ShippingAndHandling, 3 = Taxes, 4 = Other, 5 = OpenEnded
Invoice redemption information
Not authorized to manage invoices
Entity not found
Validation exception
POST /api/v1/PointOfSaleApi/RedeemInvoiceItem?access_token=text HTTP/1.1
Host: www.nexportcampus.com
Content-Type: application/json
Accept: */*
Content-Length: 923
{
"invoice_item_id": "00000000-0000-0000-0000-000000000000",
"redemption_id": "00000000-0000-0000-0000-000000000000",
"invoice_item_redemption_code": "text",
"redeeming_user_id": "00000000-0000-0000-0000-000000000000",
"redemption_action_type": 0,
"note": "text",
"remote_system_name": "text",
"redemption_admin_id": "00000000-0000-0000-0000-000000000000",
"product_id": "00000000-0000-0000-0000-000000000000",
"product_type": 0,
"invoice_updates": {
"product_id": "00000000-0000-0000-0000-000000000000",
"product_type": 0,
"cost_usd": 1,
"utc_access_expiration_date": "2025-11-30T23:02:48.993Z",
"access_expiration_time_limit": "text",
"note": "text",
"product_code": "text",
"is_renewal": true,
"subscription_org_id": "00000000-0000-0000-0000-000000000000",
"group_memberships": [
"00000000-0000-0000-0000-000000000000"
],
"purchasing_group_id": "00000000-0000-0000-0000-000000000000",
"funding_pool": "text",
"utc_redemption_available_date": "2025-11-30T23:02:48.993Z"
}
}{
"redemption_id": "00000000-0000-0000-0000-000000000000",
"invoice_item_id": "00000000-0000-0000-0000-000000000000",
"invoice_id": "00000000-0000-0000-0000-000000000000",
"redemption_type": 0,
"redemption_enrollment_id": "00000000-0000-0000-0000-000000000000",
"utc_redemption_date": "2025-11-30T23:02:48.993Z",
"utc_expiration_date": "2025-11-30T23:02:48.993Z",
"redemption_user_id": "00000000-0000-0000-0000-000000000000",
"redemption_user_last_name": "text",
"redemption_user_first_name": "text",
"redemption_user_login": "text",
"redemption_user_email": "text",
"redemption_code": "text",
"organization_id": "00000000-0000-0000-0000-000000000000",
"organization_name": "text",
"organization_short_name": "text",
"catalog_id": "00000000-0000-0000-0000-000000000000",
"catalog_name": "text",
"catalog_description": "text",
"catalog_pricing_model": 0,
"catalog_access_time_limit": "text",
"utc_catalog_creation_date": "2025-11-30T23:02:48.993Z",
"utc_catalog_modified_date": "2025-11-30T23:02:48.993Z",
"syllabus_id": "00000000-0000-0000-0000-000000000000",
"syllabus_title": "text",
"syllabus_unique_name": "text",
"syllabus_description": "text",
"syllabus_certificate_id": "00000000-0000-0000-0000-000000000000",
"syllabus_disable_certificates_for_student": true,
"syllabus_credit_hours": 1,
"syllabus_section_number": "text",
"syllabus_section_ceus": "text",
"syllabus_section_duration": "text",
"syllabus_section_objectives": "text",
"utc_syllabus_creation_date": "2025-11-30T23:02:48.993Z",
"utc_syllabus_modified_date": "2025-11-30T23:02:48.993Z",
"api_error_entity": {
"error_code": 0,
"error_message": "text",
"warning_messages": [
"text"
]
}
}Deletes any existing redemption for an Invoice Item and creates a new one Any enrollments associated with the previous redemption will be expired. This includes enrollments made via catalog based invoice items. ###Permissions You must be the purchasing agent or the sales agent on the associated invoice OR you must have the manage invoices permission on the organization that owns this invoice.
Use the AdminApi Authenticate method to get the access_token
Id of the invoice whose redemption is to be reset
00000000-0000-0000-0000-000000000000Optional note to be included with the redemption creation audit log.
Name of the remote system resetting the invoice item, i.e. "Marketplace".
Id of the admin who assigned the redemption. Will be set to current Api user Id if not provided.
00000000-0000-0000-0000-000000000000Redemption Successfully Deleted
Not authorized to manage invoices
Invoice item was not found
Validation exception
POST /api/v1/PointOfSaleApi/ResetInvoiceRedemption?access_token=text HTTP/1.1
Host: www.nexportcampus.com
Content-Type: application/json
Accept: */*
Content-Length: 167
{
"invoice_item_id": "00000000-0000-0000-0000-000000000000",
"note": "text",
"remote_system_name": "text",
"redemption_reset_admin_id": "00000000-0000-0000-0000-000000000000"
}{
"new-redemption": {
"redemption_id": "00000000-0000-0000-0000-000000000000",
"invoice_item_id": "00000000-0000-0000-0000-000000000000",
"invoice_id": "00000000-0000-0000-0000-000000000000",
"redemption_type": 0,
"redemption_enrollment_id": "00000000-0000-0000-0000-000000000000",
"utc_redemption_date": "2025-11-30T23:02:48.993Z",
"utc_expiration_date": "2025-11-30T23:02:48.993Z",
"redemption_user_id": "00000000-0000-0000-0000-000000000000",
"redemption_user_last_name": "text",
"redemption_user_first_name": "text",
"redemption_user_login": "text",
"redemption_user_email": "text",
"redemption_code": "text",
"organization_id": "00000000-0000-0000-0000-000000000000",
"organization_name": "text",
"organization_short_name": "text",
"catalog_id": "00000000-0000-0000-0000-000000000000",
"catalog_name": "text",
"catalog_description": "text",
"catalog_pricing_model": 0,
"catalog_access_time_limit": "text",
"utc_catalog_creation_date": "2025-11-30T23:02:48.993Z",
"utc_catalog_modified_date": "2025-11-30T23:02:48.993Z",
"syllabus_id": "00000000-0000-0000-0000-000000000000",
"syllabus_title": "text",
"syllabus_unique_name": "text",
"syllabus_description": "text",
"syllabus_certificate_id": "00000000-0000-0000-0000-000000000000",
"syllabus_disable_certificates_for_student": true,
"syllabus_credit_hours": 1,
"syllabus_section_number": "text",
"syllabus_section_ceus": "text",
"syllabus_section_duration": "text",
"syllabus_section_objectives": "text",
"utc_syllabus_creation_date": "2025-11-30T23:02:48.993Z",
"utc_syllabus_modified_date": "2025-11-30T23:02:48.993Z",
"api_error_entity": {
"error_code": 0,
"error_message": "text",
"warning_messages": [
"text"
]
}
},
"invoice-item": {
"id": "00000000-0000-0000-0000-000000000000",
"product_id": "00000000-0000-0000-0000-000000000000",
"purchasing_group_id": "00000000-0000-0000-0000-000000000000",
"product_type": 0,
"funding_pool": "text",
"utc_redemption_available_date": "2025-11-30T23:02:48.993Z"
},
"api_error_entity": {
"error_code": 0,
"error_message": "text",
"warning_messages": [
"text"
]
}
}Gets the invoice redemption information corresponding to the given invoice item. ###Permissions Requires current user to be sales agent on the invoice OR current user to be purchasing agent on the invoice OR the Manage Invoices permission in the invoice item's invoice organization or an ancestor.
Use the AdminApi Authenticate method to get the access_token
Invoice redemption information
Not authorized to manage invoices
Entity not found
Validation exception. See response body for more info.
GET /api/v1/PointOfSaleApi/GetInvoiceRedemption?invoice_item_id=123e4567-e89b-12d3-a456-426614174000&access_token=text HTTP/1.1
Host: www.nexportcampus.com
Accept: */*
{
"redemption_id": "00000000-0000-0000-0000-000000000000",
"invoice_item_id": "00000000-0000-0000-0000-000000000000",
"invoice_id": "00000000-0000-0000-0000-000000000000",
"redemption_type": 0,
"redemption_enrollment_id": "00000000-0000-0000-0000-000000000000",
"utc_redemption_date": "2025-11-30T23:02:48.993Z",
"utc_expiration_date": "2025-11-30T23:02:48.993Z",
"redemption_user_id": "00000000-0000-0000-0000-000000000000",
"redemption_user_last_name": "text",
"redemption_user_first_name": "text",
"redemption_user_login": "text",
"redemption_user_email": "text",
"redemption_code": "text",
"organization_id": "00000000-0000-0000-0000-000000000000",
"organization_name": "text",
"organization_short_name": "text",
"catalog_id": "00000000-0000-0000-0000-000000000000",
"catalog_name": "text",
"catalog_description": "text",
"catalog_pricing_model": 0,
"catalog_access_time_limit": "text",
"utc_catalog_creation_date": "2025-11-30T23:02:48.993Z",
"utc_catalog_modified_date": "2025-11-30T23:02:48.993Z",
"syllabus_id": "00000000-0000-0000-0000-000000000000",
"syllabus_title": "text",
"syllabus_unique_name": "text",
"syllabus_description": "text",
"syllabus_certificate_id": "00000000-0000-0000-0000-000000000000",
"syllabus_disable_certificates_for_student": true,
"syllabus_credit_hours": 1,
"syllabus_section_number": "text",
"syllabus_section_ceus": "text",
"syllabus_section_duration": "text",
"syllabus_section_objectives": "text",
"utc_syllabus_creation_date": "2025-11-30T23:02:48.993Z",
"utc_syllabus_modified_date": "2025-11-30T23:02:48.993Z",
"api_error_entity": {
"error_code": 0,
"error_message": "text",
"warning_messages": [
"text"
]
}
}Last updated