Shopify / Shopify/shopify_python_api
prerequisite_customer_ids array is ignored
未關閉
還沒有人認領這個 Issue。
feature request
- 主要語言
- Python
- 星號
- 1.4k
- 分支
- 388
- 平均合併
- 5 小時 39 分鐘
- 30 天內合併 PR
- 1
描述
I'm using the shopify python api and cannot add prerequisite_customer_ids array to a price rule.
-
I can add a PriceRule, just fine.
-
I can add prerequisite_saved_search_ids, just fine.
Is there no support for prerequisite_customer_ids yet in the python API (yet)?
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
首先找出 PriceRule 對 prerequisite_saved_search_ids 的處理方式,並與要求的 prerequisite_customer_ids 欄位進行比較。檢查建立時如何序列化 PriceRule 屬性,接著驗證客戶 ID 陣列能被接受並正確送出。完成條件是可以使用 prerequisite_customer_ids 建立 PriceRule;如果 repository 中有相關測試,則加入 coverage。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- python
- 領域
- api
- Issue 類型
- 缺陷
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 38/100