Connect
  1. Order Guide
Connect
  • Connect/ConnectID API Reference
  • Overview
    • API lifecycle
    • OAuth 2.0
    • About the URLs
    • Google analytics
    • Unite payment SDK
    • Events
      • Authentication
      • Connect realtime events
      • ConnectID events
  • Customer Data
    • Address
      • Change addresses
      • List addresses
      • List addresses - client mode
      • List addresses for product - client mode
      • List addresses for product
    • Category
      • List category types
      • List category codes
      • List category codes for category type
    • Customer
      • List customer info
      • Change customer Info
      • Search customer - client mode
      • Check customer number - client mode
      • List customer info - client mode
    • External Reference
      • Remove external reference - client mode
      • Change external reference - client mode
      • List external references - client mode
      • Register external reference - client mode
  • Order Management
    • Article
      • Check article price
    • Coupon
      • Check coupon price - client mode
      • List coupon - client mode
      • List coupon for coupon number - client mode
    • Fulfillment
      • Complete order - client mode
    • Order
      • Order Guide
        • Introduction
        • How to register an order
        • Complete order by fulfillment URL
        • Complete order by fulfillment API
        • Q&A for order
      • List orders
        GET
      • Search order details
        POST
      • List order product history
        GET
      • List order status - client mode
        GET
      • Register customer - client mode
        POST
      • Register customer
        POST
      • Register order - client mode
        POST
      • Register order
        POST
    • Reward
      • Check reward - client mode
    • User
      • Assign user - client mode
    • Voucher Coupons
      • List voucher code coupons - client mode
  • Payment Services
    • Invoice
      • List invoice details
      • List invoices - client mode
      • List invoices for product - client mode
      • List invoices and reminders
      • List invoices and reminders for product
      • List basic invoice info
      • List basic invoice info for product
    • InvoiceAddress
      • List invoice address
    • Klarna
      • List klarna recurring tokens
      • Add Klarna token
      • Remove Klarna token
    • Nexi
      • List Nexi subscriptions
      • Add Nexi subscription
      • Remove Nexi subscription
    • PayEx
      • List PayEx tokens
      • Add PayEx token
      • Remove PayEx token
    • Payment
      • List payment methods
      • Pay invoice
      • Change payment method
    • Vipps
      • List vipps agreements
      • Add vipps agreement
      • Remove vipps agreement
  • Privacy
    • Consent
      • Access private data
      • Remove private data
      • List consent event history - client mode
      • List consent text - client mode
      • List consent text history - client mode
      • List consent groups - client mode
      • List consent given issuer - client mode
      • List consent event history
      • List consent given issuer
      • List consent groups
      • Register consent event - client mode
      • Register consent event
    • Permission/Shield
      • List global permissions
      • List enterprise permissions
      • Change enterprise permissions
      • List ordertype permissions
      • Change ordertype permissions
      • Check shield ordertype - client mode
      • Check shield enterprise - client mode
    • Privacy
      • List privacy enterprise
      • Change privacy enterprise
      • List privacy ordertype
      • Change privacy ordertype
  • Product & Services
    • Complaint
      • Register complaint
      • List complaints
    • Delivery
      • List next distributions
      • List next distributions - client mode
    • DeliveryStop
      • Remove delivery stops
      • Register delivery stops
      • List delivery stops
      • List delivery stop - client mode
    • Issue
      • List distributed issues
      • List product issues - client mode
    • Product
      • List products - client mode
      • Check product - client mode
      • List specific products - client mode
    • ProductDeliveryPlan
      • List productdeliveryplan - client mode
    • ProductDependency
      • Check product dependency discount - client mode
    • Sharing
      • Send subscription share invitation
      • Accept subscription share invitation
      • Decline share - client mode
      • List shareable subscription rules
      • List distribution levels
      • Change subscription share invitation details
      • List all shared subscribers
      • Cancel sharing
      • List shareable subscription nets
      • Change shareable subscription nets
      • Change distribution level
    • Subscription
      • List shared subscriptions
      • List subscriptions
      • Start subscription
      • List subscriptions - client mode
  • Recruitment
    • Recruitment
      • Register recruitment - client mode
      • List recruitments
      • List premium recruitments
      • Change premium recruitments
      • Register recruitments
    • RecruitmentCampaign
      • List recruitment campaign - client mode
  • User Data
    • Access
      • Check access
      • Check access - client mode
    • Credential
      • Check credential - client mode
    • Metadata
      • List metadata
      • Change metadata
      • Remove metadata
      • List metadata - client mode
      • Change metadata - client mode
      • Remove metadata - client mode
    • Profile
      • List user profile
      • List external user profiles
  • Diverse
    • External Identity
      • Register external Id - client mode
      • Register customer - client mode
    • Message
      • List messages
      • Send message
      • Send message - client mode
    • Status
      • List status messages
    • Stock
      • Change stocks - client mode
      • List stocks - client mode
      • List stocks for product - client mode
  1. Order Guide

