OVIRO LogoOVIRO
MarketingMã giới thiệu

Cập nhật mã giới thiệu

Cập nhật thông tin mã giới thiệu

Endpoint

PUT /v1/affiliatecodes/:id

Path Parameters

TênKiểuBắt buộcMô tả
idintID mã giới thiệu

Request Payload

JSON Object Payload:

{
  "company_id": 1,
  "creator_id": 1,
  "affiliate_id": 2,
  "id": 2,
  "code": "aaacb2f2f",
  "description": "Mã giới thiệu cho đối tác VIP",
  "tag": "vip",
  "status": 1,
  "is_default": 0
}

Response Schema

HTTP 200 - JSON Object

Xem AffiliateCode Object Schema

Error Codes

Xem các lỗi khi tạo mã giới thiệu

On this page