Power BI Connector for Shopify

Build 25.0.9454

Returns

Stores records of product returns, including reason codes, refund references, and associated order data.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrdersId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM Returns WHERE OrdersId = 'Val1'

Insert

The following columns can be used to create a new record:

OrdersId, ReturnLineItems (references ReturnLineItems), ReturnExchangeLineItems (references ReturnExchangeLineItems)

ReturnLineItems Temporary Table Columns

Column NameTypeDescription
QuantityIntThe quantity being returned.
ReturnReasonStringThe reason for returning the item.
ReturnReasonNoteStringAdditional information about the reason for the return. Maximum length: 255 characters.
FulfillmentLineItemIdStringA globally-unique ID.

ReturnExchangeLineItems Temporary Table Columns

Column NameTypeDescription
VariantIdStringA globally-unique ID.
QuantityIntThe number of variant units ordered.
AppliedDiscountValueAmountDecimalThe discount to be applied to the exchange line item. The value of the discount as a fixed amount.
AppliedDiscountValueAmountCurrencyCodeStringThe discount to be applied to the exchange line item. Currency of the money.
AppliedDiscountValuePercentageDoubleThe discount to be applied to the exchange line item. The value of the discount as a percentage.
AppliedDiscountDescriptionStringThe discount to be applied to the exchange line item. The description of the discount.
GiftCardCodesStringThe gift card codes associated with the physical gift cards.

Columns

Name Type ReadOnly References Description
Id [KEY] String True

A globally unique identifier for the return record.

OrdersId String True

Orders.Id

The globally unique identifier of the order associated with this return.

Name String True

The system-generated name or reference label used to identify the return.

Status String True

Indicates the current state of the return, such as 'requested', 'approved', 'declined', or 'completed'.

TotalQuantity Int True

The total number of items included in the return, summed across all return line items.

DeclineReason String True

The reason provided by the merchant for declining the customer's return request, if applicable.

DeclineNote String True

A message sent to the customer explaining why their return request was declined. Limited to 500 characters.

ReturnLineItems String True

A list of the original line items that are being returned as part of this return record.

ReturnExchangeLineItems String True

A list of replacement or exchange items being added to the order as part of the return process.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9454