A valid request URL is required to generate request examples[
{
"id": 123,
"return_method": "TRADITIONAL",
"created_at": "<string>",
"updated_at": "<string>",
"return_outcome": "credit",
"order": {
"id": 123,
"platform_id": "<string>",
"name": "<string>",
"tags": [
"<string>"
],
"created_at": "<string>",
"taxes_included": true,
"type": "order",
"source_name": "<string>",
"fulfilled_at": "<string>"
},
"customer": {
"name": "<string>",
"email": "<string>",
"phone": "<string>",
"type": "customer"
},
"shipments": [
{
"id": 123,
"status": "DRAFT",
"created_at": "<string>",
"type": "shipment",
"carrier": "<string>",
"tracking_number": "<string>",
"origin_address": {
"address1": "<string>",
"city": "<string>",
"province": "<string>",
"zip": "<string>",
"country": "<string>",
"address2": "<string>"
},
"destination_address": {
"address1": "<string>",
"city": "<string>",
"province": "<string>",
"zip": "<string>",
"country": "<string>",
"address2": "<string>"
},
"shipped_at": "<string>",
"delivered_at": "<string>",
"return_group_id": 123,
"return_ids": [
123
]
}
],
"returns": [
{
"id": 123,
"created_at": "<string>",
"status": "IN_REVIEW",
"platform_refund_transaction_ids": [
"<string>"
],
"platform_line_item_id": "<string>",
"product_platform_id": "<string>",
"product_name": "<string>",
"variant_platform_id": "<string>",
"variant_name": "<string>",
"quantity": 123,
"return_reason": "<string>",
"return_reason_details": {
"value": "<string>",
"label": "<string>",
"path": [
"<string>"
],
"path_labels": [
"<string>"
],
"note": "<string>",
"type": "return_reason"
},
"questions_answers": [
{
"question_text": "<string>",
"question_description": "<string>",
"question_type": "TEXT",
"answers": [
"<string>"
],
"type": "question_answer"
}
],
"subtotal": {
"shop_money": {
"amount": 0,
"currency_code": "USD"
},
"presentment_money": {
"amount": 0,
"currency_code": "USD"
}
},
"discounted_subtotal": {
"shop_money": {
"amount": 0,
"currency_code": "USD"
},
"presentment_money": {
"amount": 0,
"currency_code": "USD"
}
},
"discount_total": {
"shop_money": {
"amount": 0,
"currency_code": "USD"
},
"presentment_money": {
"amount": 0,
"currency_code": "USD"
}
},
"tax_total": {
"shop_money": {
"amount": 0,
"currency_code": "USD"
},
"presentment_money": {
"amount": 0,
"currency_code": "USD"
}
},
"tax_percentage": 123,
"total": {
"shop_money": {
"amount": 0,
"currency_code": "USD"
},
"presentment_money": {
"amount": 0,
"currency_code": "USD"
}
},
"type": "return_line_item",
"platform_id": "<string>",
"shipment_id": 123,
"sku": "<string>",
"barcode": "<string>",
"return_note": "<string>",
"last_rma_number": "<string>",
"last_rma_provider": "SHIPWIRE"
}
],
"exchange_line_items": [
{
"id": "<string>",
"line_item_platform_id": "<string>",
"product_platform_id": "<string>",
"product_name": "<string>",
"variant_platform_id": "<string>",
"variant_name": "<string>",
"status": "UNPROCESSED",
"quantity": 123,
"subtotal": {
"shop_money": {
"amount": 0,
"currency_code": "USD"
},
"presentment_money": {
"amount": 0,
"currency_code": "USD"
}
},
"discounted_subtotal": {
"shop_money": {
"amount": 0,
"currency_code": "USD"
},
"presentment_money": {
"amount": 0,
"currency_code": "USD"
}
},
"discount_total": {
"shop_money": {
"amount": 0,
"currency_code": "USD"
},
"presentment_money": {
"amount": 0,
"currency_code": "USD"
}
},
"tax_total": {
"shop_money": {
"amount": 0,
"currency_code": "USD"
},
"presentment_money": {
"amount": 0,
"currency_code": "USD"
}
},
"tax_percentage": 123,
"total": {
"shop_money": {
"amount": 0,
"currency_code": "USD"
},
"presentment_money": {
"amount": 0,
"currency_code": "USD"
}
},
"type": "exchange_line_item",
"sku": "<string>"
}
],
"refund_transactions": [
{
"amount": {
"shop_money": {
"amount": 0,
"currency_code": "USD"
},
"presentment_money": {
"amount": 0,
"currency_code": "USD"
}
},
"type": "refund_transaction",
"platform_id": "<string>",
"gateway": "<string>"
}
],
"suggested_refund": {
"refund_total": {
"shop_money": {
"amount": 0,
"currency_code": "USD"
},
"presentment_money": {
"amount": 0,
"currency_code": "USD"
}
},
"return_total": {
"shop_money": {
"amount": 0,
"currency_code": "USD"
},
"presentment_money": {
"amount": 0,
"currency_code": "USD"
}
},
"return_tax_total": {
"shop_money": {
"amount": 0,
"currency_code": "USD"
},
"presentment_money": {
"amount": 0,
"currency_code": "USD"
}
},
"exchange_total": {
"shop_money": {
"amount": 0,
"currency_code": "USD"
},
"presentment_money": {
"amount": 0,
"currency_code": "USD"
}
},
"exchange_tax_total": {
"shop_money": {
"amount": 0,
"currency_code": "USD"
},
"presentment_money": {
"amount": 0,
"currency_code": "USD"
}
},
"handling_fee": {
"shop_money": {
"amount": 0,
"currency_code": "USD"
},
"presentment_money": {
"amount": 0,
"currency_code": "USD"
}
},
"shipping_fee": {
"shop_money": {
"amount": 0,
"currency_code": "USD"
},
"presentment_money": {
"amount": 0,
"currency_code": "USD"
}
},
"store_credit_incentive": {
"shop_money": {
"amount": 0,
"currency_code": "USD"
},
"presentment_money": {
"amount": 0,
"currency_code": "USD"
}
},
"type": "suggested_refund"
},
"type": "return_group",
"credit_method": "STORE_CREDIT"
}
]Manage returns through the Frate API
A valid request URL is required to generate request examples[
{
"id": 123,
"return_method": "TRADITIONAL",
"created_at": "<string>",
"updated_at": "<string>",
"return_outcome": "credit",
"order": {
"id": 123,
"platform_id": "<string>",
"name": "<string>",
"tags": [
"<string>"
],
"created_at": "<string>",
"taxes_included": true,
"type": "order",
"source_name": "<string>",
"fulfilled_at": "<string>"
},
"customer": {
"name": "<string>",
"email": "<string>",
"phone": "<string>",
"type": "customer"
},
"shipments": [
{
"id": 123,
"status": "DRAFT",
"created_at": "<string>",
"type": "shipment",
"carrier": "<string>",
"tracking_number": "<string>",
"origin_address": {
"address1": "<string>",
"city": "<string>",
"province": "<string>",
"zip": "<string>",
"country": "<string>",
"address2": "<string>"
},
"destination_address": {
"address1": "<string>",
"city": "<string>",
"province": "<string>",
"zip": "<string>",
"country": "<string>",
"address2": "<string>"
},
"shipped_at": "<string>",
"delivered_at": "<string>",
"return_group_id": 123,
"return_ids": [
123
]
}
],
"returns": [
{
"id": 123,
"created_at": "<string>",
"status": "IN_REVIEW",
"platform_refund_transaction_ids": [
"<string>"
],
"platform_line_item_id": "<string>",
"product_platform_id": "<string>",
"product_name": "<string>",
"variant_platform_id": "<string>",
"variant_name": "<string>",
"quantity": 123,
"return_reason": "<string>",
"return_reason_details": {
"value": "<string>",
"label": "<string>",
"path": [
"<string>"
],
"path_labels": [
"<string>"
],
"note": "<string>",
"type": "return_reason"
},
"questions_answers": [
{
"question_text": "<string>",
"question_description": "<string>",
"question_type": "TEXT",
"answers": [
"<string>"
],
"type": "question_answer"
}
],
"subtotal": {
"shop_money": {
"amount": 0,
"currency_code": "USD"
},
"presentment_money": {
"amount": 0,
"currency_code": "USD"
}
},
"discounted_subtotal": {
"shop_money": {
"amount": 0,
"currency_code": "USD"
},
"presentment_money": {
"amount": 0,
"currency_code": "USD"
}
},
"discount_total": {
"shop_money": {
"amount": 0,
"currency_code": "USD"
},
"presentment_money": {
"amount": 0,
"currency_code": "USD"
}
},
"tax_total": {
"shop_money": {
"amount": 0,
"currency_code": "USD"
},
"presentment_money": {
"amount": 0,
"currency_code": "USD"
}
},
"tax_percentage": 123,
"total": {
"shop_money": {
"amount": 0,
"currency_code": "USD"
},
"presentment_money": {
"amount": 0,
"currency_code": "USD"
}
},
"type": "return_line_item",
"platform_id": "<string>",
"shipment_id": 123,
"sku": "<string>",
"barcode": "<string>",
"return_note": "<string>",
"last_rma_number": "<string>",
"last_rma_provider": "SHIPWIRE"
}
],
"exchange_line_items": [
{
"id": "<string>",
"line_item_platform_id": "<string>",
"product_platform_id": "<string>",
"product_name": "<string>",
"variant_platform_id": "<string>",
"variant_name": "<string>",
"status": "UNPROCESSED",
"quantity": 123,
"subtotal": {
"shop_money": {
"amount": 0,
"currency_code": "USD"
},
"presentment_money": {
"amount": 0,
"currency_code": "USD"
}
},
"discounted_subtotal": {
"shop_money": {
"amount": 0,
"currency_code": "USD"
},
"presentment_money": {
"amount": 0,
"currency_code": "USD"
}
},
"discount_total": {
"shop_money": {
"amount": 0,
"currency_code": "USD"
},
"presentment_money": {
"amount": 0,
"currency_code": "USD"
}
},
"tax_total": {
"shop_money": {
"amount": 0,
"currency_code": "USD"
},
"presentment_money": {
"amount": 0,
"currency_code": "USD"
}
},
"tax_percentage": 123,
"total": {
"shop_money": {
"amount": 0,
"currency_code": "USD"
},
"presentment_money": {
"amount": 0,
"currency_code": "USD"
}
},
"type": "exchange_line_item",
"sku": "<string>"
}
],
"refund_transactions": [
{
"amount": {
"shop_money": {
"amount": 0,
"currency_code": "USD"
},
"presentment_money": {
"amount": 0,
"currency_code": "USD"
}
},
"type": "refund_transaction",
"platform_id": "<string>",
"gateway": "<string>"
}
],
"suggested_refund": {
"refund_total": {
"shop_money": {
"amount": 0,
"currency_code": "USD"
},
"presentment_money": {
"amount": 0,
"currency_code": "USD"
}
},
"return_total": {
"shop_money": {
"amount": 0,
"currency_code": "USD"
},
"presentment_money": {
"amount": 0,
"currency_code": "USD"
}
},
"return_tax_total": {
"shop_money": {
"amount": 0,
"currency_code": "USD"
},
"presentment_money": {
"amount": 0,
"currency_code": "USD"
}
},
"exchange_total": {
"shop_money": {
"amount": 0,
"currency_code": "USD"
},
"presentment_money": {
"amount": 0,
"currency_code": "USD"
}
},
"exchange_tax_total": {
"shop_money": {
"amount": 0,
"currency_code": "USD"
},
"presentment_money": {
"amount": 0,
"currency_code": "USD"
}
},
"handling_fee": {
"shop_money": {
"amount": 0,
"currency_code": "USD"
},
"presentment_money": {
"amount": 0,
"currency_code": "USD"
}
},
"shipping_fee": {
"shop_money": {
"amount": 0,
"currency_code": "USD"
},
"presentment_money": {
"amount": 0,
"currency_code": "USD"
}
},
"store_credit_incentive": {
"shop_money": {
"amount": 0,
"currency_code": "USD"
},
"presentment_money": {
"amount": 0,
"currency_code": "USD"
}
},
"type": "suggested_refund"
},
"type": "return_group",
"credit_method": "STORE_CREDIT"
}
]Documentation Index
Fetch the complete documentation index at: https://docs.frate.com/llms.txt
Use this file to discover all available pages before exploring further.
Successful Response
Unique identifier for the return group
The method used for the return
TRADITIONAL, SELF_SHIP, STORE_DROP_OFF, RETURN_BEAR, HAPPY_RETURNS, GLOBAL_E, ECODROP ISO 8601 timestamp when the return group was created
ISO 8601 timestamp when the return group was last updated
The outcome of the return
credit, refund, exchange+refund, exchange, exchange+credit, upsell The associated order for this return group
Show child attributes
The customer who initiated the return
Show child attributes
List of shipments associated with the returns in this group
Show child attributes
List of individual returns that make up this return group
Show child attributes
Line items for exchanges if the customer chose to exchange items
Show child attributes
List of refund transactions processed for this return group
Show child attributes
Suggested refund amount and breakdown for this return group
Show child attributes
The type identifier for this resource
"return_group"The method used for crediting the customer
STORE_CREDIT, ORIGINAL_PAYMENT_METHOD