List registrations
Retrieve a list of product registrations for the authenticated store. Supports filtering by customer email, channel name, or external ID.
Query Parameters
- customerEmail string
Filter registrations by customer email address.
- channelName string
Filter registrations by channel name.
- externalId string
Filter registrations by external ID.
- after string
Cursor for forward pagination. Pass the
endCursorfrom a previous response to fetch the next page. - before string
Cursor for backward pagination. Pass the
startCursorfrom a previous response to fetch the previous page. - first number
Number of items to return when paginating forward (used with
after). Defaults to 50. - last number
Number of items to return when paginating backward (used with
before). - orderBy string
Possible values: [
asc,desc]Sort order for results. Defaults to descending.
- 200
- 400
- 401
- 403
- 429
OK
- application/json
- Schema
- Example (from schema)
Schema
registrations object[] required
Array [registrationId number requiredThe Corso ID of the registration.
storeId number requiredThe Corso ID of the store that the registration belongs to.
externalId string requiredThe external registration ID, used for customer-facing references.
customerEmail string requiredThe email address of the customer who created the registration.
customerName stringThe name of the customer who created the registration.
channelName string requiredThe name of the registration channel.
customerProvidedOrderNumber stringThe order number provided by the customer during registration, if applicable.
estimatedPurchaseDate date-timeThe estimated date of purchase provided by the customer, if applicable.
referrer stringThe referrer URL or source for this registration.
emailMarketingConsent boolean requiredWhether the customer consented to email marketing during registration.
emailMarketingConsentCollectedOn date-timeThe date/time when email marketing consent was collected, if applicable.
lineItems object[] required
The product line items associated with this registration.
Array [lineItemId number requiredThe ID of the line item in Corso systems.
sourceLineItemId string requiredThe line item ID (from the source system).
productId stringThe product ID for the line item (from the source system).
variantId stringThe variant ID for the line item (from the source system). For the line item that represents the Corso Green Shipping Product (if purchased on the order), this should match the corresponding variant ID stored by Corso in our system, so that we can identify the order as protected.
sku string requiredThe SKU of product/variant of the line item.
name string requiredThe line item name, typically the value shown to the customer representing the product/variant combination purchased.
quantity number requiredThe quantity purchased for the line item.
imgUrl stringURL of the product image, if available.
]customFields object[]
Custom field values captured during registration.
Array [name string requiredThe name of the custom field.
value string requiredThe value of the custom field.
]proofOfPurchaseFileUrls string[]URLs to proof-of-purchase files uploaded by the customer.
createdOn date-timeThe date/time when the registration was created.
updatedOn date-timeThe date/time when the registration was last updated.
canceledOn date-timeThe date/time when the registration was canceled, if applicable.
claims object[] required
Array [claimId number requiredThe Corso ID of the claim.
externalId string requiredThe external ID of the claim.
claimType string requiredPossible values: [
Warranty,Return]The type of the claim.
]]pageInfo object required
Information about the pagination of a list.
hasNextPage boolean requiredWhether there are more items after the last returned item.
hasPreviousPage boolean requiredWhether there are more items before the first returned item.
startCursor string nullable requiredAn opaque cursor pointing to the first item in the current page. Pass as
beforeto paginate backwards.endCursor string nullable requiredAn opaque cursor pointing to the last item in the current page. Pass as
afterto paginate forwards.
{
"registrations": [
{
"registrationId": 789012,
"storeId": 123456,
"externalId": "REG-1-456",
"customerEmail": "[email protected]",
"customerName": "Jane Doe",
"channelName": "Online Store",
"customerProvidedOrderNumber": "#1580",
"estimatedPurchaseDate": "2024-06-15T00:00:00Z",
"referrer": "https://example.com/products/widget",
"emailMarketingConsent": true,
"emailMarketingConsentCollectedOn": "2024-01-20T14:45:00Z",
"lineItems": [
{
"lineItemId": 18372912,
"sourceLineItemId": "990986",
"productId": "pro-33320",
"variantId": "var-4569876332",
"sku": "ITEM-12345",
"name": "Shorts - color: blue, size: small",
"quantity": 1,
"imgUrl": "https://cdn.example.com/products/widget-blue.jpg"
}
],
"customFields": [
{
"name": "Serial Number",
"value": "SN-12345-AB"
}
],
"proofOfPurchaseFileUrls": [
"https://cdn.example.com/registrations/receipt1.jpg",
"https://cdn.example.com/registrations/receipt2.jpg"
],
"createdOn": "2024-01-20T14:45:00Z",
"updatedOn": "2024-01-21T09:15:00Z",
"canceledOn": "2024-02-01T10:00:00Z",
"claims": [
{
"claimId": 123456,
"externalId": "1-123-1",
"claimType": "Warranty"
}
]
}
],
"pageInfo": {
"hasNextPage": true,
"hasPreviousPage": false,
"startCursor": "eyJpZCI6MTIzNDU2fQ",
"endCursor": "eyJpZCI6Nzg5MDEyfQ"
}
}
Bad Request
Unauthorized
Forbidden
Too Many Requests
Response Headers
RateLimit-Limit integer
The maximum number of requests allowed in the current window.
RateLimit-Remaining integer
The number of requests remaining in the current window.
RateLimit-Reset integer
The number of seconds until the current rate limit window resets.
Retry-After integer
The number of seconds to wait before retrying (only present when rate limited).