Commit 34eebd2e authored by 王源's avatar 王源 🎧

添加拉取传入的id之后的shopify订单列表数据和更新shopify订单RPC方法

parent 2b07e4a4
......@@ -29,4 +29,25 @@ interface ShopifyServiceInterface
*/
public function getShopifySitesByIds(array $ids, $columns = ['name', 'prefix', 'team_id', 'site_id', 'language_id', 'url', 'currency_id']): array;
/**
* 拉取传入的id之后的shopify订单列表数据,默认50条数据
* @param int $sinceId 订单id
* @param int $shopifySiteId shopify站点id
* @return array
* @throws \Exception
* @author Zero
*/
public function pullOrderList($sinceId, $shopifySiteId): array;
/**
* 更新shopify订单
* @param int $orderId 订单id
* @param array $params 更新的数据
* @param int $shopifySiteId shopify站点id
* @return mixed
* @throws \Exception
* @author Zero
*/
public function updateOrder($orderId, $params, $shopifySiteId);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment