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 Nein
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. Nein
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 Nein
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 Pflichtfeld Werte
successRefunds SPREADSHEET Ja
Folgende Felder sind im Output enthalten :

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

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

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