Skip to content

shopifyCreateRefund - shopify

Version: 2024-01

← shopify Add-On Übersicht

This step creates refunds for one or multiple line items per order.


Inputs

Das sind die Optionen, mit denen man den Step konfigurieren kann.

Name Datentyp Beschreibung Pflichtfeld Werte
account ACCOUNT Ja
input SPREADSHEET Nein
mappingdefinition STRING The mapping definition JSON String Nein
Folgende Felder sind zu konfigurieren:

Feld Datentyp Beschreibung Pflichtfeld Standardwert
order_id SINGLE Id of the order. Ja
line_item_id SINGLE The ID of a line item to refund. Nein
location_id SINGLE The ID of the location where the items should be restocked. This is required when the value of restock_type is return or cancel. Nein
quantity SINGLE The quantity to refund. Nein
currency SINGLE The three-letter code (ISO 4217 format) for the currency used for the payment. e.g: EUR Ja
restock_type SINGLE How this refund line item affects inventory levels. Nein no_restock
note SINGLE An optional note attached to a refund. Nein
notify SINGLE Whether to send a refund notification to the customer. Nein false
refund_shipping SINGLE Specify how much shipping to refund. no_refund: Shipping will not be refunded. full_refund: To refund all remaining shipping. amount: Set a specific amount to refund for shipping. e.g. 11.22 Nein
transaction_id SINGLE The ID to the corresponding transaction of th order. Use shopifyGetOrderTransaction. Nein
refund_amount SINGLE The amount of money included in the transaction. If you don't provide a value for `amount`, then it defaults to the total cost of the order (even if a previous transaction has been made towards it). Nein
payment_gateway SINGLE The name of the gateway the transaction was issued through. A list of gateways can be found on Shopify's payment gateways page. Nein
limit STRING Limits the number of rows used from the input SPREADSHEET. Use low values for testing. If limit is empty, all lines are processed. Nein
Action with no valid rows STRING The action which should happen when there are no valid rows. continue with warning: Step will provide warning and doesn't stop. warning: Step will provide a warning and will stop success: Step will provide no warning and will stop Nein
  • continue with warning
  • warning
  • success

Outputs

Das sind die Ergebnisse des Steps, die von nachfolgenden Steps, nach der Ausführung verwendet werden können.

Name Datentyp Beschreibung Werte
successRefunds SPREADSHEET
Folgende Felder sind im Output enthalten:

Feld Datentyp Beschreibung Standardwert
refund_id SINGLE
order_id SINGLE
created_at SINGLE
processed_at SINGLE
note SINGLE
user_id SINGLE
restock SINGLE
duties SINGLE
total_duties_set_shop_money_amount SINGLE
currency SINGLE
total_duties_set_presentment_money_amount SINGLE
refund.return SINGLE
refund_transactions_id SINGLE
transactions_kind SINGLE
transactions_gateway SINGLE
transactions_status SINGLE
transaction_message SINGLE
transactions_created_at SINGLE
transactions_processed_at SINGLE
transactions_error_code SINGLE
transactions_source_name SINGLE
transactions_amount SINGLE
transaction_payment_id SINGLE
order_adjustments_id SINGLE
order_adjustments_refund_id SINGLE
order_adjustments_amount SINGLE
order_adjustments_kind SINGLE
order_adjustments_reason SINGLE
order_adjustments_amount_set_shop_money_amount SINGLE
invalidItems SPREADSHEET
Folgende Felder sind im Output enthalten:

Feld Datentyp Beschreibung Standardwert
order_id SINGLE
line_item_id SINGLE
location_id SINGLE
quantity SINGLE
restock_type SINGLE
refund_shipping SINGLE
transaction_id SINGLE
refund_amount SINGLE
currency SINGLE
payment_gateway SINGLE
note SINGLE
notify SINGLE
failedItems SPREADSHEET
Folgende Felder sind im Output enthalten:

Feld Datentyp Beschreibung Standardwert
method SINGLE
host SINGLE
requestBody SINGLE
statusCode SINGLE
statusMessage SINGLE
responseHeaders SINGLE
responseFilename SINGLE
error SINGLE
source_order_id SINGLE
source_line_item_id SINGLE
responseContent SINGLE
errorMessage SINGLE