รายการ creator
กลุ่มและแท็กของ Creator ของฉัน และ Creator ของร้าน, creator ที่ถูกบล็อก และการนำเข้า creator
ใช้ทำอะไร: เก็บ creator ไว้ในรายการ: Creator ของฉัน (group และ tag ของคุณ), Creator ของร้าน (ของร้าน) และ Creator ที่บล็อก
รายการของคุณและรายการของร้าน
| ของคุณเท่านั้น | ใช้ร่วมกันโดยทุกคนที่ทำงานในร้าน | |
|---|---|---|
| กลุ่ม | /groups | /store-groups |
| แท็ก | /tags | /store-tags |
| บล็อก | /blocks | /store-blocks |
route ของแต่ละรายการใช้แสดงรายการ (GET), สร้าง (POST พร้อม name และ color), เปลี่ยนชื่อหรือเปลี่ยนสี (PATCH) และลบ (DELETE)
ใส่ creator ลงในรายการ
curl -X POST https://seller.growpaces.com/api/v1/groups/assign \
-H "Authorization: Bearer gsk_..." \
-H "Content-Type: application/json" \
-d '{"ids":["GROUP_ID"],"selection":{"source":"/creators","filters":{"shop_id":"SHOP_ID","min_followers":"10000"},"start":1,"end":10000}}'ids คือกลุ่ม (หรือแท็ก) ส่วน creator คือ selection (แถวของรายการ ดู Creator) หรือ creator_account_ids สำหรับ creator ไม่กี่คนที่คุณเลือก DELETE /groups/assign นำออกด้วยวิธีเดียวกัน คำตอบคือ matched, added, already, removed และ skipped_by_reason
creator ที่ถูกบล็อก
POST /blocks บล็อก creator (ระบุ reason ได้ถ้าต้องการ) และ DELETE /blocks ยกเลิกการบล็อก creator ที่ถูกบล็อกจะถูกตัดออกจากคำเชิญและ broadcast เช่นเดียวกับในแดชบอร์ด
การนำเข้า
POST /imports/creators ใส่แถว creator ลงในกลุ่มในเบื้องหลัง และ POST /imports/blocks บล็อก creator เหล่านั้น ติดตามการนำเข้าได้ด้วย GET /imports/history หรือ GET /jobs