orders

POST /admin/orders

Manually add an order and commission to an affiliate. For full order schema which can be passed see https://github.com/anujtenani/goaffpro/wiki/Custom-Integration-advanced-guide. Both BASIC and EXTENDED ORDER Schemas are supported. All the fields other than the BASIC ORDER SCHEMA (i.e. number and total) are optional

Request

  • Base URL
    https://api.goaffpro.com/v1
  • URL
    https://api.goaffpro.com/v1/admin/orders
  • Auth
    API key in header x-goaffpro-access-token

Request body

affiliate_idstring

ID of the affiliate to give the order to.

ref_codestring

Referral code of the link used in this order.

Response

resultunknown

Changes

No recorded changes to this operation across all 7 revisions of this API.