Enkash Developer Portal
Home
Home
Login
  1. Redemption
  • Back to home
  • Reward APIs
  • Token APIs
    • Authentication
    • Single Sign On (SSO)
  • Reward Allocation
    • Create And Allocate Points
    • Bulk Create And Allocate Rewards
    • Get Reward Account Details
    • Get Reward Transaction Details
    • Get User Details
    • Get User Card Details
  • Incentive Allocation
    • Incentive Create And Allocation
    • Get Incentive Transaction details
    • Get User Details
  • Redemption
    • User Authentication
      POST
    • Get Cart for User
      GET
    • Search Catalog
      POST
    • Get Product Catalog Details
      GET
    • Get Product Configs (Denominations)
      GET
    • Add to cart
      POST
    • Update Cart
      PATCH
    • Create Order
      POST
    • Order Search
      POST
    • create order
      POST
    • Fetch Order Info by Partner order Reference id
      POST
  • Point Management
    • Overview
    • Create Event
    • Get Event
    • Update Event
    • Allocate Coins
    • Get Balance
  1. Redemption

Create Order

Developing
POST
/api/v0/partner/create-order

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Header Params
Content-Type
string 
required
Example:
application/json
Body Params application/json
denomination
integer 
required
orderReferenceId
string 
required
productCatalogId
string 
required
quantity
integer 
required
Example
{
    "denomination": 0,
    "orderReferenceId": "string",
    "productCatalogId": "string",
    "quantity": 0
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://test.your-api-server.com/api/v0/partner/create-order' \
--header 'Content-Type: application/json' \
--data-raw '{
    "denomination": 0,
    "orderReferenceId": "string",
    "productCatalogId": "string",
    "quantity": 0
}'

Responses

🟠401Success
application/json
Body
payload
string 
required
errorResponse
object 
required
timestamp
string 
required
requestId
string 
required
errorType
string 
required
errorMessage
string 
required
response_code
integer 
required
response_message
string 
required
Example
{"payload":"User does not have adequate authority","errorResponse":{"timestamp":"2024-07-11 05:57:19","requestId":"D8C06486E01FD4071CEB10F177B8AFE8","errorType":"UNAUTHORIZED","errorMessage":"User does not have adequate authority"},"response_code":1,"response_message":"Failure"}
Modified at 2024-09-02 11:58:39
Previous
Update Cart
Next
Order Search
Built with