JDBC Driver for Shopify

Build 24.0.9062

OrderCancel

Cancels an order.

Input

Name Type Description
NotifyCustomer Bool Whether to send a notification to the customer about the order cancellation.
OrderId String The ID of the order to be canceled.
Reason String The reason for canceling the order.

使用できる値は次のとおりです。CUSTOMER, DECLINED, FRAUD, INVENTORY, OTHER, STAFF

Refund Bool Whether to refund the amount paid by the customer.
Restock Bool Whether to restock the inventory committed to the order.
StaffNote String A staff-facing note about the order cancellation. This is not visible to the customer.
WaitJob Bool The Store Procedure will wait until the Job is done.

デフォルト値はtrueです。

Result Set Columns

Name Type Description
Success Boolean Indicates whether or not the operation executed successfully.
Details String Any extra details on the operation's execution.
JobID String The Job Id.
Status String The status of the Job.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9062