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

post/admin/orders

Request body

affiliate_idstring

ID of the affiliate to give the order to. Can be omitted if ref_code field is set

ref_codestring

Referral code of the link used in this order. Can be omitted if affiliate_id field is set

Response

{"stackTrail":"paths:/admin/orders:post:responses:200:content:application/json:schema:properties:result","oasType":"schema","type":"unknown"}

Changes

No recorded changes to this endpoint across all 1 revision of this API.