Introduction

This article describes the introduction to order registration. There are several options for registering an order by using our API. However, the main alternatives depends on whether the payment is done and if the user is logged in to the system before order registration.

Flows for order registration#

FlowIs prepaid?Is user logged in?
1aNoYes
1bNoNo
2aYesYes
2bYesNo
There are two options for payment. The first one, payment with order registration means the order is not prepaid, and we need to handle the payment during the order fulfillment process.
The second option, prepayment before order registration means you need to complete the payment before order registration process is started. This is what we refer to as a prepaid order. You may use either the Unite Payment SDK (UnitePay) or your own integration to payment provider to do the payment.

Unite Payment SDK#

Unite Payment SDK (UnitePay)
You may use our Unite Payment SDK to do the payment. If you use our Payment SDK, the payment will be done before the registration of the order.
More details about UnitePay you will find in our API documentation. All order registration flows may be used with UnitePay, you just need to do a payment before sending the order to the Order API. Please note that not all payment methods are supported by UnitePay.

1a - Payment with order registration and user logged in to the system#

In this case the order is not prepaid and the user has logged into the system before order registration takes place.
image.png
The register order process begins with the end user initiate an order. The client sends a register order request to the API server by using the Register order API . The server returns an orderId in the response if everything goes successfully. The next step is to fulfill (complete) the order, the client sends a request by redirecting to the Fulfillment URL. The end user will be redirected to the payment provider where the end user can pay the order. The payment provider will process the payment and the client will be informed if the order was paid or an error occurred.

1b - Payment with order registration and user not logged in to the system#

In this case the order is not prepaid and the user has not logged into the system before order registration takes place.
image.png
The register order process begins with the end user intitate an order. The client sends a register order request to the API server by using the Register order - client mode. The server returns an orderId in the response if everything goes successfully. The next step is to fulfill (complete) the order, the client sends a request by redirecting to the Fulfillment URL. The end user will be redirected to the payment provider where the end user can pay the order. The payment provider will process the payment and the end user will be informed if the order was paid or an error occurred.
Since the user is not logged into the system, we need to use the Assign user - client mode API to connect the order with ConnectID (or other) user with a specified credential. If the end user does not have a user account, then it will be created a user account for the end user and an email or SMS will be sent if it is configured for it. This step is only relevant if the registered order gives access to locked digital content.

2a - Prepayment before order registration and user is logged in to the system#

In this case the order is prepaid and the user has logged into the system before order registration takes place.
image.png
The register order process begins with the end user intitate an order. The client sends a register order request to the API server by using the Register order API. The server returns an orderId in the response if everything goes successfully. The next step is to fulfill (complete) order, the client sends a request to Complete order - client mode API. The end user will be informed if the order was fulfilled or an error occurred.

2b - Prepayment before order registration and user is not logged in to the system#

In this case the order is prepaid and the user has not logged into the system before order registration takes place.
image.png
The register order process begins with the end user intitate an order. The client sends a register order request to the API server by using Register order - client mode API to the API server. The server returns an orderId in the response, if everything goes successfully. The next step is to fulfill (complete) order, the client sends a request to Complete order - client mode API. The end user will be informed if the order was fulfilled or an error occurred.
Since the user is not logged into the system, we need to use the Assign user - client mode API to connect the order with ConnectID (or other) user with a specified credential. If the end user does not have an user account, then it will be created a user account for the end user and an email or sms SMS will be sent if it is configured for it. This step is only relevant if the registered order gives access to locked digital content.
Previous
Complete order - client mode
Next
How to register an order
Built with