Authentication v1
- Identity APIs
- User
- Address
- Auth
User Self Service APIs
- Introduction
- User Self Service APIs
- Authentication APIs
Experiences v2 (XM v2)
- XM
- Pages
- Global Components
- Menu
Experiences v1 (XM v1)
- XM
- Pages
- Global Components
- Menu
Product Catalog
- Product Catalog
- Category
- Product
- Attributes
- Bulk Import
Orders v2 (OMS v2)
- Order Management System
- Order
- Order Attribute
- Developer Guide
- Order Return
- Payment Status
- Package Tracking
- Cross Border
- Order Cancellation
- Appeasement
- Allocation
- Configuration
- Fraud Configuration
- Target Configuration
- Location
- Location Attribute
- Inventory Network
- Inventory
- Inventory Counter
- Inventory Bulk Operation
- Inventory Attribute
- Inventory Upload Log
- Shipment
- Shipping Method
- Webhook
- Notification
- Export
- Invoice
- Fraud
- Backorder Preorder Reservation
- List
Orders v1 (OMS v1)
- Order Management System
- Cart
- Bill To
- Ship To
- Wishlist
- Cart Decoupled
- Warehouse
- Inventory
- Attributes
- List
- Tax/Address Validate
- Shipping
- Payments
- Order
- Overview
- PATCHCancel order
- POSTSync order status
- PATCHReturn order
- GETGet order by user
- POSTReturn payment by orderId
- POSTCancel order by user
- POSTAdd shipment bulk to order
- GETGet order
- POSTOrder query
- POSTBulk cancel orders
- POSTBulk return orders
- POSTCreate POS order
- GETGet order by email
- POSTReturn order by user
- POSTOrder checkout
- POSTAdd shipment to order
- POSTCreate subscriptions orders
- POSTOrder checkout (v4)
Offers v2
- Offers
- Developer Guide
- Promotion
- Price Kind
- Dynamic Pricing Engine
- Segment
- Coupon
- Coupon Codes
- Product
- Price List
- Attributes
- Item
- Price Guard
- Global Exclusion
- Upload Price CSV
- Pricing
- Redemption
- Exports
Offers v1
- Offers
- Login API
- Promotions
- Pricing
Subscriptions (SMT API)
- Subscriptions API
- Cancellation Reasons
- Subscription Discounts
- Subscriptions
- Subscribers
- Orders
Loyalty (Member)
- Member APIs
- Inquire
- Discounts
- Redeem
- Earn
- Members
Dropship
- Dropship API
- Shipments
- Products
- Invoices
- Connections
- Inventory
- Developer Guide
- Returns
- Orders
Cart API
- Cart
- Order Draft
- Attribute
- Adjustments
- Shipping
- Cart
Checkout API
- Checkout
- Checkout
Customer
- Core Concepts
- Customer Service
- Organization
- User Party
- Organization Group Addresses
- User Internal Party
- Organization Contracts
- Party
- Party Contracts
- Contracts
- User
- Search
- User Trait
- Organization Users
- Address
- User Address
- Trait
- Party Address
- Party Trait
- Organization Group Users
- Internal Party
- Contract Pricelist
- Internal Parties Party
- Account
- Party Account
- Organization Addresses
- Organization Groups
- Individual Addresses
- Users Organization
- Individual
Return order by user
Return order by user
https://prod01-apigw.{customer_name}.fabric.zone
Customer name, provided by support team
The x-site-context
header is a JSON object that contains information about the source you wish to pull from. The mandatory account
is the 24 character identifier found in Copilot. The channel
(Sales channel ID), stage
(environment name), and date
attributes can be used to further narrow the scope of your data source.
{
"orderId": "1626-4972-66351",
"status": "Successfully Returned order",
"order": {
"tags": [
"<any>"
],
"channel": 12,
"orderTotal": 124.33,
"taxTotal": 5.23,
"orderCurrency": "USD",
"status": "ORDER_RETURNED",
"statusLog": "Order has been Returned",
"customerUserId": "5e3598e3007c5e00080d2bb8",
"customerAccountId": "5e3598e3007c5e00080d2bb8",
"customerPhone": {
"number": "555-555-5555",
"kind": "mobile"
},
"orderId": "1626-4972-66351",
"revision": 2,
"totalQuantity": 10,
"statusDescriptions": [
{
"_id": "614b0e0c6c4e26000906b513",
"status": "ORDER_RETURNED",
"code": "2001",
"description": "Customer is no longer interested in product",
"date": "2021-09-22T11:05:48.210Z",
"id": "614b0e0c6c4e26000906b513"
}
],
"events": [
"<any>"
],
"attributes": [
"<any>"
],
"__v": 0,
"_id": "5fee9d59f2f08a1b3cbdea08",
"createdAt": "2020-12-31T02:09:53.914Z",
"updatedAt": "2020-12-31T02:09:53.914Z",
"shipTo": [
{
"address": {
"name": {
"first": "Mark",
"middle": "p",
"last": "styler"
},
"phone": {
"number": "555-555-5555",
"kind": "mobile"
},
"isValidated": false,
"email": "mark@google.com",
"street1": "10400 NE 4th St",
"street2": "Suite 500",
"city": "Bellevue",
"state": "WA",
"country": "USA",
"zipCode": "98004",
"kind": "Ship to address"
},
"delivery": {
"actual": "<string>"
},
"shipping": {
"actual": "<string>"
},
"promosApplied": [
{
"name": "test1"
}
],
"_id": "602c1511fcc5e900078ba4af",
"shipToId": 1000001,
"shipToType": "SHIP_TO_ADDRESS",
"price": 24.87,
"currency": "USD",
"estimatedTax": 10,
"committedTax": 10,
"total": 34.87,
"taxCode": "FR020000",
"shipmentCarrier": "Fedex",
"shipmentMethod": "Express",
"shipmentMethodId": "10000001",
"promisedDeliveryDate": "2021-02-14T00:00:00.000Z",
"shipmentInstructions": "Leave at back door",
"shipmentStatus": "Delivered",
"readyForPickups": [
"<any>"
],
"id": "602c1511fcc5e900078ba4af"
}
],
"items": [
{
"group": [
"Group1"
],
"promosApplied": [
{
"name": "test"
}
],
"_id": "602c1511fcc5e900078ba4b0",
"lineItemId": 1,
"itemId": 1000000663,
"sku": "1538910",
"title": "Luminous Cushion Lagoon",
"quantity": 10,
"price": 4.5,
"discount": 1,
"currency": "USD",
"shipToId": 1000001,
"estimatedTax": 10.25,
"total": 4.54,
"taxCode": "FR020000",
"weight": 10,
"weightUnit": "lb",
"attributes": [
"<any>"
],
"reservedLocation": [
"<any>"
],
"id": "602c1511fcc5e900078ba4b0"
}
],
"shipments": [
{
"_id": "602c1607128f5e00078ad8ed",
"shippedDate": "2021-02-16T18:59:11.480Z",
"shipToId": 1000001,
"shipmentCarrier": "USPS",
"shipmentCarrierUrl": "https://tools.usps.com/go/TrackConfirmAction?tRef=fullpage&tLc=2&text28777=&tLabels=65765798989",
"trackingNumber": "65765798989",
"lineItems": [
{
"_id": "602c1607128f5e00078ad8ee",
"lineItemId": 1,
"quantity": 10,
"id": "602c1607128f5e00078ad8ee"
}
],
"shipmentStatus": "ORDER_SHIPPED",
"id": "602c1607128f5e00078ad8ed"
}
],
"payments": [
{
"billToAddress": {
"name": {
"first": "Marl",
"middle": "p",
"last": "styler"
},
"phone": {
"number": "555-555-5555",
"kind": "mobile"
},
"isValidated": false,
"email": "mark@google.com",
"street1": "10400 NE 4th St",
"street2": "Suite 500",
"city": "Bellevue",
"state": "WA",
"country": "USA",
"zipCode": "98004",
"kind": "Ship to address"
},
"shipToId": [
1000001
],
"_id": "602c1511fcc5e900078ba4b1",
"billToId": 1000001,
"paymentIdentifier": {
"cardIdentifier": 4242
},
"paymentMethod": "Visa",
"paymentToken": {
"token": 123456789
},
"paymentKind": "Default payment",
"amount": 533.33,
"currency": "USD",
"conversion": 1,
"paymentStatus": "Pending",
"id": "602c1511fcc5e900078ba4b1"
}
]
}
}
Headers
The x-site-context
header is a JSON object that contains information about the source you wish to pull from. The mandatory account
is the 24 character identifier found in Copilot. The channel
(Sales channel ID), stage
(environment name), and date
attributes can be used to further narrow the scope of your data source.
Query Parameters
15
Body
Response
Was this page helpful?
{
"orderId": "1626-4972-66351",
"status": "Successfully Returned order",
"order": {
"tags": [
"<any>"
],
"channel": 12,
"orderTotal": 124.33,
"taxTotal": 5.23,
"orderCurrency": "USD",
"status": "ORDER_RETURNED",
"statusLog": "Order has been Returned",
"customerUserId": "5e3598e3007c5e00080d2bb8",
"customerAccountId": "5e3598e3007c5e00080d2bb8",
"customerPhone": {
"number": "555-555-5555",
"kind": "mobile"
},
"orderId": "1626-4972-66351",
"revision": 2,
"totalQuantity": 10,
"statusDescriptions": [
{
"_id": "614b0e0c6c4e26000906b513",
"status": "ORDER_RETURNED",
"code": "2001",
"description": "Customer is no longer interested in product",
"date": "2021-09-22T11:05:48.210Z",
"id": "614b0e0c6c4e26000906b513"
}
],
"events": [
"<any>"
],
"attributes": [
"<any>"
],
"__v": 0,
"_id": "5fee9d59f2f08a1b3cbdea08",
"createdAt": "2020-12-31T02:09:53.914Z",
"updatedAt": "2020-12-31T02:09:53.914Z",
"shipTo": [
{
"address": {
"name": {
"first": "Mark",
"middle": "p",
"last": "styler"
},
"phone": {
"number": "555-555-5555",
"kind": "mobile"
},
"isValidated": false,
"email": "mark@google.com",
"street1": "10400 NE 4th St",
"street2": "Suite 500",
"city": "Bellevue",
"state": "WA",
"country": "USA",
"zipCode": "98004",
"kind": "Ship to address"
},
"delivery": {
"actual": "<string>"
},
"shipping": {
"actual": "<string>"
},
"promosApplied": [
{
"name": "test1"
}
],
"_id": "602c1511fcc5e900078ba4af",
"shipToId": 1000001,
"shipToType": "SHIP_TO_ADDRESS",
"price": 24.87,
"currency": "USD",
"estimatedTax": 10,
"committedTax": 10,
"total": 34.87,
"taxCode": "FR020000",
"shipmentCarrier": "Fedex",
"shipmentMethod": "Express",
"shipmentMethodId": "10000001",
"promisedDeliveryDate": "2021-02-14T00:00:00.000Z",
"shipmentInstructions": "Leave at back door",
"shipmentStatus": "Delivered",
"readyForPickups": [
"<any>"
],
"id": "602c1511fcc5e900078ba4af"
}
],
"items": [
{
"group": [
"Group1"
],
"promosApplied": [
{
"name": "test"
}
],
"_id": "602c1511fcc5e900078ba4b0",
"lineItemId": 1,
"itemId": 1000000663,
"sku": "1538910",
"title": "Luminous Cushion Lagoon",
"quantity": 10,
"price": 4.5,
"discount": 1,
"currency": "USD",
"shipToId": 1000001,
"estimatedTax": 10.25,
"total": 4.54,
"taxCode": "FR020000",
"weight": 10,
"weightUnit": "lb",
"attributes": [
"<any>"
],
"reservedLocation": [
"<any>"
],
"id": "602c1511fcc5e900078ba4b0"
}
],
"shipments": [
{
"_id": "602c1607128f5e00078ad8ed",
"shippedDate": "2021-02-16T18:59:11.480Z",
"shipToId": 1000001,
"shipmentCarrier": "USPS",
"shipmentCarrierUrl": "https://tools.usps.com/go/TrackConfirmAction?tRef=fullpage&tLc=2&text28777=&tLabels=65765798989",
"trackingNumber": "65765798989",
"lineItems": [
{
"_id": "602c1607128f5e00078ad8ee",
"lineItemId": 1,
"quantity": 10,
"id": "602c1607128f5e00078ad8ee"
}
],
"shipmentStatus": "ORDER_SHIPPED",
"id": "602c1607128f5e00078ad8ed"
}
],
"payments": [
{
"billToAddress": {
"name": {
"first": "Marl",
"middle": "p",
"last": "styler"
},
"phone": {
"number": "555-555-5555",
"kind": "mobile"
},
"isValidated": false,
"email": "mark@google.com",
"street1": "10400 NE 4th St",
"street2": "Suite 500",
"city": "Bellevue",
"state": "WA",
"country": "USA",
"zipCode": "98004",
"kind": "Ship to address"
},
"shipToId": [
1000001
],
"_id": "602c1511fcc5e900078ba4b1",
"billToId": 1000001,
"paymentIdentifier": {
"cardIdentifier": 4242
},
"paymentMethod": "Visa",
"paymentToken": {
"token": 123456789
},
"paymentKind": "Default payment",
"amount": 533.33,
"currency": "USD",
"conversion": 1,
"paymentStatus": "Pending",
"id": "602c1511fcc5e900078ba4b1"
}
]
}
}