Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
meibuyu-micro
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
without authentication
meibuyu-micro
Commits
993c55ea
Commit
993c55ea
authored
Feb 24, 2021
by
王源
🎧
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shopifyRpc优化创建shopify订单发货记录方法,添加更新shopify订单发货物流信息方法
parent
9859453d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
6 deletions
+25
-6
ShopifyServiceInterface.php
src/Service/Interfaces/Product/ShopifyServiceInterface.php
+25
-6
No files found.
src/Service/Interfaces/Product/ShopifyServiceInterface.php
View file @
993c55ea
...
...
@@ -8,7 +8,7 @@
namespace
Meibuyu\Micro\Service\Interfaces\Product
;
use
Meibuyu\Micro\Exceptions\
HttpResponse
Exception
;
use
Meibuyu\Micro\Exceptions\
Rpc
Exception
;
interface
ShopifyServiceInterface
{
...
...
@@ -54,16 +54,35 @@ interface ShopifyServiceInterface
/**
* 为shopify订单创建发货记录
* @param int $orderId
* @param array $params
* 参数示例: https://shopify.dev/docs/admin-api/rest/reference/shipping-and-fulfillment/fulfillment#create-2020-07
* location_id不传会默认拿取系统有的数据,拿不到报错
* @param int $orderId
* @param array $params
* @param int $shopifySiteId
* @return mixed
* @throws HttpResponseException
* @throws \Exception
* @author Zero
* @throws RpcException
* @author zero
*/
public
function
createOrderFulfillment
(
$orderId
,
$params
,
$shopifySiteId
);
/**
* 更新shopify订单发货物流信息
* 参数示例: https://shopify.dev/docs/admin-api/rest/reference/shipping-and-fulfillment/fulfillment#update_tracking-2020-07
* [
* "notify_customer" => true,
* "tracking_info" => [
* "number" => "1111",
* "url" => "http://www.my-url.com",
* "company" => "my-company",
* ]
* ]
* @param $fulfillmentId
* @param $params
* @param $shopifySiteId
* @return array
* @throws RpcException
* @author zero
*/
public
function
updateFulfillmentTracking
(
$fulfillmentId
,
$params
,
$shopifySiteId
);
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment