Developer API Documentation

ShopVenture API allows merchants to submit customer information via HTTP API. We send email on your behalf to each customer, asking them to write a review.

POST /api/v1/customer_transactions

Parameters

  • token: Required. Your shop API token (obtained from Merchant Dashboard)
  • email: Required. Customer email address
  • first_name: Optional. Customer first name
  • last_name: Optional. Customer last name
  • reference_id: Optional. Purchase reference ID


Successful Return

HTTP Status 201 - customer info accepted

(no content)


Failure Return

HTTP Status 400 - invalid or missing required parameters

{
  "errors": {
    "email": ["can't be blank"]
  }
}

HTTP Status 401 - missing or invalid shop API token

{
  "errors": {
    "code": "deny_access",
    "message": "Unauthorized request"
  }
}