Skip to content
platform

API reference · Orders · Marketplace Management

List Child Orders by Parent Order

Method
GET
Route
/partnerOrders/store/order/:id
Base URL
https://ws.autorei.net
Path parameters
:id
Token
Requires Bearer token
Test in Postman

Opens this request in the public API documentation, the official source of the reference.

Description

Lists the partner orders that originated from the same customer order. An order with items from different suppliers is split into one partner order per supplier, and that split is what this route returns.

Path Parameters

Parameter Type Required Description
id integer Yes Id of the customer order (orderId), the "parent" order — not the partnerOrderId. It is the field orderId field from the listing.

Response · 200

Array of orders, each in the same format as Get Order Details - Marketplace. An order fulfilled by a single supplier returns an array with one item.

Errors

Code When
404 No partner order found for this orderId. It is also what comes back when you send a partnerOrderId by mistake.
401 Token missing, malformed, or expired.

Example request

curl --request GET 'https://ws.autorei.net/partnerOrders/store/order/:id' \
  --header 'Authorization: Bearer {{access_token}}'

Example responses

200Success — one partner order

[
  {
    "attendant": null,
    "orderId": 900100,
    "id": 900201,
    "status": "PAYMENT_APPROVED",
    "approvalWorkflow": false,
    "workflowIsApproved": false,
    "approvalCredit": null,
    "subTotal": 35.91,
    "subTotalFormats": {
      "value": "35,91",
      "mask": "R$ 35,91"
    },
    "taxes": {
      "taxPurpose": null,
      "taxPurposeId": null,
      "st": 0,
      "ipi": 0,
      "icms": 0,
      "pis": 0,
      "cofins": 0,
      "totalTax": 0
    },
    "freightTotal": 45.73,
    "freightTotalFormats": {
      "value": "45,73",
      "mask": "R$ 45,73"
    },
    "total": 81.64,
    "totalFormats": {
      "value": "81,64",
      "mask": "R$ 81,64"
    },
    "dateCreated": "2026-09-01T13:26:05Z",
    "lastUpdated": "2026-09-01T13:27:26Z",
    "invoiceNote": null,
    "leadTimeByRequestDone": true,
    "order": {
      "origin": "SHOP",
      "originStoreName": "Loja Exemplo",
      "originStoreId": 4210,
      "originStoreSubdomain": "lojaexemplo",
      "originStorePartnerId": 5050,
      "drivenPrice": false,
      "manualPrice": false
    },
    "seller": {
      "id": 5050,
      "name": "Loja Exemplo",
      "document": "30.424.972/0001-74"
    },
    "customer": {
      "id": 700101,
      "name": "Ana Paula Ribeiro",
      "contactName": "Ana Paula Ribeiro",
      "email": "ana.ribeiro@exemplo.com.br",
      "phone": "(11) 98765-4321",
      "type": "pf",
      "document": "700.413.648-56",
      "stateRegistration": null,
      "optinTracking": null,
      "trackingPhone": null,
      "dateCreated": "2026-08-20T09:15:00Z",
      "registrationAddress": {
        "street": "Avenida Paulista",
        "number": "1578",
        "quarter": "Bela Vista",
        "city": "São Paulo",
        "state": "SP",
        "zipcode": "01310-100",
        "farmerStateRegistration": null
      },
      "customerAttributes": [
        {
          "name": "OPTIN_NEWSLETTER",
          "value": "true"
        }
      ]
    },
    "payments": [
      {
        "id": 4490201,
        "paymentType": "BANK_SLIP",
        "gateway": "GATEWAY_DE_PAGAMENTO",
        "paymentInstallmentsValue": 81.64,
        "paymentInstallments": 1
      }
    ],
    "deliveries": [
      {
        "address": {
          "id": 4470701,
          "name": "Endereço de entrega",
          "street": "Avenida Paulista",
          "number": "1578",
          "quarter": "Bela Vista",
          "city": "São Paulo",
          "state": "SP",
          "zipcode": "01310-100",
          "deliveryAddressCode": null,
          "addressType": "RESIDENTIAL"
        },
        "freight": {
          "value": 45.73,
          "valueFormats": {
            "value": "45,73",
            "mask": "R$ 45,73"
          },
          "name": "CORREIO - SEDEX",
          "type": "INTELIPOST",
          "freightTime": 4,
          "packingTime": 0,
          "realValue": 45.73,
          "realValueFormats": {
            "value": "45,73",
            "mask": "R$ 45,73"
          },
          "realName": "CORREIO - SEDEX",
          "realType": "INTELIPOST",
          "intelipostQuoteId": "202956238407743",
          "intelipostDeliveryMethodId": "2",
          "intelipostDeliveryMethodExternalId": "94"
        },
        "products": [
          {
            "id": 500101,
            "name": "Produto Exemplo A",
            "mfrPartCode": "FE-500101",
            "composition": "UNITARY",
            "virtualQuantity": 0,
            "realQuantity": 1,
            "quantity": 1,
            "price": 35.91,
            "priceFormats": {
              "value": "35,91",
              "mask": "R$ 35,91"
            },
            "leadTime": 0,
            "partnerOrderLineId": 4490101,
            "isLeadTimeByRequest": false,
            "stockPrice": 39.9,
            "stockPriceFormats": {
              "value": "39,90",
              "mask": "R$ 39,90"
            },
            "totalCost": 52.15,
            "totalCostFormats": {
              "value": "52,15",
              "mask": "R$ 52,15"
            },
            "netCost": 52.15,
            "netCostFormats": {
              "value": "52,15",
              "mask": "R$ 52,15"
            },
            "marginAfterDiscountPercentage": null,
            "interestRate": null,
            "anticipationRate": null,
            "realSalePrice": 35.91,
            "realSalePriceFormats": {
              "value": "35,91",
              "mask": "R$ 35,91"
            },
            "drivenPrice": false,
            "partnerPartCode": "SKU-A-001",
            "partnerInternalPartCode": null,
            "warehouse": {
              "id": 1001,
              "name": "Depósito Central",
              "zipcode": "01310-100"
            },
            "brand": {
              "id": 4460101,
              "name": "Fabricante Exemplo"
            },
            "specialRules": {},
            "needsAgronomicRecipe": "false",
            "salesUnitOfMeasurement": null,
            "salePriceByUnitOfMeasurement": null,
            "unitaryQuantityInSalesUnitOfMeasurement": null,
            "totalQuantityInSalesUnitOfMeasurement": null,
            "whoAddedItemToCart": "client",
            "customKey": null,
            "categoryId": 31519,
            "categoryName": "Categoria Exemplo"
          }
        ]
      }
    ],
    "paymentPartnerReceiver": [
      {
        "participant": "marketplace",
        "name": "Loja Exemplo",
        "typeReceiver": "PRIMARY",
        "paymentFees": "true",
        "splitedBy": "TOTAL",
        "splitedPercentage": 100,
        "splitedValue": "81,64",
        "value": "81,64"
      }
    ],
    "orderStatusLogs": [
      {
        "status": "PAYMENT_APPROVED",
        "date": "2026-09-02T11:12:40Z"
      }
    ],
    "totalMarginAfterDiscountPercentage": null,
    "markup": null,
    "whoCreatedPreOrder": "client",
    "whoSelectedPayment": "client",
    "commissionAssignedAttendantId": null,
    "commissionAssignedAttendantCode": null,
    "commissionAssignedAttendantDoc": null,
    "approvalLevels": [],
    "customCartId": null,
    "cartTypeName": null,
    "cartTypeExternalId": null
  }
]

Used in

Generated from the public API collection, published on 2026-09-04: api-docs.cws.digital.