<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>Spryker Documentation</title>
        <description>Spryker documentation center.</description>
        <link>https://docs.spryker.com/</link>
        <atom:link href="https://docs.spryker.com/feed.xml" rel="self" type="application/rss+xml"/>
        <lastBuildDate>Thu, 14 May 2026 09:14:43 +0000</lastBuildDate>
        <generator>Jekyll v4.2.2</generator>
        
        
        <item>
            <title>Glue API: Retrieve Marketplace orders</title>
            <description>Every registered customer can retrieve the list of orders for their account, as well as the detailed order information, including every step of the calculation and addresses used in the orders.

In your development, this resource can help you to:

- Make the order history available to customers.
- Make order details available to enable reordering functionality.

The **Marketplace Order Management API** lets you retrieve all orders made by a registered customer.


## Installation

For detailed information about the modules that provide the API functionality and related installation instructions, see [**Install the Order Management Glue API**](/docs/pbc/all/order-management-system/latest/base-shop/install-and-upgrade/install-glue-api/install-the-order-management-glue-api.html)

## Retrieve all orders

To retrieve a list of all orders made by a registered customer, send the request:

***
`GET` **/orders**
***

### Request

| HEADER KEY  | HEADER VALUE | REQUIRED | DESCRIPTION                                                  |
| ------------- | ------------ | -------- | -------------------------------- |
| Authorization | string   | &amp;check;  | Alphanumeric string that authorizes the customer to send requests to protected resources. Get it by [authenticating as a customer](/docs/pbc/all/identity-access-management/latest/manage-using-glue-api/glue-api-authenticate-as-a-customer.html). |

| QUERY PARAMETER | DESCRIPTION  | POSSIBLE VALUES |
| ---------------- | ---------------------- | ----------------------------- |
| offset | The offset of the order at which to begin the response. Works only together with page[limit]. To work correctly, the value should be devisable by the value of page[limit]. The default value is 0. | From `0` to any. |
| limit | The maximum number of entries to return. Works only together with page[offset]. The default value is 10. | From `1` to any. |
| include | Adds resource relationships to the request.  | merchants |

| REQUEST | USAGE  |
| --------------------- | ------------------ |
| `GET https://glue.mysprykershop.com/orders`  | Retrieve all orders.  |
| `GET https://glue.mysprykershop.com/orders?page[limit]=10`  | Retrieve 10 orders. |
| `GET https://glue.mysprykershop.com/orders?page[offset]=10&amp;page[limit]=10` | Retrieve 10 orders starting from the eleventh order.  |
| `GET https://glue.mysprykershop.com/orders?page[offset]=20`  | Retrieve all orders starting from the twenty first order.  |
| `GET https://glue.mysprykershop.com/orders?include=merchants`  | Retrieve all orders with the merchants included. |

### Response


&lt;details&gt;
&lt;summary&gt;Response sample: retrieve all orders&lt;/summary&gt;

```json
{
    &quot;data&quot;: [
        {
            &quot;type&quot;: &quot;orders&quot;,
            &quot;id&quot;: &quot;DE--5&quot;,
            &quot;attributes&quot;: {
                &quot;merchantReferences&quot;: [],
                &quot;itemStates&quot;: [
                    &quot;closed&quot;
                ],
                &quot;createdAt&quot;: &quot;2020-10-19 15:26:37.868585&quot;,
                &quot;currencyIsoCode&quot;: &quot;EUR&quot;,
                &quot;priceMode&quot;: &quot;GROSS_MODE&quot;,
                &quot;totals&quot;: {
                    &quot;expenseTotal&quot;: 500,
                    &quot;discountTotal&quot;: 9701,
                    &quot;taxTotal&quot;: 10962,
                    &quot;subtotal&quot;: 92013,
                    &quot;grandTotal&quot;: 82812,
                    &quot;canceledTotal&quot;: 0,
                    &quot;remunerationTotal&quot;: 0
                }
            },
            &quot;links&quot;: {
                &quot;self&quot;: &quot;https://glue.mysprykershop.com/orders/DE--5&quot;
            }
        },
        {
            &quot;type&quot;: &quot;orders&quot;,
            &quot;id&quot;: &quot;DE--4&quot;,
            &quot;attributes&quot;: {
                &quot;merchantReferences&quot;: [],
                &quot;itemStates&quot;: [
                    &quot;shipped&quot;
                ],
                &quot;createdAt&quot;: &quot;2020-10-19 15:25:57.909985&quot;,
                &quot;currencyIsoCode&quot;: &quot;EUR&quot;,
                &quot;priceMode&quot;: &quot;GROSS_MODE&quot;,
                &quot;totals&quot;: {
                    &quot;expenseTotal&quot;: 500,
                    &quot;discountTotal&quot;: 14841,
                    &quot;taxTotal&quot;: 0,
                    &quot;subtotal&quot;: 143412,
                    &quot;grandTotal&quot;: 129071,
                    &quot;canceledTotal&quot;: 0,
                    &quot;remunerationTotal&quot;: 0
                }
            },
            &quot;links&quot;: {
                &quot;self&quot;: &quot;https://glue.mysprykershop.com/orders/DE--4&quot;
            }
        },
        {
            &quot;type&quot;: &quot;orders&quot;,
            &quot;id&quot;: &quot;DE--3&quot;,
            &quot;attributes&quot;: {
                &quot;merchantReferences&quot;: [],
                &quot;itemStates&quot;: [
                    &quot;closed&quot;
                ],
                &quot;createdAt&quot;: &quot;2020-10-19 15:25:14.861031&quot;,
                &quot;currencyIsoCode&quot;: &quot;EUR&quot;,
                &quot;priceMode&quot;: &quot;GROSS_MODE&quot;,
                &quot;totals&quot;: {
                    &quot;expenseTotal&quot;: 1500,
                    &quot;discountTotal&quot;: 9147,
                    &quot;taxTotal&quot;: 2893,
                    &quot;subtotal&quot;: 91474,
                    &quot;grandTotal&quot;: 83827,
                    &quot;canceledTotal&quot;: 0,
                    &quot;remunerationTotal&quot;: 0
                }
            },
            &quot;links&quot;: {
                &quot;self&quot;: &quot;https://glue.mysprykershop.com/orders/DE--3&quot;
            }
        },
        {
            &quot;type&quot;: &quot;orders&quot;,
            &quot;id&quot;: &quot;DE--2&quot;,
            &quot;attributes&quot;: {
                &quot;merchantReferences&quot;: [
                    &quot;MER000002&quot;,
                    &quot;MER000001&quot;
                ],
                &quot;itemStates&quot;: [
                    &quot;new&quot;
                ],
                &quot;createdAt&quot;: &quot;2020-10-19 15:16:21.879286&quot;,
                &quot;currencyIsoCode&quot;: &quot;EUR&quot;,
                &quot;priceMode&quot;: &quot;GROSS_MODE&quot;,
                &quot;totals&quot;: {
                    &quot;expenseTotal&quot;: 1590,
                    &quot;discountTotal&quot;: 3959,
                    &quot;taxTotal&quot;: 4957,
                    &quot;subtotal&quot;: 39586,
                    &quot;grandTotal&quot;: 37217,
                    &quot;canceledTotal&quot;: 0,
                    &quot;remunerationTotal&quot;: 0
                }
            },
            &quot;links&quot;: {
                &quot;self&quot;: &quot;https://glue.mysprykershop.com/orders/DE--2&quot;
            }
        },
        {
            &quot;type&quot;: &quot;orders&quot;,
            &quot;id&quot;: &quot;DE--1&quot;,
            &quot;attributes&quot;: {
                &quot;merchantReferences&quot;: [
                    &quot;MER000001&quot;,
                    &quot;MER000002&quot;,
                    &quot;MER000006&quot;,
                    &quot;MER000005&quot;
                ],
                &quot;itemStates&quot;: [
                    &quot;confirmed&quot;
                ],
                &quot;createdAt&quot;: &quot;2020-10-19 15:14:51.183582&quot;,
                &quot;currencyIsoCode&quot;: &quot;EUR&quot;,
                &quot;priceMode&quot;: &quot;GROSS_MODE&quot;,
                &quot;totals&quot;: {
                    &quot;expenseTotal&quot;: 4080,
                    &quot;discountTotal&quot;: 11884,
                    &quot;taxTotal&quot;: 12651,
                    &quot;subtotal&quot;: 113944,
                    &quot;grandTotal&quot;: 106140,
                    &quot;canceledTotal&quot;: 0,
                    &quot;remunerationTotal&quot;: 0
                }
            },
            &quot;links&quot;: {
                &quot;self&quot;: &quot;https://glue.mysprykershop.com/orders/DE--1&quot;
            }
        }
    ],
    &quot;links&quot;: {
        &quot;self&quot;: &quot;https://glue.mysprykershop.com/orders&quot;
    }
}
```

&lt;/details&gt;

&lt;details&gt;
&lt;summary&gt;Response sample: retrieve all orders with the merchants included&lt;/summary&gt;

```json
{
    &quot;data&quot;: [
        {
            &quot;type&quot;: &quot;orders&quot;,
            &quot;id&quot;: &quot;DE--5&quot;,
            &quot;attributes&quot;: {
                &quot;merchantReferences&quot;: [],
                &quot;itemStates&quot;: [
                    &quot;closed&quot;
                ],
                &quot;createdAt&quot;: &quot;2020-10-19 15:26:37.868585&quot;,
                &quot;currencyIsoCode&quot;: &quot;EUR&quot;,
                &quot;priceMode&quot;: &quot;GROSS_MODE&quot;,
                &quot;totals&quot;: {
                    &quot;expenseTotal&quot;: 500,
                    &quot;discountTotal&quot;: 9701,
                    &quot;taxTotal&quot;: 10962,
                    &quot;subtotal&quot;: 92013,
                    &quot;grandTotal&quot;: 82812,
                    &quot;canceledTotal&quot;: 0,
                    &quot;remunerationTotal&quot;: 0
                }
            },
            &quot;links&quot;: {
                &quot;self&quot;: &quot;https://glue.mysprykershop.com/orders/DE--5?include=merchants&quot;
            }
        },
        {
            &quot;type&quot;: &quot;orders&quot;,
            &quot;id&quot;: &quot;DE--4&quot;,
            &quot;attributes&quot;: {
                &quot;merchantReferences&quot;: [],
                &quot;itemStates&quot;: [
                    &quot;shipped&quot;
                ],
                &quot;createdAt&quot;: &quot;2020-10-19 15:25:57.909985&quot;,
                &quot;currencyIsoCode&quot;: &quot;EUR&quot;,
                &quot;priceMode&quot;: &quot;GROSS_MODE&quot;,
                &quot;totals&quot;: {
                    &quot;expenseTotal&quot;: 500,
                    &quot;discountTotal&quot;: 14841,
                    &quot;taxTotal&quot;: 0,
                    &quot;subtotal&quot;: 143412,
                    &quot;grandTotal&quot;: 129071,
                    &quot;canceledTotal&quot;: 0,
                    &quot;remunerationTotal&quot;: 0
                }
            },
            &quot;links&quot;: {
                &quot;self&quot;: &quot;https://glue.mysprykershop.com/orders/DE--4?include=merchants&quot;
            }
        },
        {
            &quot;type&quot;: &quot;orders&quot;,
            &quot;id&quot;: &quot;DE--3&quot;,
            &quot;attributes&quot;: {
                &quot;merchantReferences&quot;: [],
                &quot;itemStates&quot;: [
                    &quot;closed&quot;
                ],
                &quot;createdAt&quot;: &quot;2020-10-19 15:25:14.861031&quot;,
                &quot;currencyIsoCode&quot;: &quot;EUR&quot;,
                &quot;priceMode&quot;: &quot;GROSS_MODE&quot;,
                &quot;totals&quot;: {
                    &quot;expenseTotal&quot;: 1500,
                    &quot;discountTotal&quot;: 9147,
                    &quot;taxTotal&quot;: 2893,
                    &quot;subtotal&quot;: 91474,
                    &quot;grandTotal&quot;: 83827,
                    &quot;canceledTotal&quot;: 0,
                    &quot;remunerationTotal&quot;: 0
                }
            },
            &quot;links&quot;: {
                &quot;self&quot;: &quot;https://glue.mysprykershop.com/orders/DE--3?include=merchants&quot;
            }
        },
        {
            &quot;type&quot;: &quot;orders&quot;,
            &quot;id&quot;: &quot;DE--2&quot;,
            &quot;attributes&quot;: {
                &quot;merchantReferences&quot;: [
                    &quot;MER000002&quot;,
                    &quot;MER000001&quot;
                ],
                &quot;itemStates&quot;: [
                    &quot;new&quot;
                ],
                &quot;createdAt&quot;: &quot;2020-10-19 15:16:21.879286&quot;,
                &quot;currencyIsoCode&quot;: &quot;EUR&quot;,
                &quot;priceMode&quot;: &quot;GROSS_MODE&quot;,
                &quot;totals&quot;: {
                    &quot;expenseTotal&quot;: 1590,
                    &quot;discountTotal&quot;: 3959,
                    &quot;taxTotal&quot;: 4957,
                    &quot;subtotal&quot;: 39586,
                    &quot;grandTotal&quot;: 37217,
                    &quot;canceledTotal&quot;: 0,
                    &quot;remunerationTotal&quot;: 0
                }
            },
            &quot;links&quot;: {
                &quot;self&quot;: &quot;https://glue.mysprykershop.com/orders/DE--2?include=merchants&quot;
            },
            &quot;relationships&quot;: {
                &quot;merchants&quot;: {
                    &quot;data&quot;: [
                        {
                            &quot;type&quot;: &quot;merchants&quot;,
                            &quot;id&quot;: &quot;MER000002&quot;
                        },
                        {
                            &quot;type&quot;: &quot;merchants&quot;,
                            &quot;id&quot;: &quot;MER000001&quot;
                        }
                    ]
                }
            }
        },
        {
            &quot;type&quot;: &quot;orders&quot;,
            &quot;id&quot;: &quot;DE--1&quot;,
            &quot;attributes&quot;: {
                &quot;merchantReferences&quot;: [
                    &quot;MER000001&quot;,
                    &quot;MER000002&quot;,
                    &quot;MER000006&quot;,
                    &quot;MER000005&quot;
                ],
                &quot;itemStates&quot;: [
                    &quot;confirmed&quot;
                ],
                &quot;createdAt&quot;: &quot;2020-10-19 15:14:51.183582&quot;,
                &quot;currencyIsoCode&quot;: &quot;EUR&quot;,
                &quot;priceMode&quot;: &quot;GROSS_MODE&quot;,
                &quot;totals&quot;: {
                    &quot;expenseTotal&quot;: 4080,
                    &quot;discountTotal&quot;: 11884,
                    &quot;taxTotal&quot;: 12651,
                    &quot;subtotal&quot;: 113944,
                    &quot;grandTotal&quot;: 106140,
                    &quot;canceledTotal&quot;: 0,
                    &quot;remunerationTotal&quot;: 0
                }
            },
            &quot;links&quot;: {
                &quot;self&quot;: &quot;https://glue.mysprykershop.com/orders/DE--1?include=merchants&quot;
            },
            &quot;relationships&quot;: {
                &quot;merchants&quot;: {
                    &quot;data&quot;: [
                        {
                            &quot;type&quot;: &quot;merchants&quot;,
                            &quot;id&quot;: &quot;MER000002&quot;
                        },
                        {
                            &quot;type&quot;: &quot;merchants&quot;,
                            &quot;id&quot;: &quot;MER000001&quot;
                        },
                        {
                            &quot;type&quot;: &quot;merchants&quot;,
                            &quot;id&quot;: &quot;MER000006&quot;
                        },
                        {
                            &quot;type&quot;: &quot;merchants&quot;,
                            &quot;id&quot;: &quot;MER000005&quot;
                        }
                    ]
                }
            }
        }
    ],
    &quot;links&quot;: {
        &quot;self&quot;: &quot;https://glue.mysprykershop.com/orders?include=merchants&quot;
    },
    &quot;included&quot;: [
        {
            &quot;type&quot;: &quot;merchants&quot;,
            &quot;id&quot;: &quot;MER000002&quot;,
            &quot;attributes&quot;: {
                &quot;merchantName&quot;: &quot;Video King&quot;,
                &quot;merchantUrl&quot;: &quot;/en/merchant/video-king&quot;,
                &quot;contactPersonRole&quot;: &quot;Country Manager DE&quot;,
                &quot;contactPersonTitle&quot;: &quot;Ms&quot;,
                &quot;contactPersonFirstName&quot;: &quot;Martha&quot;,
                &quot;contactPersonLastName&quot;: &quot;Farmer&quot;,
                &quot;contactPersonPhone&quot;: &quot;+31 123 345 678&quot;,
                &quot;logoUrl&quot;: &quot;https://d2s0ynfc62ej12.cloudfront.net/merchant/videoking-logo.png&quot;,
                &quot;publicEmail&quot;: &quot;hi@video-king.nl&quot;,
                &quot;publicPhone&quot;: &quot;+31 123 345 777&quot;,
                &quot;description&quot;: &quot;Video King is a premium provider of video equipment. In business since 2010, we understand the needs of video professionals and enthusiasts and offer a wide variety of products with competitive prices. &quot;,
                &quot;bannerUrl&quot;: &quot;https://d2s0ynfc62ej12.cloudfront.net/merchant/videoking-banner.png&quot;,
                &quot;deliveryTime&quot;: &quot;2-4 days&quot;,
                &quot;latitude&quot;: &quot;4.838470&quot;,
                &quot;longitude&quot;: &quot;51.558107&quot;,
                &quot;faxNumber&quot;: &quot;+31 123 345 733&quot;,
                &quot;legalInformation&quot;: {
                    &quot;terms&quot;: &quot;&lt;p&gt;&lt;span style=\&quot;font-weight: bold;\&quot;&gt;General Terms&lt;/span&gt;&lt;br&gt;&lt;br&gt;(1) This privacy policy has been compiled to better serve those who are concerned with how their &apos;Personally identifiable information&apos; (PII) is being used online. PII, as used in US privacy law and information security, is information that can be used on its own or with other information to identify, contact, or locate a single person, or to identify an individual in context. Please read our privacy policy carefully to get a clear understanding of how we collect, use, protect or otherwise handle your Personally Identifiable Information in accordance with our website. &lt;br&gt;&lt;br&gt;(2) We do not collect information from visitors of our site or other details to help you with your experience.&lt;br&gt;&lt;br&gt;&lt;span style=\&quot;font-weight: bold;\&quot;&gt;Using your Information&lt;/span&gt;&lt;br&gt;&lt;br&gt;We may use the information we collect from you when you register, make a purchase, sign up for our newsletter, respond to a survey or marketing communication, surf the website, or use certain other site features in the following ways: &lt;br&gt;&lt;br&gt;To personalize user&apos;s experience and to let us deliver the type of content and product offerings in which you are most interested.&lt;br&gt;&lt;br&gt;&lt;span style=\&quot;font-weight: bold;\&quot;&gt;Protecting visitor information&lt;/span&gt;&lt;br&gt;&lt;br&gt;Our website is scanned on a regular basis for security holes and known vulnerabilities in order to make your visit to our site as safe as possible. Your personal information is contained behind secured networks and is only accessible by a limited number of persons who have special access rights to such systems, and are required to keep the information confidential. In addition, all sensitive/credit information you supply is encrypted via Secure Socket Layer (SSL) technology.&lt;/p&gt;&quot;,
                    &quot;cancellationPolicy&quot;: &quot;You have the right to withdraw from this contract within 14 days without giving any reason. The withdrawal period will expire after 14 days from the day on which you acquire, or a third party other than the carrier and indicated by you acquires, physical possession of the last good. You may use the attached model withdrawal form, but it&apos;s not obligatory. To meet the withdrawal deadline, it&apos;s sufficient for you to send your communication concerning your exercise of the right of withdrawal before the withdrawal period has expired.&quot;,
                    &quot;imprint&quot;: &quot;&lt;p&gt;Video King&lt;br&gt;&lt;br&gt;Gilzeweg 24&lt;br&gt;4854SG Bavel&lt;br&gt;NL &lt;br&gt;&lt;br&gt;Phone: +31 123 45 6789&lt;br&gt;Email: hi@video-king.nl&lt;br&gt;&lt;br&gt;Represented by&lt;br&gt;Managing Director: Max Mustermann&lt;br&gt;Register Court: Amsterdam&lt;br&gt;Register Number: 1234.4567&lt;br&gt;&lt;/p&gt;&quot;,
                    &quot;dataPrivacy&quot;: &quot;Video King values the privacy of your personal data.&quot;
                }
            },
            &quot;links&quot;: {
                &quot;self&quot;: &quot;https://glue.mysprykershop.com/merchants/MER000002&quot;
            }
        },
        {
            &quot;type&quot;: &quot;merchants&quot;,
            &quot;id&quot;: &quot;MER000001&quot;,
            &quot;attributes&quot;: {
                &quot;merchantName&quot;: &quot;Spryker&quot;,
                &quot;merchantUrl&quot;: &quot;/en/merchant/spryker&quot;,
                &quot;contactPersonRole&quot;: &quot;E-Commerce Manager&quot;,
                &quot;contactPersonTitle&quot;: &quot;Mr&quot;,
                &quot;contactPersonFirstName&quot;: &quot;Harald&quot;,
                &quot;contactPersonLastName&quot;: &quot;Schmidt&quot;,
                &quot;contactPersonPhone&quot;: &quot;+49 30 208498350&quot;,
                &quot;logoUrl&quot;: &quot;https://d2s0ynfc62ej12.cloudfront.net/merchant/spryker-logo.png&quot;,
                &quot;publicEmail&quot;: &quot;info@spryker.com&quot;,
                &quot;publicPhone&quot;: &quot;+49 30 234567891&quot;,
                &quot;description&quot;: &quot;Spryker is the main merchant at the Demo Marketplace.&quot;,
                &quot;bannerUrl&quot;: &quot;https://d2s0ynfc62ej12.cloudfront.net/merchant/spryker-banner.png&quot;,
                &quot;deliveryTime&quot;: &quot;1-3 days&quot;,
                &quot;latitude&quot;: &quot;13.384458&quot;,
                &quot;longitude&quot;: &quot;52.534105&quot;,
                &quot;faxNumber&quot;: &quot;+49 30 234567800&quot;,
                &quot;legalInformation&quot;: {
                    &quot;terms&quot;: &quot;&lt;p&gt;&lt;span style=\&quot;font-weight: bold;\&quot;&gt;General Terms&lt;/span&gt;&lt;br&gt;&lt;br&gt;(1) This privacy policy has been compiled to better serve those who are concerned with how their &apos;Personally identifiable information&apos; (PII) is being used online. PII, as used in US privacy law and information security, is information that can be used on its own or with other information to identify, contact, or locate a single person, or to identify an individual in context. Please read our privacy policy carefully to get a clear understanding of how we collect, use, protect or otherwise handle your Personally Identifiable Information in accordance with our website. &lt;br&gt;&lt;br&gt;(2) We do not collect information from visitors of our site or other details to help you with your experience.&lt;br&gt;&lt;br&gt;&lt;span style=\&quot;font-weight: bold;\&quot;&gt;Using your Information&lt;/span&gt;&lt;br&gt;&lt;br&gt;We may use the information we collect from you when you register, make a purchase, sign up for our newsletter, respond to a survey or marketing communication, surf the website, or use certain other site features in the following ways: &lt;br&gt;&lt;br&gt;To personalize user&apos;s experience and to let us deliver the type of content and product offerings in which you are most interested.&lt;br&gt;&lt;br&gt;&lt;span style=\&quot;font-weight: bold;\&quot;&gt;Protecting visitor information&lt;/span&gt;&lt;br&gt;&lt;br&gt;Our website is scanned on a regular basis for security holes and known vulnerabilities in order to make your visit to our site as safe as possible. Your personal information is contained behind secured networks and is only accessible by a limited number of persons who have special access rights to such systems, and are required to keep the information confidential. In addition, all sensitive/credit information you supply is encrypted via Secure Socket Layer (SSL) technology.&lt;/p&gt;&quot;,
                    &quot;cancellationPolicy&quot;: &quot;You have the right to withdraw from this contract within 14 days without giving any reason. The withdrawal period will expire after 14 days from the day on which you acquire, or a third party other than the carrier and indicated by you acquires, physical possession of the last good. You may use the attached model withdrawal form, but it&apos;s not obligatory. To meet the withdrawal deadline, it&apos;s sufficient for you to send your communication concerning your exercise of the right of withdrawal before the withdrawal period has expired.&quot;,
                    &quot;imprint&quot;: &quot;&lt;p&gt;Spryker Systems GmbH&lt;br&gt;&lt;br&gt;Julie-Wolfthorn-Straße 1&lt;br&gt;10115 Berlin&lt;br&gt;DE&lt;br&gt;&lt;br&gt;Phone: +49 (30) 2084983 50&lt;br&gt;Email: info@spryker.com&lt;br&gt;&lt;br&gt;Represented by&lt;br&gt;Managing Directors: Alexander Graf, Boris Lokschin&lt;br&gt;Register Court: Hamburg&lt;br&gt;Register Number: HRB 134310&lt;br&gt;&lt;/p&gt;&quot;,
                    &quot;dataPrivacy&quot;: &quot;Spryker Systems GmbH values the privacy of your personal data.&quot;
                }
            },
            &quot;links&quot;: {
                &quot;self&quot;: &quot;https://glue.mysprykershop.com/merchants/MER000001&quot;
            }
        },
        {
            &quot;type&quot;: &quot;merchants&quot;,
            &quot;id&quot;: &quot;MER000006&quot;,
            &quot;attributes&quot;: {
                &quot;merchantName&quot;: &quot;Sony Experts&quot;,
                &quot;merchantUrl&quot;: &quot;/en/merchant/sony-experts&quot;,
                &quot;contactPersonRole&quot;: &quot;Brand Manager&quot;,
                &quot;contactPersonTitle&quot;: &quot;Ms&quot;,
                &quot;contactPersonFirstName&quot;: &quot;Michele&quot;,
                &quot;contactPersonLastName&quot;: &quot;Nemeth&quot;,
                &quot;contactPersonPhone&quot;: &quot;030/123456789&quot;,
                &quot;logoUrl&quot;: &quot;https://d2s0ynfc62ej12.cloudfront.net/merchant/sonyexperts-logo.png&quot;,
                &quot;publicEmail&quot;: &quot;support@sony-experts.com&quot;,
                &quot;publicPhone&quot;: &quot;+49 30 234567691&quot;,
                &quot;description&quot;: &quot;Capture your moment with the best cameras from Sony. From pocket-size to professional-style, they all pack features to deliver the best quality pictures.Discover the range of Sony cameras, lenses and accessories, and capture your favorite moments with precision and style with the best cameras can offer.&quot;,
                &quot;bannerUrl&quot;: &quot;https://d2s0ynfc62ej12.cloudfront.net/merchant/sonyexperts-banner.png&quot;,
                &quot;deliveryTime&quot;: &quot;1-3 days&quot;,
                &quot;latitude&quot;: &quot;11.547788&quot;,
                &quot;longitude&quot;: &quot;48.131058&quot;,
                &quot;faxNumber&quot;: &quot;+49 30 234567600&quot;,
                &quot;legalInformation&quot;: {
                    &quot;terms&quot;: &quot;&lt;p&gt;&lt;span style=\&quot;font-weight: bold;\&quot;&gt;General Terms&lt;/span&gt;&lt;br&gt;&lt;br&gt;(1) This privacy policy has been compiled to better serve those who are concerned with how their &apos;Personally identifiable information&apos; (PII) is being used online. PII, as used in US privacy law and information security, is information that can be used on its own or with other information to identify, contact, or locate a single person, or to identify an individual in context. Please read our privacy policy carefully to get a clear understanding of how we collect, use, protect or otherwise handle your Personally Identifiable Information in accordance with our website. &lt;br&gt;&lt;br&gt;(2) We do not collect information from visitors of our site or other details to help you with your experience.&lt;br&gt;&lt;br&gt;&lt;span style=\&quot;font-weight: bold;\&quot;&gt;Using your Information&lt;/span&gt;&lt;br&gt;&lt;br&gt;We may use the information we collect from you when you register, make a purchase, sign up for our newsletter, respond to a survey or marketing communication, surf the website, or use certain other site features in the following ways: &lt;br&gt;&lt;br&gt;To personalize user&apos;s experience and to let us deliver the type of content and product offerings in which you are most interested.&lt;br&gt;&lt;br&gt;&lt;span style=\&quot;font-weight: bold;\&quot;&gt;Protecting visitor information&lt;/span&gt;&lt;br&gt;&lt;br&gt;Our website is scanned on a regular basis for security holes and known vulnerabilities in order to make your visit to our site as safe as possible. Your personal information is contained behind secured networks and is only accessible by a limited number of persons who have special access rights to such systems, and are required to keep the information confidential. In addition, all sensitive/credit information you supply is encrypted via Secure Socket Layer (SSL) technology.&lt;/p&gt;&quot;,
                    &quot;cancellationPolicy&quot;: &quot;You have the right to withdraw from this contract within 14 days without giving any reason. The withdrawal period will expire after 14 days from the day on which you acquire, or a third party other than the carrier and indicated by you acquires, physical possession of the last good. You may use the attached model withdrawal form, but it&apos;s not obligatory. To meet the withdrawal deadline, it&apos;s sufficient for you to send your communication concerning your exercise of the right of withdrawal before the withdrawal period has expired.&quot;,
                    &quot;imprint&quot;: &quot;&lt;p&gt;Sony Experts&lt;br&gt;&lt;br&gt;Matthias-Pschorr-Straße 1&lt;br&gt;80336 München&lt;br&gt;DE&lt;br&gt;&lt;br&gt;Phone: 030 1234567&lt;br&gt;Email: support@sony-experts.com&lt;br&gt;&lt;br&gt;Represented by&lt;br&gt;Managing Director: Max Mustermann&lt;br&gt;Register Court: Munich&lt;br&gt;Register Number: HYY 134306&lt;br&gt;&lt;/p&gt;&quot;,
                    &quot;dataPrivacy&quot;: &quot;Sony Experts values the privacy of your personal data.&quot;
                }
            },
            &quot;links&quot;: {
                &quot;self&quot;: &quot;https://glue.mysprykershop.com/merchants/MER000006&quot;
            }
        },
        {
            &quot;type&quot;: &quot;merchants&quot;,
            &quot;id&quot;: &quot;MER000005&quot;,
            &quot;attributes&quot;: {
                &quot;merchantName&quot;: &quot;Budget Cameras&quot;,
                &quot;merchantUrl&quot;: &quot;/en/merchant/budget-cameras&quot;,
                &quot;contactPersonRole&quot;: &quot;Merchandise Manager&quot;,
                &quot;contactPersonTitle&quot;: &quot;Mr&quot;,
                &quot;contactPersonFirstName&quot;: &quot;Jason&quot;,
                &quot;contactPersonLastName&quot;: &quot;Weidmann&quot;,
                &quot;contactPersonPhone&quot;: &quot;030/123456789&quot;,
                &quot;logoUrl&quot;: &quot;https://d2s0ynfc62ej12.cloudfront.net/merchant/budgetcameras-logo.png&quot;,
                &quot;publicEmail&quot;: &quot;support@budgetcamerasonline.com&quot;,
                &quot;publicPhone&quot;: &quot;+49 30 234567591&quot;,
                &quot;description&quot;: &quot;DSLR and mirrorless cameras are by far the most popular with filmmakers on a tight budget when you can&apos;t afford multiple specialist cameras.Budget Cameras is offering a great selection of digital cameras with the lowest prices.&quot;,
                &quot;bannerUrl&quot;: &quot;https://d2s0ynfc62ej12.cloudfront.net/merchant/budgetcameras-banner.png&quot;,
                &quot;deliveryTime&quot;: &quot;2-4 days&quot;,
                &quot;latitude&quot;: &quot;10.004663&quot;,
                &quot;longitude&quot;: &quot;53.552463&quot;,
                &quot;faxNumber&quot;: &quot;+49 30 234567500&quot;,
                &quot;legalInformation&quot;: {
                    &quot;terms&quot;: &quot;&lt;p&gt;&lt;span style=\&quot;font-weight: bold;\&quot;&gt;General Terms&lt;/span&gt;&lt;br&gt;&lt;br&gt;(1) This privacy policy has been compiled to better serve those who are concerned with how their &apos;Personally identifiable information&apos; (PII) is being used online. PII, as used in US privacy law and information security, is information that can be used on its own or with other information to identify, contact, or locate a single person, or to identify an individual in context. Please read our privacy policy carefully to get a clear understanding of how we collect, use, protect or otherwise handle your Personally Identifiable Information in accordance with our website. &lt;br&gt;&lt;br&gt;(2) We do not collect information from visitors of our site or other details to help you with your experience.&lt;br&gt;&lt;br&gt;&lt;span style=\&quot;font-weight: bold;\&quot;&gt;Using your Information&lt;/span&gt;&lt;br&gt;&lt;br&gt;We may use the information we collect from you when you register, make a purchase, sign up for our newsletter, respond to a survey or marketing communication, surf the website, or use certain other site features in the following ways: &lt;br&gt;&lt;br&gt;To personalize user&apos;s experience and to let us deliver the type of content and product offerings in which you are most interested.&lt;br&gt;&lt;br&gt;&lt;span style=\&quot;font-weight: bold;\&quot;&gt;Protecting visitor information&lt;/span&gt;&lt;br&gt;&lt;br&gt;Our website is scanned on a regular basis for security holes and known vulnerabilities in order to make your visit to our site as safe as possible. Your personal information is contained behind secured networks and is only accessible by a limited number of persons who have special access rights to such systems, and are required to keep the information confidential. In addition, all sensitive/credit information you supply is encrypted via Secure Socket Layer (SSL) technology.&lt;/p&gt;&quot;,
                    &quot;cancellationPolicy&quot;: &quot;You have the right to withdraw from this contract within 14 days without giving any reason. The withdrawal period will expire after 14 days from the day on which you acquire, or a third party other than the carrier and indicated by you acquires, physical possession of the last good. You may use the attached model withdrawal form, but it&apos;s not obligatory. To meet the withdrawal deadline, it&apos;s sufficient for you to send your communication concerning your exercise of the right of withdrawal before the withdrawal period has expired.&quot;,
                    &quot;imprint&quot;: &quot;&lt;p&gt;Budget Cameras&lt;br&gt;&lt;br&gt;Spitalerstraße 3&lt;br&gt;20095 Hamburg&lt;br&gt;DE&lt;br&gt;&lt;br&gt;Phone: 030 1234567&lt;br&gt;Email: support@budgetcamerasonline.com&lt;br&gt;&lt;br&gt;Represented by&lt;br&gt;Managing Director: Max Mustermann&lt;br&gt;Register Court: Hamburg&lt;br&gt;Register Number: HXX 134305&lt;br&gt;&lt;/p&gt;&quot;,
                    &quot;dataPrivacy&quot;: &quot;Budget Cameras values the privacy of your personal data.&quot;
                }
            },
            &quot;links&quot;: {
                &quot;self&quot;: &quot;https://glue.mysprykershop.com/merchants/MER000005&quot;
            }
        }
    ]
}
```

&lt;/details&gt;

{% include /pbc/all/glue-api-guides/latest/orders-response-attributes.md %} &lt;!-- To edit, see _includes/pbc/all/glue-api-guides/latest/orders-response-attributes.md --&gt;

For the attributes of the included resources, see [Retrieving merchants](/docs/pbc/all/merchant-management/latest/marketplace/manage-using-glue-api/glue-api-retrieve-merchants.html).

## Retrieve an order

To retrieve detailed information about an order, send the request:

***
`GET` {% raw %}**/orders/*{{order_id}}***{% endraw %}
***

| PATH PARAMETER | DESCRIPTION     |
| ------------------ | ------------------------------ |
| {% raw %}***{{order_id}}***{% endraw %}       | Unique identifier of an order. [Retrieve all orders](/docs/pbc/all/order-management-system/latest/base-shop/glue-api-retrieve-orders.html) to get it. |

### Request

| HEADER KEY    | HEADER VALUE | REQUIRED | DESCRIPTION |
| ------------- | ------------ | -------- | ---------------------- |
| Authorization | string       | &amp;check;        | Alphanumeric string that authorizes the customer to send requests to protected resources. Get it by [authenticating as a customer](/docs/pbc/all/identity-access-management/latest/manage-using-glue-api/glue-api-authenticate-as-a-customer.html). |


| String parameter | Description     | Possible values    |
| ---------------- | -------------------- | --------------------- |
| include          | Adds resource relationships to the request. | order-shipments, concrete-products, abstract-products, merchants |

| REQUEST | USAGE |
| ----------------- | ------------------ |
| `GET https://glue.mysprykershop.com/orders/DE--6`   | Retrieve information about the `DE--6` order.  |
| `GET https://glue.mysprykershop.com/orders/DE--6?include=order-shipments` | Retrieve information about the order with the ID `DE--6` with order shipments included. |
| `GET https://glue.mysprykershop.com/orders/DE--3?include=merchants` | Retrieve order `DE--3` with the merchants included.|

### Response

&lt;details&gt;
&lt;summary&gt;Response sample: retrieve information about the order&lt;/summary&gt;

```json
{
    &quot;data&quot;: {
        &quot;type&quot;: &quot;orders&quot;,
        &quot;id&quot;: &quot;DE--6&quot;,
        &quot;attributes&quot;: {
            &quot;merchantReferences&quot;: [],
            &quot;itemStates&quot;: [
                &quot;payment pending&quot;
            ],
            &quot;createdAt&quot;: &quot;2021-01-05 13:43:23.000000&quot;,
            &quot;currencyIsoCode&quot;: &quot;EUR&quot;,
            &quot;priceMode&quot;: &quot;GROSS_MODE&quot;,
            &quot;totals&quot;: {
                &quot;expenseTotal&quot;: 1180,
                &quot;discountTotal&quot;: 0,
                &quot;taxTotal&quot;: 12173,
                &quot;subtotal&quot;: 75064,
                &quot;grandTotal&quot;: 76244,
                &quot;canceledTotal&quot;: 0,
                &quot;remunerationTotal&quot;: 0
            },
            &quot;billingAddress&quot;: {
                &quot;salutation&quot;: &quot;Mr&quot;,
                &quot;firstName&quot;: &quot;Spencor&quot;,
                &quot;middleName&quot;: null,
                &quot;lastName&quot;: &quot;Hopkin&quot;,
                &quot;address1&quot;: &quot;Julie-Wolfthorn-Straße&quot;,
                &quot;address2&quot;: &quot;1&quot;,
                &quot;address3&quot;: &quot;new address&quot;,
                &quot;company&quot;: &quot;spryker&quot;,
                &quot;city&quot;: &quot;Berlin&quot;,
                &quot;zipCode&quot;: &quot;10115&quot;,
                &quot;poBox&quot;: null,
                &quot;phone&quot;: &quot;+49 (30) 2084 98350&quot;,
                &quot;cellPhone&quot;: null,
                &quot;description&quot;: null,
                &quot;comment&quot;: null,
                &quot;email&quot;: null,
                &quot;country&quot;: &quot;Germany&quot;,
                &quot;iso2Code&quot;: &quot;DE&quot;
            },
            &quot;shippingAddress&quot;: null,
            &quot;items&quot;: [
                {
                    &quot;merchantReference&quot;: null,
                    &quot;state&quot;: &quot;payment pending&quot;,
                    &quot;name&quot;: &quot;Samsung Galaxy S5 mini&quot;,
                    &quot;sku&quot;: &quot;066_23294028&quot;,
                    &quot;sumPrice&quot;: 39353,
                    &quot;quantity&quot;: 1,
                    &quot;unitGrossPrice&quot;: 39353,
                    &quot;sumGrossPrice&quot;: 39353,
                    &quot;taxRate&quot;: &quot;19.00&quot;,
                    &quot;unitNetPrice&quot;: 0,
                    &quot;sumNetPrice&quot;: 0,
                    &quot;unitPrice&quot;: 39353,
                    &quot;unitTaxAmountFullAggregation&quot;: 6283,
                    &quot;sumTaxAmountFullAggregation&quot;: 6283,
                    &quot;refundableAmount&quot;: 39353,
                    &quot;canceledAmount&quot;: 0,
                    &quot;sumSubtotalAggregation&quot;: 39353,
                    &quot;unitSubtotalAggregation&quot;: 39353,
                    &quot;unitProductOptionPriceAggregation&quot;: 0,
                    &quot;sumProductOptionPriceAggregation&quot;: 0,
                    &quot;unitExpensePriceAggregation&quot;: 0,
                    &quot;sumExpensePriceAggregation&quot;: null,
                    &quot;unitDiscountAmountAggregation&quot;: 0,
                    &quot;sumDiscountAmountAggregation&quot;: 0,
                    &quot;unitDiscountAmountFullAggregation&quot;: 0,
                    &quot;sumDiscountAmountFullAggregation&quot;: 0,
                    &quot;unitPriceToPayAggregation&quot;: 39353,
                    &quot;sumPriceToPayAggregation&quot;: 39353,
                    &quot;taxRateAverageAggregation&quot;: &quot;19.00&quot;,
                    &quot;taxAmountAfterCancellation&quot;: null,
                    &quot;orderReference&quot;: null,
                    &quot;uuid&quot;: &quot;3db99597-99a0-58a9-a0ea-696e8da0026e&quot;,
                    &quot;isReturnable&quot;: false,
                    &quot;idShipment&quot;: 11,
                    &quot;bundleItemIdentifier&quot;: null,
                    &quot;relatedBundleItemIdentifier&quot;: null,
                    &quot;salesOrderConfiguredBundle&quot;: null,
                    &quot;salesOrderConfiguredBundleItem&quot;: null,
                    &quot;metadata&quot;: {
                        &quot;superAttributes&quot;: {
                            &quot;color&quot;: &quot;Blue&quot;
                        },
                        &quot;image&quot;: &quot;https://images.icecat.biz/img/gallery_mediums/23294028_3275.jpg&quot;
                    },
                    &quot;salesUnit&quot;: null,
                    &quot;calculatedDiscounts&quot;: [],
                    &quot;productOptions&quot;: [],
                    &quot;amount&quot;: null
                },
                {
                    &quot;merchantReference&quot;: null,
                    &quot;state&quot;: &quot;payment pending&quot;,
                    &quot;name&quot;: &quot;Sony Xperia Z3 Compact&quot;,
                    &quot;sku&quot;: &quot;076_24394207&quot;,
                    &quot;sumPrice&quot;: 35711,
                    &quot;quantity&quot;: 1,
                    &quot;unitGrossPrice&quot;: 35711,
                    &quot;sumGrossPrice&quot;: 35711,
                    &quot;taxRate&quot;: &quot;19.00&quot;,
                    &quot;unitNetPrice&quot;: 0,
                    &quot;sumNetPrice&quot;: 0,
                    &quot;unitPrice&quot;: 35711,
                    &quot;unitTaxAmountFullAggregation&quot;: 5702,
                    &quot;sumTaxAmountFullAggregation&quot;: 5702,
                    &quot;refundableAmount&quot;: 35711,
                    &quot;canceledAmount&quot;: 0,
                    &quot;sumSubtotalAggregation&quot;: 35711,
                    &quot;unitSubtotalAggregation&quot;: 35711,
                    &quot;unitProductOptionPriceAggregation&quot;: 0,
                    &quot;sumProductOptionPriceAggregation&quot;: 0,
                    &quot;unitExpensePriceAggregation&quot;: 0,
                    &quot;sumExpensePriceAggregation&quot;: null,
                    &quot;unitDiscountAmountAggregation&quot;: 0,
                    &quot;sumDiscountAmountAggregation&quot;: 0,
                    &quot;unitDiscountAmountFullAggregation&quot;: 0,
                    &quot;sumDiscountAmountFullAggregation&quot;: 0,
                    &quot;unitPriceToPayAggregation&quot;: 35711,
                    &quot;sumPriceToPayAggregation&quot;: 35711,
                    &quot;taxRateAverageAggregation&quot;: &quot;19.00&quot;,
                    &quot;taxAmountAfterCancellation&quot;: null,
                    &quot;orderReference&quot;: null,
                    &quot;uuid&quot;: &quot;40274175-4398-5927-8980-48ead5053e69&quot;,
                    &quot;isReturnable&quot;: false,
                    &quot;idShipment&quot;: 12,
                    &quot;bundleItemIdentifier&quot;: null,
                    &quot;relatedBundleItemIdentifier&quot;: null,
                    &quot;salesOrderConfiguredBundle&quot;: null,
                    &quot;salesOrderConfiguredBundleItem&quot;: null,
                    &quot;metadata&quot;: {
                        &quot;superAttributes&quot;: {
                            &quot;color&quot;: &quot;White&quot;
                        },
                        &quot;image&quot;: &quot;https://images.icecat.biz/img/norm/medium/24394207-3552.jpg&quot;
                    },
                    &quot;salesUnit&quot;: null,
                    &quot;calculatedDiscounts&quot;: [
                        {
                            &quot;unitAmount&quot;: 786,
                            &quot;sumAmount&quot;: 786,
                            &quot;displayName&quot;: &quot;10% Discount for all orders above&quot;,
                            &quot;description&quot;: &quot;Get a 10% discount on all orders above certain value depending on the currency and net/gross price. This discount is not exclusive and can be combined with other discounts.&quot;,
                            &quot;voucherCode&quot;: null,
                            &quot;quantity&quot;: 1
                        }     
                    ],                   
                    &quot;productOptions&quot;: [],
                    &quot;amount&quot;: null
                }
            ],
            &quot;expenses&quot;: [
                {
                    &quot;type&quot;: &quot;SHIPMENT_EXPENSE_TYPE&quot;,
                    &quot;name&quot;: &quot;Express&quot;,
                    &quot;sumPrice&quot;: 590,
                    &quot;unitGrossPrice&quot;: 590,
                    &quot;sumGrossPrice&quot;: 590,
                    &quot;taxRate&quot;: &quot;19.00&quot;,
                    &quot;unitNetPrice&quot;: 0,
                    &quot;sumNetPrice&quot;: 0,
                    &quot;canceledAmount&quot;: null,
                    &quot;unitDiscountAmountAggregation&quot;: null,
                    &quot;sumDiscountAmountAggregation&quot;: null,
                    &quot;unitTaxAmount&quot;: 94,
                    &quot;sumTaxAmount&quot;: 94,
                    &quot;unitPriceToPayAggregation&quot;: 590,
                    &quot;sumPriceToPayAggregation&quot;: 590,
                    &quot;taxAmountAfterCancellation&quot;: null,
                    &quot;idShipment&quot;: 11,
                    &quot;idSalesExpense&quot;: 11
                },
                {
                    &quot;type&quot;: &quot;SHIPMENT_EXPENSE_TYPE&quot;,
                    &quot;name&quot;: &quot;Express&quot;,
                    &quot;sumPrice&quot;: 590,
                    &quot;unitGrossPrice&quot;: 590,
                    &quot;sumGrossPrice&quot;: 590,
                    &quot;taxRate&quot;: &quot;19.00&quot;,
                    &quot;unitNetPrice&quot;: 0,
                    &quot;sumNetPrice&quot;: 0,
                    &quot;canceledAmount&quot;: null,
                    &quot;unitDiscountAmountAggregation&quot;: null,
                    &quot;sumDiscountAmountAggregation&quot;: null,
                    &quot;unitTaxAmount&quot;: 94,
                    &quot;sumTaxAmount&quot;: 94,
                    &quot;unitPriceToPayAggregation&quot;: 590,
                    &quot;sumPriceToPayAggregation&quot;: 590,
                    &quot;taxAmountAfterCancellation&quot;: null,
                    &quot;idShipment&quot;: 12,
                    &quot;idSalesExpense&quot;: 12
                }
            ],
            &quot;payments&quot;: [
                {
                    &quot;amount&quot;: 76244,
                    &quot;paymentProvider&quot;: &quot;DummyPayment&quot;,
                    &quot;paymentMethod&quot;: &quot;Invoice&quot;
                }
            ],
            &quot;shipments&quot;: [],
            &quot;calculatedDiscounts&quot;: [],
            &quot;bundleItems&quot;: []
        },
        &quot;links&quot;: {
            &quot;self&quot;: &quot;https://glue.mysprykershop.com/orders/DE--6&quot;
        }
    }
}
```

&lt;/details&gt;


&lt;details&gt;
&lt;summary&gt;Response sample: retrieve information about the order with order shipments included&lt;/summary&gt;

```json
{
    &quot;data&quot;: {
        &quot;type&quot;: &quot;orders&quot;,
        &quot;id&quot;: &quot;DE--6&quot;,
        &quot;attributes&quot;: {
            &quot;merchantReferences&quot;: [
                &quot;MER000005&quot;,
                &quot;MER000002&quot;
            ],
            &quot;itemStates&quot;: [
                &quot;sent to merchant&quot;,
                &quot;delivered&quot;
            ],
            &quot;createdAt&quot;: &quot;2021-06-18 13:44:23.895154&quot;,
            &quot;currencyIsoCode&quot;: &quot;EUR&quot;,
            &quot;priceMode&quot;: &quot;GROSS_MODE&quot;,
            &quot;totals&quot;: {
                &quot;expenseTotal&quot;: 2500,
                &quot;discountTotal&quot;: 0,
                &quot;taxTotal&quot;: 6976,
                &quot;subtotal&quot;: 41191,
                &quot;grandTotal&quot;: 43691,
                &quot;canceledTotal&quot;: 0,
                &quot;remunerationTotal&quot;: 0
            },
            &quot;billingAddress&quot;: {
                &quot;salutation&quot;: &quot;Ms&quot;,
                &quot;firstName&quot;: &quot;Sonia&quot;,
                &quot;middleName&quot;: null,
                &quot;lastName&quot;: &quot;Wagner&quot;,
                &quot;address1&quot;: &quot;Kirncher Str.&quot;,
                &quot;address2&quot;: &quot;7&quot;,
                &quot;address3&quot;: &quot;&quot;,
                &quot;company&quot;: &quot;Acme Corporation&quot;,
                &quot;city&quot;: &quot;Berlin&quot;,
                &quot;zipCode&quot;: &quot;10247&quot;,
                &quot;poBox&quot;: null,
                &quot;phone&quot;: &quot;4902890031&quot;,
                &quot;cellPhone&quot;: null,
                &quot;description&quot;: null,
                &quot;comment&quot;: &quot;&quot;,
                &quot;email&quot;: null,
                &quot;country&quot;: &quot;Germany&quot;,
                &quot;iso2Code&quot;: &quot;DE&quot;
            },
            &quot;shippingAddress&quot;: {
                &quot;salutation&quot;: &quot;Ms&quot;,
                &quot;firstName&quot;: &quot;Sonia&quot;,
                &quot;middleName&quot;: null,
                &quot;lastName&quot;: &quot;Wagner&quot;,
                &quot;address1&quot;: &quot;Kirncher Str.&quot;,
                &quot;address2&quot;: &quot;7&quot;,
                &quot;address3&quot;: &quot;&quot;,
                &quot;company&quot;: &quot;Acme Corporation&quot;,
                &quot;city&quot;: &quot;Berlin&quot;,
                &quot;zipCode&quot;: &quot;10247&quot;,
                &quot;poBox&quot;: null,
                &quot;phone&quot;: &quot;4902890031&quot;,
                &quot;cellPhone&quot;: null,
                &quot;description&quot;: null,
                &quot;comment&quot;: &quot;&quot;,
                &quot;email&quot;: null,
                &quot;country&quot;: &quot;Germany&quot;,
                &quot;iso2Code&quot;: &quot;DE&quot;
            },
            &quot;items&quot;: [
                {
                    &quot;merchantReference&quot;: &quot;MER000005&quot;,
                    &quot;state&quot;: &quot;sent to merchant&quot;,
                    &quot;name&quot;: &quot;Sony Cyber-shot DSC-W830&quot;,
                    &quot;sku&quot;: &quot;018_21081477&quot;,
                    &quot;sumPrice&quot;: 31140,
                    &quot;quantity&quot;: 1,
                    &quot;unitGrossPrice&quot;: 31140,
                    &quot;sumGrossPrice&quot;: 31140,
                    &quot;taxRate&quot;: &quot;19.00&quot;,
                    &quot;unitNetPrice&quot;: 0,
                    &quot;sumNetPrice&quot;: 0,
                    &quot;unitPrice&quot;: 31140,
                    &quot;unitTaxAmountFullAggregation&quot;: 4972,
                    &quot;sumTaxAmountFullAggregation&quot;: 4972,
                    &quot;refundableAmount&quot;: 31140,
                    &quot;canceledAmount&quot;: 0,
                    &quot;sumSubtotalAggregation&quot;: 31140,
                    &quot;unitSubtotalAggregation&quot;: 31140,
                    &quot;unitProductOptionPriceAggregation&quot;: 0,
                    &quot;sumProductOptionPriceAggregation&quot;: 0,
                    &quot;unitExpensePriceAggregation&quot;: 0,
                    &quot;sumExpensePriceAggregation&quot;: null,
                    &quot;unitDiscountAmountAggregation&quot;: 0,
                    &quot;sumDiscountAmountAggregation&quot;: 0,
                    &quot;unitDiscountAmountFullAggregation&quot;: 0,
                    &quot;sumDiscountAmountFullAggregation&quot;: 0,
                    &quot;unitPriceToPayAggregation&quot;: 31140,
                    &quot;sumPriceToPayAggregation&quot;: 31140,
                    &quot;taxRateAverageAggregation&quot;: &quot;19.00&quot;,
                    &quot;taxAmountAfterCancellation&quot;: null,
                    &quot;orderReference&quot;: null,
                    &quot;uuid&quot;: &quot;349f3ce2-0396-5ed4-a2df-c9e053cb3350&quot;,
                    &quot;isReturnable&quot;: false,
                    &quot;idShipment&quot;: 11,
                    &quot;bundleItemIdentifier&quot;: null,
                    &quot;relatedBundleItemIdentifier&quot;: null,
                    &quot;productOfferReference&quot;: &quot;offer66&quot;,
                    &quot;salesOrderConfiguredBundle&quot;: null,
                    &quot;salesOrderConfiguredBundleItem&quot;: null,
                    &quot;metadata&quot;: {
                        &quot;superAttributes&quot;: {
                            &quot;color&quot;: &quot;Pink&quot;
                        },
                        &quot;image&quot;: &quot;https://d2s0ynfc62ej12.cloudfront.net/b2c/21081477-Sony.jpg&quot;
                    },
                    &quot;salesOrderItemConfiguration&quot;: null,
                    &quot;salesUnit&quot;: null,
                    &quot;calculatedDiscounts&quot;: [],
                    &quot;productOptions&quot;: [],
                    &quot;amount&quot;: null
                },
                {
                    &quot;merchantReference&quot;: &quot;MER000002&quot;,
                    &quot;state&quot;: &quot;delivered&quot;,
                    &quot;name&quot;: &quot;Sony Cyber-shot DSC-W830&quot;,
                    &quot;sku&quot;: &quot;020_21081478&quot;,
                    &quot;sumPrice&quot;: 10051,
                    &quot;quantity&quot;: 1,
                    &quot;unitGrossPrice&quot;: 10051,
                    &quot;sumGrossPrice&quot;: 10051,
                    &quot;taxRate&quot;: &quot;19.00&quot;,
                    &quot;unitNetPrice&quot;: 0,
                    &quot;sumNetPrice&quot;: 0,
                    &quot;unitPrice&quot;: 10051,
                    &quot;unitTaxAmountFullAggregation&quot;: 1605,
                    &quot;sumTaxAmountFullAggregation&quot;: 1605,
                    &quot;refundableAmount&quot;: 10051,
                    &quot;canceledAmount&quot;: 0,
                    &quot;sumSubtotalAggregation&quot;: 10051,
                    &quot;unitSubtotalAggregation&quot;: 10051,
                    &quot;unitProductOptionPriceAggregation&quot;: 0,
                    &quot;sumProductOptionPriceAggregation&quot;: 0,
                    &quot;unitExpensePriceAggregation&quot;: 0,
                    &quot;sumExpensePriceAggregation&quot;: null,
                    &quot;unitDiscountAmountAggregation&quot;: 0,
                    &quot;sumDiscountAmountAggregation&quot;: 0,
                    &quot;unitDiscountAmountFullAggregation&quot;: 0,
                    &quot;sumDiscountAmountFullAggregation&quot;: 0,
                    &quot;unitPriceToPayAggregation&quot;: 10051,
                    &quot;sumPriceToPayAggregation&quot;: 10051,
                    &quot;taxRateAverageAggregation&quot;: &quot;19.00&quot;,
                    &quot;taxAmountAfterCancellation&quot;: null,
                    &quot;orderReference&quot;: null,
                    &quot;uuid&quot;: &quot;2b8ded00-2831-5557-83a2-3d29fc7c9ae8&quot;,
                    &quot;isReturnable&quot;: true,
                    &quot;idShipment&quot;: 12,
                    &quot;bundleItemIdentifier&quot;: null,
                    &quot;relatedBundleItemIdentifier&quot;: null,
                    &quot;productOfferReference&quot;: &quot;offer27&quot;,
                    &quot;salesOrderConfiguredBundle&quot;: null,
                    &quot;salesOrderConfiguredBundleItem&quot;: null,
                    &quot;metadata&quot;: {
                        &quot;superAttributes&quot;: {
                            &quot;color&quot;: &quot;Black&quot;
                        },
                        &quot;image&quot;: &quot;https://d2s0ynfc62ej12.cloudfront.net/b2c/21081478-Sony.jpg&quot;
                    },
                    &quot;salesOrderItemConfiguration&quot;: null,
                    &quot;salesUnit&quot;: null,
                    &quot;calculatedDiscounts&quot;: [],
                    &quot;productOptions&quot;: [],
                    &quot;amount&quot;: null
                }
            ],
            &quot;expenses&quot;: [
                {
                    &quot;type&quot;: &quot;SHIPMENT_EXPENSE_TYPE&quot;,
                    &quot;name&quot;: &quot;Next-Day&quot;,
                    &quot;sumPrice&quot;: 1500,
                    &quot;unitGrossPrice&quot;: 1500,
                    &quot;sumGrossPrice&quot;: 1500,
                    &quot;taxRate&quot;: &quot;19.00&quot;,
                    &quot;unitNetPrice&quot;: 0,
                    &quot;sumNetPrice&quot;: 0,
                    &quot;canceledAmount&quot;: null,
                    &quot;unitDiscountAmountAggregation&quot;: null,
                    &quot;sumDiscountAmountAggregation&quot;: null,
                    &quot;unitTaxAmount&quot;: 240,
                    &quot;sumTaxAmount&quot;: 240,
                    &quot;unitPriceToPayAggregation&quot;: 1500,
                    &quot;sumPriceToPayAggregation&quot;: 1500,
                    &quot;taxAmountAfterCancellation&quot;: null,
                    &quot;idShipment&quot;: 12,
                    &quot;idSalesExpense&quot;: 12
                },
                {
                    &quot;type&quot;: &quot;SHIPMENT_EXPENSE_TYPE&quot;,
                    &quot;name&quot;: &quot;Premium&quot;,
                    &quot;sumPrice&quot;: 1000,
                    &quot;unitGrossPrice&quot;: 1000,
                    &quot;sumGrossPrice&quot;: 1000,
                    &quot;taxRate&quot;: &quot;19.00&quot;,
                    &quot;unitNetPrice&quot;: 0,
                    &quot;sumNetPrice&quot;: 0,
                    &quot;canceledAmount&quot;: null,
                    &quot;unitDiscountAmountAggregation&quot;: null,
                    &quot;sumDiscountAmountAggregation&quot;: null,
                    &quot;unitTaxAmount&quot;: 159,
                    &quot;sumTaxAmount&quot;: 159,
                    &quot;unitPriceToPayAggregation&quot;: 1000,
                    &quot;sumPriceToPayAggregation&quot;: 1000,
                    &quot;taxAmountAfterCancellation&quot;: null,
                    &quot;idShipment&quot;: 11,
                    &quot;idSalesExpense&quot;: 11
                }
            ],
            &quot;payments&quot;: [
                {
                    &quot;amount&quot;: 43691,
                    &quot;paymentProvider&quot;: &quot;DummyMarketplacePayment&quot;,
                    &quot;paymentMethod&quot;: &quot;Marketplace Invoice&quot;
                }
            ],
            &quot;shipments&quot;: [],
            &quot;calculatedDiscounts&quot;: [],
            &quot;bundleItems&quot;: []
        },
        &quot;links&quot;: {
            &quot;self&quot;: &quot;https://glue.mysprykershop.com/orders/DE--6&quot;
        }
    }
}
```

&lt;/details&gt;


&lt;details&gt;
&lt;summary&gt;Response sample: retrieve an with the merchants included&lt;/summary&gt;

```json
{
    &quot;data&quot;: {
        &quot;type&quot;: &quot;orders&quot;,
        &quot;id&quot;: &quot;DE--2&quot;,
        &quot;attributes&quot;: {
            &quot;merchantReferences&quot;: [
                &quot;MER000002&quot;,
                &quot;MER000001&quot;
            ],
            &quot;itemStates&quot;: [
                &quot;new&quot;
            ],
            &quot;createdAt&quot;: &quot;2020-10-19 15:16:21.879286&quot;,
            &quot;currencyIsoCode&quot;: &quot;EUR&quot;,
            &quot;priceMode&quot;: &quot;GROSS_MODE&quot;,
            &quot;totals&quot;: {
                &quot;expenseTotal&quot;: 1590,
                &quot;discountTotal&quot;: 3959,
                &quot;taxTotal&quot;: 4957,
                &quot;subtotal&quot;: 39586,
                &quot;grandTotal&quot;: 37217,
                &quot;canceledTotal&quot;: 0,
                &quot;remunerationTotal&quot;: 0
            },
            &quot;billingAddress&quot;: {
                &quot;salutation&quot;: &quot;Ms&quot;,
                &quot;firstName&quot;: &quot;Sonia&quot;,
                &quot;middleName&quot;: null,
                &quot;lastName&quot;: &quot;Wagner&quot;,
                &quot;address1&quot;: &quot;Kirncher Str.&quot;,
                &quot;address2&quot;: &quot;7&quot;,
                &quot;address3&quot;: &quot;&quot;,
                &quot;company&quot;: &quot;Acme Corporation&quot;,
                &quot;city&quot;: &quot;Berlin&quot;,
                &quot;zipCode&quot;: &quot;10247&quot;,
                &quot;poBox&quot;: null,
                &quot;phone&quot;: &quot;4902890031&quot;,
                &quot;cellPhone&quot;: null,
                &quot;description&quot;: null,
                &quot;comment&quot;: &quot;&quot;,
                &quot;email&quot;: null,
                &quot;country&quot;: &quot;Germany&quot;,
                &quot;iso2Code&quot;: &quot;DE&quot;
            },
            &quot;shippingAddress&quot;: null,
            &quot;items&quot;: [
                {
                    &quot;merchantReference&quot;: &quot;MER000002&quot;,
                    &quot;state&quot;: &quot;new&quot;,
                    &quot;name&quot;: &quot;Toshiba CAMILEO S30&quot;,
                    &quot;sku&quot;: &quot;205_6350138&quot;,
                    &quot;sumPrice&quot;: 11611,
                    &quot;quantity&quot;: 1,
                    &quot;unitGrossPrice&quot;: 11611,
                    &quot;sumGrossPrice&quot;: 11611,
                    &quot;taxRate&quot;: &quot;7.00&quot;,
                    &quot;unitNetPrice&quot;: 0,
                    &quot;sumNetPrice&quot;: 0,
                    &quot;unitPrice&quot;: 11611,
                    &quot;unitTaxAmountFullAggregation&quot;: 684,
                    &quot;sumTaxAmountFullAggregation&quot;: 684,
                    &quot;refundableAmount&quot;: 10450,
                    &quot;canceledAmount&quot;: 0,
                    &quot;sumSubtotalAggregation&quot;: 11611,
                    &quot;unitSubtotalAggregation&quot;: 11611,
                    &quot;unitProductOptionPriceAggregation&quot;: 0,
                    &quot;sumProductOptionPriceAggregation&quot;: 0,
                    &quot;unitExpensePriceAggregation&quot;: 0,
                    &quot;sumExpensePriceAggregation&quot;: null,
                    &quot;unitDiscountAmountAggregation&quot;: 1161,
                    &quot;sumDiscountAmountAggregation&quot;: 1161,
                    &quot;unitDiscountAmountFullAggregation&quot;: 1161,
                    &quot;sumDiscountAmountFullAggregation&quot;: 1161,
                    &quot;unitPriceToPayAggregation&quot;: 10450,
                    &quot;sumPriceToPayAggregation&quot;: 10450,
                    &quot;taxRateAverageAggregation&quot;: &quot;7.00&quot;,
                    &quot;taxAmountAfterCancellation&quot;: null,
                    &quot;orderReference&quot;: null,
                    &quot;uuid&quot;: &quot;d5e948d9-f470-5b9a-b1c7-c1321761312a&quot;,
                    &quot;isReturnable&quot;: false,
                    &quot;bundleItemIdentifier&quot;: null,
                    &quot;relatedBundleItemIdentifier&quot;: null,
                    &quot;salesOrderConfiguredBundle&quot;: null,
                    &quot;salesOrderConfiguredBundleItem&quot;: null,
                    &quot;metadata&quot;: {
                        &quot;superAttributes&quot;: {
                            &quot;color&quot;: &quot;Grey&quot;
                        },
                        &quot;image&quot;: &quot;https://images.icecat.biz/img/gallery_mediums/img_6350138_medium_1481633011_6285_13738.jpg&quot;
                    },
                    &quot;salesUnit&quot;: null,
                    &quot;calculatedDiscounts&quot;: [
                        {
                            &quot;unitAmount&quot;: 1161,
                            &quot;sumAmount&quot;: 1161,
                            &quot;displayName&quot;: &quot;10% Discount for all orders above&quot;,
                            &quot;description&quot;: &quot;Get a 10% discount on all orders above certain value depending on the currency and net/gross price. This discount is not exclusive and can be combined with other discounts.&quot;,
                            &quot;voucherCode&quot;: null,
                            &quot;quantity&quot;: 1
                        }
                    ],
                    &quot;productOptions&quot;: [],
                    &quot;amount&quot;: null
                },
                {
                    &quot;merchantReference&quot;: &quot;MER000001&quot;,
                    &quot;state&quot;: &quot;new&quot;,
                    &quot;name&quot;: &quot;Samsung Galaxy Note 4&quot;,
                    &quot;sku&quot;: &quot;061_24752508&quot;,
                    &quot;sumPrice&quot;: 27975,
                    &quot;quantity&quot;: 1,
                    &quot;unitGrossPrice&quot;: 27975,
                    &quot;sumGrossPrice&quot;: 27975,
                    &quot;taxRate&quot;: &quot;19.00&quot;,
                    &quot;unitNetPrice&quot;: 0,
                    &quot;sumNetPrice&quot;: 0,
                    &quot;unitPrice&quot;: 27975,
                    &quot;unitTaxAmountFullAggregation&quot;: 4020,
                    &quot;sumTaxAmountFullAggregation&quot;: 4020,
                    &quot;refundableAmount&quot;: 25177,
                    &quot;canceledAmount&quot;: 0,
                    &quot;sumSubtotalAggregation&quot;: 27975,
                    &quot;unitSubtotalAggregation&quot;: 27975,
                    &quot;unitProductOptionPriceAggregation&quot;: 0,
                    &quot;sumProductOptionPriceAggregation&quot;: 0,
                    &quot;unitExpensePriceAggregation&quot;: 0,
                    &quot;sumExpensePriceAggregation&quot;: null,
                    &quot;unitDiscountAmountAggregation&quot;: 2798,
                    &quot;sumDiscountAmountAggregation&quot;: 2798,
                    &quot;unitDiscountAmountFullAggregation&quot;: 2798,
                    &quot;sumDiscountAmountFullAggregation&quot;: 2798,
                    &quot;unitPriceToPayAggregation&quot;: 25177,
                    &quot;sumPriceToPayAggregation&quot;: 25177,
                    &quot;taxRateAverageAggregation&quot;: &quot;19.00&quot;,
                    &quot;taxAmountAfterCancellation&quot;: null,
                    &quot;orderReference&quot;: null,
                    &quot;uuid&quot;: &quot;dedc66da-9af9-504f-bdfc-e45b23118786&quot;,
                    &quot;isReturnable&quot;: false,
                    &quot;bundleItemIdentifier&quot;: null,
                    &quot;relatedBundleItemIdentifier&quot;: null,
                    &quot;salesOrderConfiguredBundle&quot;: null,
                    &quot;salesOrderConfiguredBundleItem&quot;: null,
                    &quot;metadata&quot;: {
                        &quot;superAttributes&quot;: {
                            &quot;color&quot;: &quot;Black&quot;
                        },
                        &quot;image&quot;: &quot;https://images.icecat.biz/img/norm/medium/24752508-8866.jpg&quot;
                    },
                    &quot;salesUnit&quot;: null,
                    &quot;calculatedDiscounts&quot;: [
                        {
                            &quot;unitAmount&quot;: 2798,
                            &quot;sumAmount&quot;: 2798,
                            &quot;displayName&quot;: &quot;10% Discount for all orders above&quot;,
                            &quot;description&quot;: &quot;Get a 10% discount on all orders above certain value depending on the currency and net/gross price. This discount is not exclusive and can be combined with other discounts.&quot;,
                            &quot;voucherCode&quot;: null,
                            &quot;quantity&quot;: 1
                        }
                    ],
                    &quot;productOptions&quot;: [],
                    &quot;amount&quot;: null
                }
            ],
            &quot;expenses&quot;: [
                {
                    &quot;type&quot;: &quot;SHIPMENT_EXPENSE_TYPE&quot;,
                    &quot;name&quot;: &quot;Express&quot;,
                    &quot;sumPrice&quot;: 590,
                    &quot;unitGrossPrice&quot;: 590,
                    &quot;sumGrossPrice&quot;: 590,
                    &quot;taxRate&quot;: &quot;19.00&quot;,
                    &quot;unitNetPrice&quot;: 0,
                    &quot;sumNetPrice&quot;: 0,
                    &quot;canceledAmount&quot;: null,
                    &quot;unitDiscountAmountAggregation&quot;: null,
                    &quot;sumDiscountAmountAggregation&quot;: null,
                    &quot;unitTaxAmount&quot;: 94,
                    &quot;sumTaxAmount&quot;: 94,
                    &quot;unitPriceToPayAggregation&quot;: 590,
                    &quot;sumPriceToPayAggregation&quot;: 590,
                    &quot;taxAmountAfterCancellation&quot;: null
                },
                {
                    &quot;type&quot;: &quot;SHIPMENT_EXPENSE_TYPE&quot;,
                    &quot;name&quot;: &quot;Air Sonic&quot;,
                    &quot;sumPrice&quot;: 1000,
                    &quot;unitGrossPrice&quot;: 1000,
                    &quot;sumGrossPrice&quot;: 1000,
                    &quot;taxRate&quot;: &quot;19.00&quot;,
                    &quot;unitNetPrice&quot;: 0,
                    &quot;sumNetPrice&quot;: 0,
                    &quot;canceledAmount&quot;: null,
                    &quot;unitDiscountAmountAggregation&quot;: null,
                    &quot;sumDiscountAmountAggregation&quot;: null,
                    &quot;unitTaxAmount&quot;: 159,
                    &quot;sumTaxAmount&quot;: 159,
                    &quot;unitPriceToPayAggregation&quot;: 1000,
                    &quot;sumPriceToPayAggregation&quot;: 1000,
                    &quot;taxAmountAfterCancellation&quot;: null
                }
            ],
            &quot;payments&quot;: [
                {
                    &quot;amount&quot;: 37217,
                    &quot;paymentProvider&quot;: &quot;DummyMarketplacePayment&quot;,
                    &quot;paymentMethod&quot;: &quot;Marketplace Invoice&quot;
                }
            ],
            &quot;shipments&quot;: [],
            &quot;calculatedDiscounts&quot;: {
                &quot;10% Discount for all orders above&quot;: {
                    &quot;unitAmount&quot;: null,
                    &quot;sumAmount&quot;: 3959,
                    &quot;displayName&quot;: &quot;10% Discount for all orders above&quot;,
                    &quot;description&quot;: &quot;Get a 10% discount on all orders above certain value depending on the currency and net/gross price. This discount is not exclusive and can be combined with other discounts.&quot;,
                    &quot;voucherCode&quot;: null,
                    &quot;quantity&quot;: 2
                }
            },
            &quot;bundleItems&quot;: []
        },
        &quot;links&quot;: {
            &quot;self&quot;: &quot;https://glue.mysprykershop.com/orders/DE--2?include=merchants&quot;
        },
        &quot;relationships&quot;: {
            &quot;merchants&quot;: {
                &quot;data&quot;: [
                    {
                        &quot;type&quot;: &quot;merchants&quot;,
                        &quot;id&quot;: &quot;MER000002&quot;
                    },
                    {
                        &quot;type&quot;: &quot;merchants&quot;,
                        &quot;id&quot;: &quot;MER000001&quot;
                    }
                ]
            }
        }
    },
    &quot;included&quot;: [
        {
            &quot;type&quot;: &quot;merchants&quot;,
            &quot;id&quot;: &quot;MER000002&quot;,
            &quot;attributes&quot;: {
                &quot;merchantName&quot;: &quot;Video King&quot;,
                &quot;merchantUrl&quot;: &quot;/en/merchant/video-king&quot;,
                &quot;contactPersonRole&quot;: &quot;Country Manager DE&quot;,
                &quot;contactPersonTitle&quot;: &quot;Ms&quot;,
                &quot;contactPersonFirstName&quot;: &quot;Martha&quot;,
                &quot;contactPersonLastName&quot;: &quot;Farmer&quot;,
                &quot;contactPersonPhone&quot;: &quot;+31 123 345 678&quot;,
                &quot;logoUrl&quot;: &quot;https://d2s0ynfc62ej12.cloudfront.net/merchant/videoking-logo.png&quot;,
                &quot;publicEmail&quot;: &quot;hi@video-king.nl&quot;,
                &quot;publicPhone&quot;: &quot;+31 123 345 777&quot;,
                &quot;description&quot;: &quot;Video King is a premium provider of video equipment. In business since 2010, we understand the needs of video professionals and enthusiasts and offer a wide variety of products with competitive prices. &quot;,
                &quot;bannerUrl&quot;: &quot;https://d2s0ynfc62ej12.cloudfront.net/merchant/videoking-banner.png&quot;,
                &quot;deliveryTime&quot;: &quot;2-4 days&quot;,
                &quot;latitude&quot;: &quot;4.838470&quot;,
                &quot;longitude&quot;: &quot;51.558107&quot;,
                &quot;faxNumber&quot;: &quot;+31 123 345 733&quot;,
                &quot;legalInformation&quot;: {
                    &quot;terms&quot;: &quot;&lt;p&gt;&lt;span style=\&quot;font-weight: bold;\&quot;&gt;General Terms&lt;/span&gt;&lt;br&gt;&lt;br&gt;(1) This privacy policy has been compiled to better serve those who are concerned with how their &apos;Personally identifiable information&apos; (PII) is being used online. PII, as used in US privacy law and information security, is information that can be used on its own or with other information to identify, contact, or locate a single person, or to identify an individual in context. Please read our privacy policy carefully to get a clear understanding of how we collect, use, protect or otherwise handle your Personally Identifiable Information in accordance with our website. &lt;br&gt;&lt;br&gt;(2) We do not collect information from visitors of our site or other details to help you with your experience.&lt;br&gt;&lt;br&gt;&lt;span style=\&quot;font-weight: bold;\&quot;&gt;Using your Information&lt;/span&gt;&lt;br&gt;&lt;br&gt;We may use the information we collect from you when you register, make a purchase, sign up for our newsletter, respond to a survey or marketing communication, surf the website, or use certain other site features in the following ways: &lt;br&gt;&lt;br&gt;To personalize user&apos;s experience and to let us deliver the type of content and product offerings in which you are most interested.&lt;br&gt;&lt;br&gt;&lt;span style=\&quot;font-weight: bold;\&quot;&gt;Protecting visitor information&lt;/span&gt;&lt;br&gt;&lt;br&gt;Our website is scanned on a regular basis for security holes and known vulnerabilities in order to make your visit to our site as safe as possible. Your personal information is contained behind secured networks and is only accessible by a limited number of persons who have special access rights to such systems, and are required to keep the information confidential. In addition, all sensitive/credit information you supply is encrypted via Secure Socket Layer (SSL) technology.&lt;/p&gt;&quot;,
                    &quot;cancellationPolicy&quot;: &quot;You have the right to withdraw from this contract within 14 days without giving any reason. The withdrawal period will expire after 14 days from the day on which you acquire, or a third party other than the carrier and indicated by you acquires, physical possession of the last good. You may use the attached model withdrawal form, but it&apos;s not obligatory. To meet the withdrawal deadline, it&apos;s sufficient for you to send your communication concerning your exercise of the right of withdrawal before the withdrawal period has expired.&quot;,
                    &quot;imprint&quot;: &quot;&lt;p&gt;Video King&lt;br&gt;&lt;br&gt;Gilzeweg 24&lt;br&gt;4854SG Bavel&lt;br&gt;NL &lt;br&gt;&lt;br&gt;Phone: +31 123 45 6789&lt;br&gt;Email: hi@video-king.nl&lt;br&gt;&lt;br&gt;Represented by&lt;br&gt;Managing Director: Max Mustermann&lt;br&gt;Register Court: Amsterdam&lt;br&gt;Register Number: 1234.4567&lt;br&gt;&lt;/p&gt;&quot;,
                    &quot;dataPrivacy&quot;: &quot;Video King values the privacy of your personal data.&quot;
                }
            },
            &quot;links&quot;: {
                &quot;self&quot;: &quot;https://glue.mysprykershop.com/merchants/MER000002&quot;
            }
        },
        {
            &quot;type&quot;: &quot;merchants&quot;,
            &quot;id&quot;: &quot;MER000001&quot;,
            &quot;attributes&quot;: {
                &quot;merchantName&quot;: &quot;Spryker&quot;,
                &quot;merchantUrl&quot;: &quot;/en/merchant/spryker&quot;,
                &quot;contactPersonRole&quot;: &quot;E-Commerce Manager&quot;,
                &quot;contactPersonTitle&quot;: &quot;Mr&quot;,
                &quot;contactPersonFirstName&quot;: &quot;Harald&quot;,
                &quot;contactPersonLastName&quot;: &quot;Schmidt&quot;,
                &quot;contactPersonPhone&quot;: &quot;+49 30 208498350&quot;,
                &quot;logoUrl&quot;: &quot;https://d2s0ynfc62ej12.cloudfront.net/merchant/spryker-logo.png&quot;,
                &quot;publicEmail&quot;: &quot;info@spryker.com&quot;,
                &quot;publicPhone&quot;: &quot;+49 30 234567891&quot;,
                &quot;description&quot;: &quot;Spryker is the main merchant at the Demo Marketplace.&quot;,
                &quot;bannerUrl&quot;: &quot;https://d2s0ynfc62ej12.cloudfront.net/merchant/spryker-banner.png&quot;,
                &quot;deliveryTime&quot;: &quot;1-3 days&quot;,
                &quot;latitude&quot;: &quot;13.384458&quot;,
                &quot;longitude&quot;: &quot;52.534105&quot;,
                &quot;faxNumber&quot;: &quot;+49 30 234567800&quot;,
                &quot;legalInformation&quot;: {
                    &quot;terms&quot;: &quot;&lt;p&gt;&lt;span style=\&quot;font-weight: bold;\&quot;&gt;General Terms&lt;/span&gt;&lt;br&gt;&lt;br&gt;(1) This privacy policy has been compiled to better serve those who are concerned with how their &apos;Personally identifiable information&apos; (PII) is being used online. PII, as used in US privacy law and information security, is information that can be used on its own or with other information to identify, contact, or locate a single person, or to identify an individual in context. Please read our privacy policy carefully to get a clear understanding of how we collect, use, protect or otherwise handle your Personally Identifiable Information in accordance with our website. &lt;br&gt;&lt;br&gt;(2) We do not collect information from visitors of our site or other details to help you with your experience.&lt;br&gt;&lt;br&gt;&lt;span style=\&quot;font-weight: bold;\&quot;&gt;Using your Information&lt;/span&gt;&lt;br&gt;&lt;br&gt;We may use the information we collect from you when you register, make a purchase, sign up for our newsletter, respond to a survey or marketing communication, surf the website, or use certain other site features in the following ways: &lt;br&gt;&lt;br&gt;To personalize user&apos;s experience and to let us deliver the type of content and product offerings in which you are most interested.&lt;br&gt;&lt;br&gt;&lt;span style=\&quot;font-weight: bold;\&quot;&gt;Protecting visitor information&lt;/span&gt;&lt;br&gt;&lt;br&gt;Our website is scanned on a regular basis for security holes and known vulnerabilities in order to make your visit to our site as safe as possible. Your personal information is contained behind secured networks and is only accessible by a limited number of persons who have special access rights to such systems, and are required to keep the information confidential. In addition, all sensitive/credit information you supply is encrypted via Secure Socket Layer (SSL) technology.&lt;/p&gt;&quot;,
                    &quot;cancellationPolicy&quot;: &quot;You have the right to withdraw from this contract within 14 days without giving any reason. The withdrawal period will expire after 14 days from the day on which you acquire, or a third party other than the carrier and indicated by you acquires, physical possession of the last good. You may use the attached model withdrawal form, but it&apos;s not obligatory. To meet the withdrawal deadline, it&apos;s sufficient for you to send your communication concerning your exercise of the right of withdrawal before the withdrawal period has expired.&quot;,
                    &quot;imprint&quot;: &quot;&lt;p&gt;Spryker Systems GmbH&lt;br&gt;&lt;br&gt;Julie-Wolfthorn-Straße 1&lt;br&gt;10115 Berlin&lt;br&gt;DE&lt;br&gt;&lt;br&gt;Phone: +49 (30) 2084983 50&lt;br&gt;Email: info@spryker.com&lt;br&gt;&lt;br&gt;Represented by&lt;br&gt;Managing Directors: Alexander Graf, Boris Lokschin&lt;br&gt;Register Court: Hamburg&lt;br&gt;Register Number: HRB 134310&lt;br&gt;&lt;/p&gt;&quot;,
                    &quot;dataPrivacy&quot;: &quot;Spryker Systems GmbH values the privacy of your personal data.&quot;
                }
            },
            &quot;links&quot;: {
                &quot;self&quot;: &quot;https://glue.mysprykershop.com/merchants/MER000001&quot;
            }
        }
    ]
}
```

&lt;/details&gt;

{% include /pbc/all/glue-api-guides/latest/orders-response-attributes.md %} &lt;!-- To edit, see _includes/pbc/all/glue-api-guides/latest/orders-response-attributes.md --&gt;

{% include /pbc/all/glue-api-guides/latest/order-shipments-response-attributes.md %} &lt;!-- To edit, see _includes/pbc/all/glue-api-guides/latest/order-shipments-response-attributes.md --&gt;


For the attributes of other included resources, see [Retrieving merchants](/docs/pbc/all/merchant-management/latest/marketplace/manage-using-glue-api/glue-api-retrieve-merchants.html).
</description>
            <pubDate>Thu, 14 May 2026 09:14:23 +0000</pubDate>
            <link>https://docs.spryker.com/docs/pbc/all/order-management-system/latest/marketplace/glue-api-retrieve-marketplace-orders.html</link>
            <guid isPermaLink="true">https://docs.spryker.com/docs/pbc/all/order-management-system/latest/marketplace/glue-api-retrieve-marketplace-orders.html</guid>
            
            
        </item>
        
        <item>
            <title>Glue API: Search by customers as an agent assist</title>
            <description>Search by customers to find out information about them. This endpoint is mostly used by [agent assists](/docs/pbc/all/user-management/latest/base-shop/agent-assist-feature-overview.html) to find out the customer reference needed to [impersonate a customer](/docs/pbc/all/user-management/latest/base-shop/manage-using-glue-api/glue-api-impersonate-customers-as-an-agent-assist.html#impersonate-a-customer).

## Installation

For detailed information on the modules that provide the API functionality and related installation instructions, see:
- [Install the Agent Assist Glue API](/docs/pbc/all/user-management/latest/base-shop/install-and-upgrade/install-the-agent-assist-glue-api.html)
- [Install the Customer Account Management + Agent Assist feature](/docs/pbc/all/customer-relationship-management/latest/base-shop/install-and-upgrade/install-features/install-the-customer-account-management-agent-assist-feature.html)
- [Install the Customer Account Management feature](/docs/pbc/all/customer-relationship-management/latest/base-shop/install-and-upgrade/install-features/install-the-customer-account-management-feature.html)

## Search by customers

To search by customers, send the request:

***
`GET` **/agent-customer-search**
***

### Request

| HEADER KEY | TYPE | REQUIRED | DESCRIPTION |
| --- | --- | --- | --- |
| X-Agent-Authorization | string | ✓ |  String containing digits, letters, and symbols that authorize the agent assist. [Authenticate as an agent assist](/docs/pbc/all/identity-access-management/latest/manage-using-glue-api/glue-api-authenticate-as-an-agent-assist.html#authenticate-as-an-agent-assist) to get the value.  |



| STRING PARAMETER | DESCRIPTION | POSSIBLE VALUES |
| --- | --- | --- |
| q | The value to search for in the list of customers. If you enter a part of an email address, first name, or last name, the endpoint returns all the customer entries partially matching the search query. To search by a customer reference, enter full customer reference. | {% raw %}{{{% endraw %}customerEmail{% raw %}}}{% endraw %}, {% raw %}{{{% endraw %}firstName{% raw %}}}{% endraw %}, {% raw %}{{{% endraw %}customerReference{% raw %}}}{% endraw %}, {% raw %}{{{% endraw %}lastName{% raw %}}}{% endraw %} |
| page[offset] | The offset of the item at which to begin the response. &lt;br&gt; Works only together with `page[limit]`. &lt;br&gt; To work correctly, the value should be devisable by the value of `page[limit]`. &lt;br&gt; The default value is `0`.  | From `0` to any. |
| page[limit] | The maximum number of entries to return. &lt;br&gt; Works only together with `page[offset]`. &lt;br&gt; The default value is `10`. | From `1` to any. |

| REQUEST | USAGE |
| --- | --- |
| `GET http://glue.mysprykershop.com/agent-customer-search` | Return the list of all customers. |
| `GET http://glue.mysprykershop.com/agent-customer-search?page[limit]=5&amp;page[offset]=5` | Return a list of 5 customer entries starting from the sixth entry. |
| `GET http://glue.mysprykershop.com/agent-customer-search?q=sonia@acme.com` | Search for the customer with the `sonia@acme.com` email address. |
| `GET http://glue.mysprykershop.com/agent-customer-search?q=spencor` | Search for the customer with the `spencor` name. |
| `GET http://glue.mysprykershop.com/agent-customer-search?q=DE--5` | Search for the customer with the `DE--5` customer reference. |

### Response

&lt;details&gt;&lt;summary&gt;Response sample: return the list of all customers&lt;/summary&gt;

```json
{
    &quot;data&quot;: [
        {
            &quot;type&quot;: &quot;agent-customer-search&quot;,
            &quot;id&quot;: null,
            &quot;attributes&quot;: {
                &quot;customers&quot;: [
                    {
                        &quot;customerReference&quot;: &quot;DE--1&quot;,
                        &quot;email&quot;: &quot;spencor.hopkin@spryker.com&quot;,
                        &quot;firstName&quot;: &quot;Spencor&quot;,
                        &quot;lastName&quot;: &quot;Hopkin&quot;
                    },
                    {
                        &quot;customerReference&quot;: &quot;DE--2&quot;,
                        &quot;email&quot;: &quot;maria.williams@acme.com&quot;,
                        &quot;firstName&quot;: &quot;Maria&quot;,
                        &quot;lastName&quot;: &quot;Williams&quot;
                    },
                    {
                        &quot;customerReference&quot;: &quot;DE--3&quot;,
                        &quot;email&quot;: &quot;maggie.may@acme.com&quot;,
                        &quot;firstName&quot;: &quot;Maggie&quot;,
                        &quot;lastName&quot;: &quot;May&quot;
                    },
                    {
                        &quot;customerReference&quot;: &quot;DE--4&quot;,
                        &quot;email&quot;: &quot;bill.martin@acme.com&quot;,
                        &quot;firstName&quot;: &quot;Bill&quot;,
                        &quot;lastName&quot;: &quot;Martin&quot;
                    },
                    {
                        &quot;customerReference&quot;: &quot;DE--5&quot;,
                        &quot;email&quot;: &quot;george.freeman@acme.com&quot;,
                        &quot;firstName&quot;: &quot;George&quot;,
                        &quot;lastName&quot;: &quot;Freeman&quot;
                    },
                    {
                        &quot;customerReference&quot;: &quot;DE--6&quot;,
                        &quot;email&quot;: &quot;henry.tudor@acme.com&quot;,
                        &quot;firstName&quot;: &quot;Henry&quot;,
                        &quot;lastName&quot;: &quot;Tudor&quot;
                    },
                    {
                        &quot;customerReference&quot;: &quot;DE--7&quot;,
                        &quot;email&quot;: &quot;anne.boleyn@acme.com&quot;,
                        &quot;firstName&quot;: &quot;Anne&quot;,
                        &quot;lastName&quot;: &quot;Boleyn&quot;
                    },
                    {
                        &quot;customerReference&quot;: &quot;DE--8&quot;,
                        &quot;email&quot;: &quot;andrew@ottom.de&quot;,
                        &quot;firstName&quot;: &quot;Andrew&quot;,
                        &quot;lastName&quot;: &quot;Wedner&quot;
                    },
                    {
                        &quot;customerReference&quot;: &quot;DE--9&quot;,
                        &quot;email&quot;: &quot;Ahill@ottom.de&quot;,
                        &quot;firstName&quot;: &quot;Ahill&quot;,
                        &quot;lastName&quot;: &quot;Grant&quot;
                    },
                    {
                        &quot;customerReference&quot;: &quot;DE--10&quot;,
                        &quot;email&quot;: &quot;Alexa@ottom.de&quot;,
                        &quot;firstName&quot;: &quot;Alexa&quot;,
                        &quot;lastName&quot;: &quot;Simons&quot;
                    }
                ]
            },
            &quot;links&quot;: {
                &quot;self&quot;: &quot;http://glue.mysprykershop.com/agent-customer-search&quot;
            }
        }
    ],
    &quot;links&quot;: {
        &quot;self&quot;: &quot;http://glue.mysprykershop.com/agent-customer-search&quot;,
        &quot;last&quot;: &quot;http://glue.mysprykershop.com/agent-customer-search?page[offset]=20&amp;page[limit]=10&quot;,
        &quot;first&quot;: &quot;http://glue.mysprykershop.com/agent-customer-search?page[offset]=0&amp;page[limit]=10&quot;,
        &quot;next&quot;: &quot;http://glue.mysprykershop.com/agent-customer-search?page[offset]=10&amp;page[limit]=10&quot;
    }
}
```

&lt;/details&gt;

&lt;details&gt;&lt;summary&gt;Response sample: search for a customer with page limit and page offset&lt;/summary&gt;

```json
{
    &quot;data&quot;: [
        {
            &quot;type&quot;: &quot;agent-customer-search&quot;,
            &quot;id&quot;: null,
            &quot;attributes&quot;: {
                &quot;customers&quot;: [
                    {
                        &quot;customerReference&quot;: &quot;DE--6&quot;,
                        &quot;email&quot;: &quot;henry.tudor@acme.com&quot;,
                        &quot;firstName&quot;: &quot;Henry&quot;,
                        &quot;lastName&quot;: &quot;Tudor&quot;
                    },
                    {
                        &quot;customerReference&quot;: &quot;DE--7&quot;,
                        &quot;email&quot;: &quot;anne.boleyn@acme.com&quot;,
                        &quot;firstName&quot;: &quot;Anne&quot;,
                        &quot;lastName&quot;: &quot;Boleyn&quot;
                    },
                    {
                        &quot;customerReference&quot;: &quot;DE--8&quot;,
                        &quot;email&quot;: &quot;andrew@ottom.de&quot;,
                        &quot;firstName&quot;: &quot;Andrew&quot;,
                        &quot;lastName&quot;: &quot;Wedner&quot;
                    },
                    {
                        &quot;customerReference&quot;: &quot;DE--9&quot;,
                        &quot;email&quot;: &quot;Ahill@ottom.de&quot;,
                        &quot;firstName&quot;: &quot;Ahill&quot;,
                        &quot;lastName&quot;: &quot;Grant&quot;
                    },
                    {
                        &quot;customerReference&quot;: &quot;DE--10&quot;,
                        &quot;email&quot;: &quot;Alexa@ottom.de&quot;,
                        &quot;firstName&quot;: &quot;Alexa&quot;,
                        &quot;lastName&quot;: &quot;Simons&quot;
                    }
                ]
            },
            &quot;links&quot;: {
                &quot;self&quot;: &quot;http://glue.mysprykershop.com/agent-customer-search?page[offset]=5&amp;page[limit]=5&quot;
            }
        }
    ],
    &quot;links&quot;: {
        &quot;self&quot;: &quot;http://glue.mysprykershop.com/agent-customer-search?page[offset]=5&amp;page[limit]=5&quot;,
        &quot;last&quot;: &quot;http://glue.mysprykershop.com/agent-customer-search?page[offset]=25&amp;page[limit]=5&quot;,
        &quot;first&quot;: &quot;http://glue.mysprykershop.com/agent-customer-search?page[offset]=0&amp;page[limit]=5&quot;,
        &quot;prev&quot;: &quot;http://glue.mysprykershop.com/agent-customer-search?page[offset]=0&amp;page[limit]=5&quot;,
        &quot;next&quot;: &quot;http://glue.mysprykershop.com/agent-customer-search?page[offset]=10&amp;page[limit]=5&quot;
    }
}
```

&lt;/details&gt;

&lt;details&gt;&lt;summary&gt;Response sample: search for a customer by email address&lt;/summary&gt;

```json
{
    &quot;data&quot;: [
        {
            &quot;type&quot;: &quot;agent-customer-search&quot;,
            &quot;id&quot;: null,
            &quot;attributes&quot;: {
                &quot;customers&quot;: [
                    {
                        &quot;customerReference&quot;: &quot;DE--21&quot;,
                        &quot;email&quot;: &quot;sonia@acme.com&quot;,
                        &quot;firstName&quot;: &quot;Sonia&quot;,
                        &quot;lastName&quot;: &quot;Wagner&quot;
                    }
                ]
            },
            &quot;links&quot;: {
                &quot;self&quot;: &quot;http://glue.mysprykershop.com/agent-customer-search?q=sonia@acme.com&quot;
            }
        }
    ],
    &quot;links&quot;: {
        &quot;self&quot;: &quot;http://glue.mysprykershop.com/agent-customer-search?q=sonia@acme.com&quot;,
        &quot;last&quot;: &quot;http://glue.mysprykershop.com/agent-customer-search?q=sonia@acme.com&amp;page[offset]=0&amp;page[limit]=10&quot;,
        &quot;first&quot;: &quot;http://glue.mysprykershop.com/agent-customer-search?q=sonia@acme.com&amp;page[offset]=0&amp;page[limit]=10&quot;
    }
}    
```

&lt;/details&gt;

&lt;details&gt;&lt;summary&gt;Response sample: search for a customer by name&lt;/summary&gt;

```json
 {
    &quot;data&quot;: [
        {
            &quot;type&quot;: &quot;agent-customer-search&quot;,
            &quot;id&quot;: null,
            &quot;attributes&quot;: {
                &quot;customers&quot;: [
                    {
                        &quot;customerReference&quot;: &quot;DE--1&quot;,
                        &quot;email&quot;: &quot;spencor.hopkin@spryker.com&quot;,
                        &quot;firstName&quot;: &quot;Spencor&quot;,
                        &quot;lastName&quot;: &quot;Hopkin&quot;
                    }
                ]
            },
            &quot;links&quot;: {
                &quot;self&quot;: &quot;http://glue.mysprykershop.com/agent-customer-search?q=spencor&quot;
            }
        }
    ],
    &quot;links&quot;: {
        &quot;self&quot;: &quot;http://glue.mysprykershop.com/agent-customer-search?q=spencor&quot;,
        &quot;last&quot;: &quot;http://glue.mysprykershop.com/agent-customer-search?q=spencor&amp;page[offset]=0&amp;page[limit]=10&quot;,
        &quot;first&quot;: &quot;http://glue.mysprykershop.com/agent-customer-search?q=spencor&amp;page[offset]=0&amp;page[limit]=10&quot;
    }
}   
```

&lt;/details&gt;

&lt;details&gt;&lt;summary&gt;Response sample: search for a customer by customer reference&lt;/summary&gt;

```json
{
    &quot;data&quot;: [
        {
            &quot;type&quot;: &quot;agent-customer-search&quot;,
            &quot;id&quot;: null,
            &quot;attributes&quot;: {
                &quot;customers&quot;: [
                    {
                        &quot;customerReference&quot;: &quot;DE--5&quot;,
                        &quot;email&quot;: &quot;george.freeman@acme.com&quot;,
                        &quot;firstName&quot;: &quot;George&quot;,
                        &quot;lastName&quot;: &quot;Freeman&quot;
                    }
                ]
            },
            &quot;links&quot;: {
                &quot;self&quot;: &quot;http://glue.mysprykershop.com/agent-customer-search?q=de--5&quot;
            }
        }
    ],
    &quot;links&quot;: {
        &quot;self&quot;: &quot;http://glue.mysprykershop.com/agent-customer-search?q=de--5&quot;,
        &quot;last&quot;: &quot;http://glue.mysprykershop.com/agent-customer-search?q=de--5&amp;page[offset]=0&amp;page[limit]=10&quot;,
        &quot;first&quot;: &quot;http://glue.mysprykershop.com/agent-customer-search?q=de--5&amp;page[offset]=0&amp;page[limit]=10&quot;
    }
}    
```

&lt;/details&gt;

| ATTRIBUTE | TYPE | DESCRIPTION |
| --- | --- | --- |
| customerReference | string | Unique customer identifier. |
| email | string | Email address of the customer. |
| firstName | string | First name of the customer. |
| lastName | string | Last name of the customer. |

## Possible errors

| CODE  | REASON |
| --- | --- |
| 001 | Access token is invalid.|
| 4103 | Agent access token is missing; or the action is available to an agent user only.|

To view generic errors that originate from the Glue Application, see [Reference information: GlueApplication errors](/docs/integrations/spryker-glue-api/storefront-api/api-references/reference-information-storefront-application-errors.html).

## Next steps

After you&apos;ve found the reference of the customer you want to assist, impersonate the customer to perform any actions available to them. See [Impersonate customers as an agent assist](/docs/pbc/all/user-management/latest/base-shop/manage-using-glue-api/glue-api-impersonate-customers-as-an-agent-assist.html) for details.
</description>
            <pubDate>Thu, 14 May 2026 07:50:35 +0000</pubDate>
            <link>https://docs.spryker.com/docs/pbc/all/user-management/latest/base-shop/manage-using-glue-api/glue-api-search-by-customers-as-an-agent-assist.html</link>
            <guid isPermaLink="true">https://docs.spryker.com/docs/pbc/all/user-management/latest/base-shop/manage-using-glue-api/glue-api-search-by-customers-as-an-agent-assist.html</guid>
            
            
        </item>
        
        <item>
            <title>Set up Keycloak for local development</title>
            <description>This guide sets up a local Keycloak instance alongside your Spryker Docker environment. Keycloak runs as an additional Docker service, is backed by the existing MariaDB instance, and is automatically provisioned with a realm, three OAuth2 clients, and test users on first boot — no manual UI configuration required.

This is a local development setup only. For production IdP configuration, refer to your IdP&apos;s documentation.

## Prerequisites

- A working local Spryker Docker environment booted with `docker/sdk boot deploy.dev.yml`

---

## Step 1 — Add the Keycloak service

Docker SDK supports merging additional Compose files into the main stack. Create `keycloak-docker-compose.yml` in the project root with the Keycloak service and a database initializer:

**`keycloak-docker-compose.yml`**

```yaml
services:
    keycloak-db-init:
        image: mariadb:11.8
        command:
            - sh
            - -c
            - |
                until mariadb -h database -u root -psecret -e &apos;SELECT 1&apos; 2&gt;/dev/null; do
                  echo &apos;Waiting for database...&apos;
                  sleep 2
                done
                mariadb -h database -u root -psecret -e &quot;
                  CREATE DATABASE IF NOT EXISTS keycloak CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
                  DROP USER IF EXISTS &apos;keycloak&apos;@&apos;%&apos;;
                  CREATE USER &apos;keycloak&apos;@&apos;%&apos; IDENTIFIED BY &apos;keycloak-secret&apos;;
                  GRANT ALL PRIVILEGES ON keycloak.* TO &apos;keycloak&apos;@&apos;%&apos;;
                  FLUSH PRIVILEGES;
                &quot;
                echo &apos;Keycloak database and user ready.&apos;
                sleep infinity
        healthcheck:
            test: [&quot;CMD-SHELL&quot;, &quot;mariadb -h database -u keycloak -pkeycloak-secret -e &apos;USE keycloak&apos;&quot;]
            interval: 5s
            timeout: 5s
            retries: 10
        networks:
            - private

    keycloak:
        image: quay.io/keycloak/keycloak:25.0
        depends_on:
            keycloak-db-init:
                condition: service_healthy
        environment:
            KC_DB: mariadb
            KC_DB_URL: jdbc:mariadb://database:3306/keycloak
            KC_DB_USERNAME: keycloak
            KC_DB_PASSWORD: keycloak-secret
            KEYCLOAK_ADMIN: admin
            KEYCLOAK_ADMIN_PASSWORD: admin
            KC_HTTP_PORT: 28080
            KC_HOSTNAME_STRICT: false
            KC_HTTP_ENABLED: true
        command: start-dev --import-realm
        ports:
            - &quot;28080:28080&quot;
        volumes:
            - ./data/keycloak:/opt/keycloak/data/import
        networks:
            public:
                aliases:
                    - keycloak.spryker.local
            private:
                aliases:
                    - keycloak.spryker.local
```

The `keycloak-db-init` service waits for the shared MariaDB to be available, then creates a dedicated `keycloak` database and user. The `keycloak` service depends on it being healthy before starting.

The `--import-realm` flag tells Keycloak to import any JSON files found in `/opt/keycloak/data/import` on startup. The `./data/keycloak` directory is mounted there — this is where the realm configuration lives (see step 3).

---

## Step 2 — Hook into deploy.dev.yml

Tell Docker SDK to merge your custom Compose file into the stack by adding the following to `deploy.dev.yml`:

**`deploy.dev.yml`**

```yaml
docker:
    compose:
        yamls:
            - keycloak-docker-compose.yml
```

Docker SDK merges this file with the generated one during `docker/sdk boot`, so the Keycloak service starts alongside the rest of the stack.

---

## Step 3 — Configure the realm

Create the realm configuration file that Keycloak imports on first boot. This file defines the realm settings, one OAuth2 client per Spryker application, and test users.

**`data/keycloak/spryker-realm.json`**

```json
{
  &quot;realm&quot;: &quot;spryker&quot;,
  &quot;enabled&quot;: true,
  &quot;sslRequired&quot;: &quot;none&quot;,
  &quot;registrationAllowed&quot;: false,
  &quot;loginWithEmailAllowed&quot;: true,
  &quot;duplicateEmailsAllowed&quot;: false,
  &quot;resetPasswordAllowed&quot;: true,
  &quot;editUsernameAllowed&quot;: false,
  &quot;bruteForceProtected&quot;: true,
  &quot;roles&quot;: {
    &quot;realm&quot;: [
      { &quot;name&quot;: &quot;user&quot;, &quot;description&quot;: &quot;Standard user privileges&quot; },
      { &quot;name&quot;: &quot;admin&quot;, &quot;description&quot;: &quot;Administrator privileges&quot; }
    ]
  },
  &quot;defaultRoles&quot;: [&quot;user&quot;],
  &quot;users&quot;: [
    {
      &quot;username&quot;: &quot;admin@spryker.local&quot;,
      &quot;email&quot;: &quot;admin@spryker.local&quot;,
      &quot;firstName&quot;: &quot;Admin&quot;,
      &quot;lastName&quot;: &quot;Spryker&quot;,
      &quot;enabled&quot;: true,
      &quot;emailVerified&quot;: true,
      &quot;credentials&quot;: [{ &quot;type&quot;: &quot;password&quot;, &quot;value&quot;: &quot;change123&quot; }],
      &quot;realmRoles&quot;: [&quot;user&quot;]
    },
    {
      &quot;username&quot;: &quot;sonia@acme.com&quot;,
      &quot;email&quot;: &quot;sonia@acme.com&quot;,
      &quot;firstName&quot;: &quot;Sonia&quot;,
      &quot;lastName&quot;: &quot;Wagner&quot;,
      &quot;enabled&quot;: true,
      &quot;emailVerified&quot;: true,
      &quot;credentials&quot;: [{ &quot;type&quot;: &quot;password&quot;, &quot;value&quot;: &quot;change123&quot; }],
      &quot;realmRoles&quot;: [&quot;user&quot;, &quot;admin&quot;]
    },
    {
      &quot;username&quot;: &quot;herald@spryker.com&quot;,
      &quot;email&quot;: &quot;herald@spryker.com&quot;,
      &quot;firstName&quot;: &quot;Harald&quot;,
      &quot;lastName&quot;: &quot;Schmidt&quot;,
      &quot;enabled&quot;: true,
      &quot;emailVerified&quot;: true,
      &quot;credentials&quot;: [{ &quot;type&quot;: &quot;password&quot;, &quot;value&quot;: &quot;change123&quot; }],
      &quot;realmRoles&quot;: [&quot;user&quot;, &quot;admin&quot;]
    }
  ],
  &quot;clients&quot;: [
    {
      &quot;clientId&quot;: &quot;spryker-yves&quot;,
      &quot;name&quot;: &quot;Spryker Yves Storefront&quot;,
      &quot;description&quot;: &quot;OAuth2 client for Yves storefront authentication&quot;,
      &quot;enabled&quot;: true,
      &quot;clientAuthenticatorType&quot;: &quot;client-secret&quot;,
      &quot;secret&quot;: &quot;spryker-yves-secret&quot;,
      &quot;publicClient&quot;: false,
      &quot;protocol&quot;: &quot;openid-connect&quot;,
      &quot;standardFlowEnabled&quot;: true,
      &quot;implicitFlowEnabled&quot;: false,
      &quot;directAccessGrantsEnabled&quot;: false,
      &quot;serviceAccountsEnabled&quot;: false,
      &quot;redirectUris&quot;: [&quot;http://yves.eu.spryker.local/*&quot;],
      &quot;webOrigins&quot;: [&quot;http://yves.eu.spryker.local&quot;],
      &quot;defaultClientScopes&quot;: [&quot;openid&quot;, &quot;profile&quot;, &quot;email&quot;]
    },
    {
      &quot;clientId&quot;: &quot;spryker-zed&quot;,
      &quot;name&quot;: &quot;Spryker Zed Backoffice&quot;,
      &quot;description&quot;: &quot;OAuth2 client for Zed backoffice authentication&quot;,
      &quot;enabled&quot;: true,
      &quot;clientAuthenticatorType&quot;: &quot;client-secret&quot;,
      &quot;secret&quot;: &quot;spryker-zed-secret&quot;,
      &quot;publicClient&quot;: false,
      &quot;protocol&quot;: &quot;openid-connect&quot;,
      &quot;standardFlowEnabled&quot;: true,
      &quot;implicitFlowEnabled&quot;: false,
      &quot;directAccessGrantsEnabled&quot;: true,
      &quot;serviceAccountsEnabled&quot;: false,
      &quot;redirectUris&quot;: [
        &quot;http://backoffice.eu.spryker.local/*&quot;,
        &quot;http://zed.eu.spryker.local/*&quot;
      ],
      &quot;webOrigins&quot;: [
        &quot;http://backoffice.eu.spryker.local&quot;,
        &quot;http://zed.eu.spryker.local&quot;
      ],
      &quot;defaultClientScopes&quot;: [&quot;openid&quot;, &quot;profile&quot;, &quot;email&quot;]
    },
    {
      &quot;clientId&quot;: &quot;spryker-merchant-portal&quot;,
      &quot;name&quot;: &quot;Spryker Merchant Portal&quot;,
      &quot;description&quot;: &quot;OAuth2 client for Merchant Portal authentication&quot;,
      &quot;enabled&quot;: true,
      &quot;clientAuthenticatorType&quot;: &quot;client-secret&quot;,
      &quot;secret&quot;: &quot;spryker-merchant-portal-secret&quot;,
      &quot;publicClient&quot;: false,
      &quot;protocol&quot;: &quot;openid-connect&quot;,
      &quot;standardFlowEnabled&quot;: true,
      &quot;implicitFlowEnabled&quot;: false,
      &quot;directAccessGrantsEnabled&quot;: false,
      &quot;serviceAccountsEnabled&quot;: false,
      &quot;redirectUris&quot;: [&quot;http://mp.eu.spryker.local/*&quot;],
      &quot;webOrigins&quot;: [&quot;http://mp.eu.spryker.local&quot;],
      &quot;defaultClientScopes&quot;: [&quot;openid&quot;, &quot;profile&quot;, &quot;email&quot;]
    }
  ]
}
```

### What this configures

**Realm** — a `spryker` realm with brute-force protection enabled and self-registration disabled.

**Clients** — one per application, all using the Authorization Code flow (`standardFlowEnabled: true`) with a confidential client secret:

| Client ID | Surface | Secret |
|---|---|---|
| `spryker-yves` | Storefront | `spryker-yves-secret` |
| `spryker-zed` | Back-office | `spryker-zed-secret` |
| `spryker-merchant-portal` | Merchant Portal | `spryker-merchant-portal-secret` |

The `defaultClientScopes: [&quot;openid&quot;, &quot;profile&quot;, &quot;email&quot;]` ensures Keycloak returns the `email`, `given_name`, and `family_name` claims that Spryker requires. No additional claim mapping is needed.

**Test users** — three pre-configured users, all with password `change123`:

| Name | Email | Use for |
|---|---|---|
| Sonia Wagner | `sonia@acme.com` | Storefront login |
| Admin Spryker | `admin@spryker.local` | Back-office login |
| Harald Schmidt | `herald@spryker.com` | Merchant Portal login |

Make sure the email address of the Merchant Portal test user exists in Spryker&apos;s database before testing. Storefront and Back-office users are created automatically on first SSO login.

---

## Step 4 — Set environment variables

Add the following to the `image.environment` section of `deploy.dev.yml`. The client names (`SSO_YVES`, `SSO_ZED`, `SSO_MP`) follow the `SPRYKER_OAUTH_{CLIENT_NAME}_{FIELD}` convention described in [Add an OAuth provider](/docs/pbc/all/oauth/latest/install-and-upgrade/add-an-oauth-provider.html).

**`deploy.dev.yml`**

```yaml
image:
    environment:
        SPRYKER_OAUTH_SSO_YVES_BASE_URL: &apos;http://keycloak.spryker.local:28080&apos;
        SPRYKER_OAUTH_SSO_YVES_REALM: &apos;spryker&apos;
        SPRYKER_OAUTH_SSO_YVES_CLIENT_ID: &apos;spryker-yves&apos;
        SPRYKER_OAUTH_SSO_YVES_CLIENT_SECRET: &apos;spryker-yves-secret&apos;
        SPRYKER_OAUTH_REDIRECT_URI_YVES: &apos;http://yves.eu.spryker.local/login/oauth-callback&apos;

        SPRYKER_OAUTH_SSO_ZED_BASE_URL: &apos;http://keycloak.spryker.local:28080&apos;
        SPRYKER_OAUTH_SSO_ZED_REALM: &apos;spryker&apos;
        SPRYKER_OAUTH_SSO_ZED_CLIENT_ID: &apos;spryker-zed&apos;
        SPRYKER_OAUTH_SSO_ZED_CLIENT_SECRET: &apos;spryker-zed-secret&apos;
        SPRYKER_OAUTH_REDIRECT_URI_ZED: &apos;http://backoffice.eu.spryker.local/security-oauth-user/login&apos;

        SPRYKER_OAUTH_SSO_MP_BASE_URL: &apos;http://keycloak.spryker.local:28080&apos;
        SPRYKER_OAUTH_SSO_MP_REALM: &apos;spryker&apos;
        SPRYKER_OAUTH_SSO_MP_CLIENT_ID: &apos;spryker-merchant-portal&apos;
        SPRYKER_OAUTH_SSO_MP_CLIENT_SECRET: &apos;spryker-merchant-portal-secret&apos;
        SPRYKER_OAUTH_REDIRECT_URI_MERCHANT_PORTAL: &apos;http://mp.eu.spryker.local/security-merchant-portal-gui/oauth-login&apos;
```

These values must match the client IDs, secrets, and redirect URIs defined in `spryker-realm.json`.

{% info_block warningBox &quot;Cloud environments&quot; %}

For non-local environments, do not add secrets to `deploy.*.yml`. Store them in your secure secrets manager instead — for example, AWS Parameter Store provided by your Spryker cloud environment.

{% endinfo_block %}

---

## Verification

1. Boot the stack:

```bash
docker/sdk boot deploy.dev.yml
docker/sdk up
```

2. Confirm Keycloak is running by opening `http://keycloak.spryker.local:28080`. Log in with `admin` / `admin` and verify the `spryker` realm and its three clients exist.

3. Test each application:

| Surface | URL | Test user |
|---|---|---|
| Storefront | `http://yves.eu.spryker.local/login` | Sonia Wagner — `sonia@acme.com` |
| Back-office | `http://backoffice.eu.spryker.local/security-gui/login` | Admin Spryker — `admin@spryker.local` |
| Merchant Portal | `http://mp.eu.spryker.local/security-merchant-portal-gui/login` | Harald Schmidt — `herald@spryker.com` |

On each login page, click the SSO button, authenticate with the test user credentials (`change123`), and confirm you are redirected back and logged in.

For troubleshooting Keycloak-specific issues, refer to the [Keycloak documentation](https://www.keycloak.org/documentation).
</description>
            <pubDate>Thu, 14 May 2026 07:42:41 +0000</pubDate>
            <link>https://docs.spryker.com/docs/pbc/all/oauth/latest/install-and-upgrade/set-up-keycloak-for-local-development.html</link>
            <guid isPermaLink="true">https://docs.spryker.com/docs/pbc/all/oauth/latest/install-and-upgrade/set-up-keycloak-for-local-development.html</guid>
            
            
        </item>
        
        <item>
            <title>Retrieve subscriptions to availability notifications</title>
            <description>This endpoint allows retrieving subscriptions to availability notifications of a registered customer.

## Installation

For detailed information on the modules that provide the API functionality and related installation instructions, see [Install the Availability Notification Glue API](/docs/pbc/all/warehouse-management-system/latest/base-shop/install-and-upgrade/install-features/install-the-availability-notification-glue-api.html).

## Retrieve subscriptions to availability notifications

To retrieve subscriptions to availability notifications, send the request:

---
`GET` **/my-availability-notifications/**

---

### Request

| HEADER KEY | HEADER VALUE | REQUIRED | DESCRIPTION |
|-|-|-|-|
| Authorization | string | &amp;check; | Alphanumeric string that authorizes the customer or company user to send requests to protected resources. Get it by authenticating as a customer. |

Request sample: retrieve subscriptions to availability notifications

`GET https://glue.mysprykershop.com/my-availability-notifications`

### Response

&lt;details&gt;&lt;summary&gt;Response sample: retrieve subscriptions to availability notifications&lt;/summary&gt;

```json
{
    &quot;data&quot;: [
        {
            &quot;type&quot;: &quot;availability-notifications&quot;,
            &quot;id&quot;: &quot;05f2004950e01a056537384a405ec9a0&quot;,
            &quot;attributes&quot;: {
                &quot;localeName&quot;: &quot;en_US&quot;,
                &quot;email&quot;: &quot;sonia@acme.com&quot;,
                &quot;sku&quot;: &quot;213_123&quot;
            },
            &quot;links&quot;: {
                &quot;self&quot;: &quot;https://glue.69.demo-spryker.com:80/availability-notifications/05f2004950e01a056537384a405ec9a0&quot;
            }
        },
        {
            &quot;type&quot;: &quot;availability-notifications&quot;,
            &quot;id&quot;: &quot;0fdc733c5d91ef9645e5a9b7114b37d8&quot;,
            &quot;attributes&quot;: {
                &quot;localeName&quot;: &quot;en_US&quot;,
                &quot;email&quot;: &quot;sonia@acme.com&quot;,
                &quot;sku&quot;: &quot;190_25111746&quot;
            },
            &quot;links&quot;: {
                &quot;self&quot;: &quot;https://glue.69.demo-spryker.com:80/availability-notifications/0fdc733c5d91ef9645e5a9b7114b37d8&quot;
            }
        }
    ],
    &quot;links&quot;: []
}
```

&lt;/details&gt;

## Other management options

There is an alternative way to retrieve subscriptions to availability notifications of a registered customer. For details, see [Managing customers](/docs/pbc/all/identity-access-management/latest/manage-using-glue-api/glue-api-create-customers.html#create-a-customer).

## Possible errors

| CODE | REASON |
|-|-|
| 001 | Access token is invalid. |
| 002 | Access token is missing. |

To view generic errors that originate from the Glue Application, see [Reference information: GlueApplication errors](/docs/integrations/spryker-glue-api/storefront-api/api-references/reference-information-storefront-application-errors.html).
</description>
            <pubDate>Thu, 14 May 2026 07:42:41 +0000</pubDate>
            <link>https://docs.spryker.com/docs/pbc/all/warehouse-management-system/latest/base-shop/manage-using-glue-api/glue-api-retrieve-subscriptions-to-availability-notifications.html</link>
            <guid isPermaLink="true">https://docs.spryker.com/docs/pbc/all/warehouse-management-system/latest/base-shop/manage-using-glue-api/glue-api-retrieve-subscriptions-to-availability-notifications.html</guid>
            
            
        </item>
        
        <item>
            <title>Retrieve subscriptions to availability notifications</title>
            <description>This endpoint allows retrieving subscriptions to availability notifications of a registered customer.

## Installation

For detailed information on the modules that provide the API functionality and related installation instructions, see [Install the Availability Notification Glue API](/docs/pbc/all/warehouse-management-system/latest/base-shop/install-and-upgrade/install-features/install-the-availability-notification-glue-api.html).

## Retrieve subscriptions to availability notifications

To retrieve subscriptions to availability notifications, send the request:

---
`GET` **/my-availability-notifications/**

---

### Request

| HEADER KEY | HEADER VALUE | REQUIRED | DESCRIPTION |
|-|-|-|-|
| Authorization | string | &amp;check; | Alphanumeric string that authorizes the customer or company user to send requests to protected resources. Get it by authenticating as a customer. |

Request sample: retrieve subscriptions to availability notifications

`GET https://glue.mysprykershop.com/my-availability-notifications`

### Response

&lt;details&gt;&lt;summary&gt;Response sample: retrieve subscriptions to availability notifications&lt;/summary&gt;

```json
{
    &quot;data&quot;: [
        {
            &quot;type&quot;: &quot;availability-notifications&quot;,
            &quot;id&quot;: &quot;05f2004950e01a056537384a405ec9a0&quot;,
            &quot;attributes&quot;: {
                &quot;localeName&quot;: &quot;en_US&quot;,
                &quot;email&quot;: &quot;sonia@acme.com&quot;,
                &quot;sku&quot;: &quot;213_123&quot;
            },
            &quot;links&quot;: {
                &quot;self&quot;: &quot;https://glue.69.demo-spryker.com:80/availability-notifications/05f2004950e01a056537384a405ec9a0&quot;
            }
        },
        {
            &quot;type&quot;: &quot;availability-notifications&quot;,
            &quot;id&quot;: &quot;0fdc733c5d91ef9645e5a9b7114b37d8&quot;,
            &quot;attributes&quot;: {
                &quot;localeName&quot;: &quot;en_US&quot;,
                &quot;email&quot;: &quot;sonia@acme.com&quot;,
                &quot;sku&quot;: &quot;190_25111746&quot;
            },
            &quot;links&quot;: {
                &quot;self&quot;: &quot;https://glue.69.demo-spryker.com:80/availability-notifications/0fdc733c5d91ef9645e5a9b7114b37d8&quot;
            }
        }
    ],
    &quot;links&quot;: []
}
```

&lt;/details&gt;

## Other management options

There is an alternative way to retrieve subscriptions to availability notifications of a registered customer. For details, see [Managing customers](/docs/pbc/all/identity-access-management/latest/manage-using-glue-api/glue-api-create-customers.html#create-a-customer).

## Possible errors

| CODE | REASON |
|-|-|
| 001 | Access token is invalid. |
| 002 | Access token is missing. |

To view generic errors that originate from the Glue Application, see [Reference information: GlueApplication errors](/docs/integrations/spryker-glue-api/storefront-api/api-references/reference-information-storefront-application-errors.html).
</description>
            <pubDate>Thu, 14 May 2026 07:42:41 +0000</pubDate>
            <link>https://docs.spryker.com/docs/pbc/all/warehouse-management-system/latest/manage-using-glue-api/glue-api-retrieve-subscriptions-to-availability-notifications.html</link>
            <guid isPermaLink="true">https://docs.spryker.com/docs/pbc/all/warehouse-management-system/latest/manage-using-glue-api/glue-api-retrieve-subscriptions-to-availability-notifications.html</guid>
            
            
        </item>
        
        <item>
            <title>Glue API: Retrieve shipments when checking out purchases</title>
            <description>This document describes how to retrieve order shipments when checking out through the Glue API. For full information about the endpoint, see [Check out purchases](/docs/pbc/all/cart-and-checkout/latest/base-shop/manage-using-glue-api/check-out/glue-api-check-out-purchases.html)


This endpoint allows finalizing the checkout process by placing an order. After sending a request, the cart is deleted, and you cannot make any changes in the checkout data. Use this endpoint for checkouts that can be performed in one pass or for finalizing a checkout after [Submit checkout data](/docs/pbc/all/cart-and-checkout/latest/base-shop/manage-using-glue-api/check-out/glue-api-submit-checkout-data.html).  

## Installation

For detailed information on the modules that provide the API functionality and related installation instructions, see:
- [Install the Checkout Glue API](/docs/pbc/all/order-management-system/latest/base-shop/install-and-upgrade/install-glue-api/install-the-checkout-glue-api.html)
- [Install the Shipment Glue API](/docs/pbc/all/carrier-management/latest/base-shop/install-and-upgrade/install-the-shipment-glue-api.html)

## Place an order

To place an order, send the request:

***
`POST` **/checkout**
***

### Request

{% info_block warningBox &quot;Cart deletion&quot; %}

By default, if checkout is successful, the order is placed, and the cart is deleted automatically.

{% endinfo_block %}

| HEADER KEY | HEADER VALUE | REQUIRED | DESCRIPTION |
| --- | --- | --- | --- |
| X-Anonymous-Customer-Unique-Id | String | Required when checking out a [guest cart](/docs/pbc/all/cart-and-checkout/latest/base-shop/manage-using-glue-api/manage-guest-carts/glue-api-manage-guest-carts.html). | A guest user&apos;s unique identifier. For security purposes, we recommend passing a hyphenated alphanumeric value, but you can pass any. If you are sending automated requests, you can configure your API client to generate this value. |
| Authorization | String | Required when checking out a [cart of registered user](/docs/pbc/all/cart-and-checkout/latest/base-shop/manage-using-glue-api/manage-carts-of-registered-users/glue-api-manage-items-in-carts-of-registered-users.html). | An alphanumeric string that authorizes the customer to send requests to protected resources. Get it by [authenticating as a customer](/docs/pbc/all/identity-access-management/latest/manage-using-glue-api/glue-api-authenticate-as-a-customer.html). |



| QUERY PARAMETER | DESCRIPTION | POSSIBLE VALUES |
| --- | --- | --- |
| include | Adds resource relationships to the request.	 | orders, order-shipments |

{% info_block infoBox &quot;Included resources&quot; %}

To retrieve order shipments, include `orders` and `order-shipments`.

{% endinfo_block %}


&lt;details&gt;
&lt;summary&gt;Request sample: check out with one shipment, order information, and shipment information&lt;/summary&gt;

`POST https://glue.mysprykershop.com/checkout?include=orders,order-shipments`

```json
{
    &quot;data&quot;: {
        &quot;type&quot;: &quot;checkout&quot;,
        &quot;attributes&quot;: {
            &quot;customer&quot;: {
            &quot;salutation&quot;: &quot;Mr&quot;,
            &quot;email&quot;: &quot;sonia@acme.com&quot;,
            &quot;firstName&quot;: &quot;Sonia&quot;,
            &quot;lastName&quot;: &quot;Wagner&quot;
            },
            &quot;idCart&quot;: &quot;fe660d66-b7ec-5d88-8cd2-1a9a004c90b5&quot;,
            &quot;billingAddress&quot;: {
                &quot;salutation&quot;: &quot;Mr&quot;,
                &quot;firstName&quot;: &quot;Spencor&quot;,
                &quot;lastName&quot;: &quot;Hopkin&quot;,
                &quot;address1&quot;: &quot;Julie-Wolfthorn-Strasse&quot;,
                &quot;address2&quot;: &quot;1&quot;,
                &quot;address3&quot;: &quot;new address&quot;,
                &quot;zipCode&quot;: &quot;10115&quot;,
                &quot;city&quot;: &quot;Berlin&quot;,
                &quot;iso2Code&quot;: &quot;DE&quot;,
                &quot;company&quot;: &quot;spryker&quot;,
                &quot;phone&quot;: &quot;+49 (30) 2084 98350&quot;
            },
            &quot;payments&quot;: [
                {
                    &quot;dummyPaymentInvoice&quot;: {
                        &quot;dateOfBirth&quot;: &quot;08.04.1986&quot;
                    },
                    &quot;paymentMethodName&quot;: &quot;Invoice&quot;,
                    &quot;paymentProviderName&quot;: &quot;DummyPayment&quot;
                }
            ],
            &quot;shipments&quot;: [
                {
                    &quot;items&quot;: [
                        &quot;066_23294028&quot;
                    ],
                    &quot;shippingAddress&quot;: {
                        &quot;salutation&quot;: &quot;Mrs&quot;,
                        &quot;firstName&quot;: &quot;Sonia&quot;,
                        &quot;lastName&quot;: &quot;Wagner&quot;,
                        &quot;address1&quot;: &quot;Julie-Wolfthorn-Strasse&quot;,
                        &quot;address2&quot;: &quot;1&quot;,
                        &quot;address3&quot;: &quot;new one&quot;,
                        &quot;zipCode&quot;: &quot;10115&quot;,
                        &quot;city&quot;: &quot;Berlin&quot;,
                        &quot;iso2Code&quot;: &quot;DE&quot;,
                        &quot;company&quot;: &quot;spryker&quot;,
                        &quot;phone&quot;: &quot;+49 (30) 2084 98350&quot;
                    },
                    &quot;idShipmentMethod&quot;: 2,
                    &quot;requestedDeliveryDate&quot;: &quot;2021-09-29&quot;
                }
            ]
        }
    }
}
```

&lt;/details&gt;


{% include pbc/all/glue-api-guides/latest/checkout-request-attributes.md %} &lt;!-- To edit, see /_includes/pbc/all/glue-api-guides/202311.0/checkout-request-attributes.md --&gt;



### Response

&lt;details&gt;
&lt;summary&gt;Response sample: check out with a split shipment, order information, and shipment information&lt;/summary&gt;

```json
{
    &quot;data&quot;: {
        &quot;type&quot;: &quot;checkout&quot;,
        &quot;id&quot;: null,
        &quot;attributes&quot;: {
            &quot;orderReference&quot;: &quot;DE--10&quot;,
            &quot;redirectUrl&quot;: null,
            &quot;isExternalRedirect&quot;: null
        },
        &quot;links&quot;: {
            &quot;self&quot;: &quot;https://glue.mysprykershop.com/checkout?include=orders,order-shipments&quot;
        },
        &quot;relationships&quot;: {
            &quot;orders&quot;: {
                &quot;data&quot;: [
                    {
                        &quot;type&quot;: &quot;orders&quot;,
                        &quot;id&quot;: &quot;DE--10&quot;
                    }
                ]
            }
        }
    },
    &quot;included&quot;: [
        {
            &quot;type&quot;: &quot;order-shipments&quot;,
            &quot;id&quot;: &quot;18&quot;,
            &quot;attributes&quot;: {
                &quot;itemUuids&quot;: [
                    &quot;34d4ea2b-7327-5fe3-843f-ca7e27fa1e81&quot;
                ],
                &quot;methodName&quot;: &quot;Express&quot;,
                &quot;carrierName&quot;: &quot;Spryker Dummy Shipment&quot;,
                &quot;requestedDeliveryDate&quot;: &quot;2021-09-29&quot;,
                &quot;shippingAddress&quot;: {
                    &quot;salutation&quot;: &quot;Mrs&quot;,
                    &quot;firstName&quot;: &quot;Sonia&quot;,
                    &quot;middleName&quot;: null,
                    &quot;lastName&quot;: &quot;Wagner&quot;,
                    &quot;address1&quot;: &quot;Julie-Wolfthorn-Strasse&quot;,
                    &quot;address2&quot;: &quot;1&quot;,
                    &quot;address3&quot;: &quot;new one&quot;,
                    &quot;company&quot;: &quot;spryker&quot;,
                    &quot;city&quot;: &quot;Berlin&quot;,
                    &quot;zipCode&quot;: &quot;10115&quot;,
                    &quot;poBox&quot;: null,
                    &quot;phone&quot;: &quot;+49 (30) 2084 98350&quot;,
                    &quot;cellPhone&quot;: null,
                    &quot;description&quot;: null,
                    &quot;comment&quot;: null,
                    &quot;email&quot;: null,
                    &quot;country&quot;: &quot;Germany&quot;,
                    &quot;iso2Code&quot;: &quot;DE&quot;
                }
            },
            &quot;links&quot;: {
                &quot;self&quot;: &quot;https://glue.mysprykershop.com/order-shipments/18&quot;
            }
        },
        {
            &quot;type&quot;: &quot;orders&quot;,
            &quot;id&quot;: &quot;DE--10&quot;,
            &quot;attributes&quot;: {
                &quot;merchantReferences&quot;: [],
                &quot;itemStates&quot;: [
                    &quot;payment pending&quot;
                ],
                &quot;createdAt&quot;: &quot;2021-01-18 13:07:24.000000&quot;,
                &quot;currencyIsoCode&quot;: &quot;EUR&quot;,
                &quot;priceMode&quot;: &quot;GROSS_MODE&quot;,
                &quot;totals&quot;: {
                    &quot;expenseTotal&quot;: 590,
                    &quot;discountTotal&quot;: 0,
                    &quot;taxTotal&quot;: 6377,
                    &quot;subtotal&quot;: 39353,
                    &quot;grandTotal&quot;: 39943,
                    &quot;canceledTotal&quot;: 0,
                    &quot;remunerationTotal&quot;: 0
                },
                &quot;billingAddress&quot;: {
                    &quot;salutation&quot;: &quot;Mr&quot;,
                    &quot;firstName&quot;: &quot;Sonia&quot;,
                    &quot;middleName&quot;: null,
                    &quot;lastName&quot;: &quot;Wagner&quot;,
                    &quot;address1&quot;: &quot;Julie-Wolfthorn-Strasse&quot;,
                    &quot;address2&quot;: &quot;1&quot;,
                    &quot;address3&quot;: &quot;new address&quot;,
                    &quot;company&quot;: &quot;spryker&quot;,
                    &quot;city&quot;: &quot;Berlin&quot;,
                    &quot;zipCode&quot;: &quot;10115&quot;,
                    &quot;poBox&quot;: null,
                    &quot;phone&quot;: &quot;+49 (30) 2084 98350&quot;,
                    &quot;cellPhone&quot;: null,
                    &quot;description&quot;: null,
                    &quot;comment&quot;: null,
                    &quot;email&quot;: null,
                    &quot;country&quot;: &quot;Germany&quot;,
                    &quot;iso2Code&quot;: &quot;DE&quot;
                },
                &quot;shippingAddress&quot;: null,
                &quot;items&quot;: [
                    {
                        &quot;merchantReference&quot;: null,
                        &quot;state&quot;: &quot;payment pending&quot;,
                        &quot;name&quot;: &quot;Samsung Galaxy S5 mini&quot;,
                        &quot;sku&quot;: &quot;066_23294028&quot;,
                        &quot;sumPrice&quot;: 39353,
                        &quot;quantity&quot;: 1,
                        &quot;unitGrossPrice&quot;: 39353,
                        &quot;sumGrossPrice&quot;: 39353,
                        &quot;taxRate&quot;: &quot;19.00&quot;,
                        &quot;unitNetPrice&quot;: 0,
                        &quot;sumNetPrice&quot;: 0,
                        &quot;unitPrice&quot;: 39353,
                        &quot;unitTaxAmountFullAggregation&quot;: 6283,
                        &quot;sumTaxAmountFullAggregation&quot;: 6283,
                        &quot;refundableAmount&quot;: 39353,
                        &quot;canceledAmount&quot;: 0,
                        &quot;sumSubtotalAggregation&quot;: 39353,
                        &quot;unitSubtotalAggregation&quot;: 39353,
                        &quot;unitProductOptionPriceAggregation&quot;: 0,
                        &quot;sumProductOptionPriceAggregation&quot;: 0,
                        &quot;unitExpensePriceAggregation&quot;: 0,
                        &quot;sumExpensePriceAggregation&quot;: null,
                        &quot;unitDiscountAmountAggregation&quot;: 0,
                        &quot;sumDiscountAmountAggregation&quot;: 0,
                        &quot;unitDiscountAmountFullAggregation&quot;: 0,
                        &quot;sumDiscountAmountFullAggregation&quot;: 0,
                        &quot;unitPriceToPayAggregation&quot;: 39353,
                        &quot;sumPriceToPayAggregation&quot;: 39353,
                        &quot;taxRateAverageAggregation&quot;: &quot;19.00&quot;,
                        &quot;taxAmountAfterCancellation&quot;: null,
                        &quot;orderReference&quot;: null,
                        &quot;uuid&quot;: &quot;34d4ea2b-7327-5fe3-843f-ca7e27fa1e81&quot;,
                        &quot;isReturnable&quot;: false,
                        &quot;idShipment&quot;: 18,
                        &quot;bundleItemIdentifier&quot;: null,
                        &quot;relatedBundleItemIdentifier&quot;: null,
                        &quot;salesOrderConfiguredBundle&quot;: null,
                        &quot;salesOrderConfiguredBundleItem&quot;: null,
                        &quot;metadata&quot;: {
                            &quot;superAttributes&quot;: {
                                &quot;color&quot;: &quot;Blue&quot;
                            },
                            &quot;image&quot;: &quot;https://images.icecat.biz/img/gallery_mediums/23294028_3275.jpg&quot;
                        },
                        &quot;salesUnit&quot;: null,
                        &quot;calculatedDiscounts&quot;: [],
                        &quot;productOptions&quot;: [],
                        &quot;amount&quot;: null
                    }
                ],
                &quot;expenses&quot;: [
                    {
                        &quot;type&quot;: &quot;SHIPMENT_EXPENSE_TYPE&quot;,
                        &quot;name&quot;: &quot;Express&quot;,
                        &quot;sumPrice&quot;: 590,
                        &quot;unitGrossPrice&quot;: 590,
                        &quot;sumGrossPrice&quot;: 590,
                        &quot;taxRate&quot;: &quot;19.00&quot;,
                        &quot;unitNetPrice&quot;: 0,
                        &quot;sumNetPrice&quot;: 0,
                        &quot;canceledAmount&quot;: null,
                        &quot;unitDiscountAmountAggregation&quot;: null,
                        &quot;sumDiscountAmountAggregation&quot;: null,
                        &quot;unitTaxAmount&quot;: 94,
                        &quot;sumTaxAmount&quot;: 94,
                        &quot;unitPriceToPayAggregation&quot;: 590,
                        &quot;sumPriceToPayAggregation&quot;: 590,
                        &quot;taxAmountAfterCancellation&quot;: null,
                        &quot;idShipment&quot;: 18,
                        &quot;idSalesExpense&quot;: 18
                    }
                ],
                &quot;payments&quot;: [
                    {
                        &quot;amount&quot;: 39943,
                        &quot;paymentProvider&quot;: &quot;DummyPayment&quot;,
                        &quot;paymentMethod&quot;: &quot;Invoice&quot;
                    }
                ],
                &quot;shipments&quot;: [
                    {
                        &quot;shipmentMethodName&quot;: &quot;Express&quot;,
                        &quot;carrierName&quot;: &quot;Spryker Dummy Shipment&quot;,
                        &quot;deliveryTime&quot;: null,
                        &quot;defaultGrossPrice&quot;: 590,
                        &quot;defaultNetPrice&quot;: 0,
                        &quot;currencyIsoCode&quot;: &quot;EUR&quot;
                    }
                ],
                &quot;calculatedDiscounts&quot;: [],
                &quot;bundleItems&quot;: []
            },
            &quot;links&quot;: {
                &quot;self&quot;: &quot;https://glue.mysprykershop.com/orders/DE--10&quot;
            },
            &quot;relationships&quot;: {
                &quot;order-shipments&quot;: {
                    &quot;data&quot;: [
                        {
                            &quot;type&quot;: &quot;order-shipments&quot;,
                            &quot;id&quot;: &quot;18&quot;
                        }
                    ]
                }
            }
        }
    ]
}
```

&lt;/details&gt;



| ATTRIBUTE | TYPE | DESCRIPTION |
| --- | --- | --- |
| orderReference | String | The unique identifier of the order. |
| redirectUrl | String | The URL to perform the payment verification requested by the selected payment method. After completing verification, ensure to [update payment data](/docs/pbc/all/cart-and-checkout/latest/base-shop/manage-using-glue-api/check-out/glue-api-update-payment-data.html#update-payment-data). If the value is `null` or empty, no additional verification is required. |
| isExternalRedirect | Boolean | If true, the customer is redirected to an external URL. |

{% include pbc/all/glue-api-guides/latest/order-shipments-response-attributes.md %} &lt;!-- To edit, see /_includes/pbc/all/glue-api-guides/202311.0/order-shipments-response-attributes.md --&gt;

{% include pbc/all/glue-api-guides/latest/orders-response-attributes.md %} &lt;!-- To edit, see /_includes/pbc/all/glue-api-guides/202311.0/orders-response-attributes.md --&gt;

## Possible errors

| STATUS | REASONS |
| --- | --- |
| 400 | Bad request. This error can occur because of the following reasons:&lt;ul&gt;&lt;li&gt;The POST data is incorrect;&lt;/li&gt;&lt;li&gt;Neither **Authorization** nor **X-Anonymous-Customer-Unique-Id** headers were provided in the request.&lt;/li&gt;&lt;/ul&gt; |
| 404 | Order not found. |
| 422 | Order payment is not updated. Checkout data is incorrect. |
| 1101 | Checkout data is invalid. |
| 1102 | Order cannot be placed. |
| 1103 | Cart not found. |
| 1104 | Cart is empty. |
| 1105 | One of Authorization or X-Anonymous-Customer-Unique-Id   headers is required. |
| 1106 | Unable to delete cart. |
| 1107 | Multiple payments are not allowed. |
| 1108 | Payment method &quot;%s&quot; of payment provider &quot;%s&quot; is invalid. |
</description>
            <pubDate>Thu, 14 May 2026 07:42:41 +0000</pubDate>
            <link>https://docs.spryker.com/docs/pbc/all/carrier-management/latest/base-shop/manage-using-glue-api/glue-api-retrieve-shipments-when-checking-out-purchases.html</link>
            <guid isPermaLink="true">https://docs.spryker.com/docs/pbc/all/carrier-management/latest/base-shop/manage-using-glue-api/glue-api-retrieve-shipments-when-checking-out-purchases.html</guid>
            
            
        </item>
        
        <item>
            <title>Glue API: Manage customers</title>
            <description>The Customer API allows creating customers and manage their account data. This includes the possibility to maintain a set of customer addresses as separate resources. In the checkout process, you can retrieve and use these address resources to speed up the buying process. The API supports authentication via OAuth 2.0 and password restoration.

In your development, these resources can help you:

- Retrieve relevant customer information. for any page where it&apos;s needed.
- Retrieve customer subscriptions to availability notifications.
- Enable customer registration.
- Allow customer login and authentication.
- Enrich customer profiles with additional data such as addresses.

## Installation

For details on the modules that provide the API functionality and how to install them, see [Glue API: Customer Access Feature Integration](/docs/pbc/all/identity-access-management/latest/install-and-upgrade/install-the-customer-account-management-glue-api.html).


## Retrieve customers

To retrieve customers, send the request:

***
`GET` **/customers/**
***

### Request

| HEADER KEY | HEADER VALUE | REQUIRED | DESCRIPTION |
| --- | --- | --- | --- |
| Authorization | string | &amp;check; | Alphanumeric string that authorizes the customer to send requests to protected resources. Get it by [authenticating as a customer](/docs/pbc/all/identity-access-management/latest/manage-using-glue-api/glue-api-authenticate-as-a-customer.html).  |

Request sample: retrieve customers

`GET https://glue.mysprykershop.com/customers`

### Response

&lt;details&gt;&lt;summary&gt;Response sample: retrieve customers&lt;/summary&gt;

```json
{
    &quot;data&quot;: [
        {
            &quot;type&quot;: &quot;customers&quot;,
            &quot;id&quot;: &quot;DE--21&quot;,
            &quot;attributes&quot;: {
                &quot;firstName&quot;: &quot;Sonia&quot;,
                &quot;lastName&quot;: &quot;Wagner&quot;,
                &quot;email&quot;: &quot;sonia@acme.com&quot;,
                &quot;gender&quot;: &quot;Female&quot;,
                &quot;dateOfBirth&quot;: null,
                &quot;salutation&quot;: &quot;Ms&quot;,
                &quot;createdAt&quot;: &quot;2020-10-07 07:02:32.683823&quot;,
                &quot;updatedAt&quot;: &quot;2020-10-07 07:02:32.683823&quot;
            },
            &quot;links&quot;: {
                &quot;self&quot;: &quot;https://glue.mysprykershop.com/customers/DE--21&quot;
            }
        }
    ],
    &quot;links&quot;: {
        &quot;self&quot;: &quot;http://glue.mysprykershop.com/customers&quot;
    }
}
```

&lt;/details&gt;

{% include /pbc/all/glue-api-guides/latest/customers-response-attributes.md %} &lt;!-- To edit, see _includes/pbc/all/glue-api-guides/latest/customers-response-attributes.md --&gt;

## Retrieve a customer

To retrieve information about a customer, send the request:

---
`GET` **/customers/*{% raw %}{{{% endraw %}customerReference{% raw %}}}{% endraw %}***

---

| PATH PARAMETER| DESCRIPTION |
| --- | --- |
| ***{% raw %}{{{% endraw %}customerReference{% raw %}}}{% endraw %}*** | Unique identifier of the customer to get information for. This parameter is returned as the `id` attribute when [creating a customer](/docs/pbc/all/identity-access-management/latest/manage-using-glue-api/glue-api-create-customers.html#create-a-customer).  |


### Request

| HEADER KEY | HEADER VALUE | REQUIRED | DESCRIPTION |
| --- | --- | --- | --- |
| Authorization | string | &amp;check; | Alphanumeric string that authorizes the customer to send requests to protected resources. Get it by [authenticating as a customer](/docs/pbc/all/identity-access-management/latest/manage-using-glue-api/glue-api-authenticate-as-a-customer.html).  |

Request sample: Retrieve a customer

`GET http://glue.mysprykershop.com/customers/DE-25`


### Response

&lt;details&gt;&lt;summary&gt;Response sample: retrieve a customer&lt;/summary&gt;

```json
{
		&quot;data&quot;: {
			&quot;type&quot;: &quot;customers&quot;,
			&quot;id&quot;: &quot;DE--25&quot;,
			&quot;attributes&quot;: {
				&quot;firstName&quot;: &quot;John&quot;,
				&quot;lastName&quot;: &quot;Doe&quot;,
				&quot;gender&quot;: null,
				&quot;dateOfBirth&quot;: null,
				&quot;salutation&quot;: &quot;Mr&quot;,
				&quot;createdAt&quot;: &quot;2018-11-06 08:15:02.694668&quot;,
				&quot;updatedAt&quot;: &quot;2018-11-06 08:15:02.694668&quot;
			},
			&quot;links&quot;: {
				&quot;self&quot;: &quot;http://glue.mysprykershop.com/customers/DE--25&quot;
			}
		}
	}
```

&lt;/details&gt;

{% include /pbc/all/glue-api-guides/latest/customers-response-attributes.md %} &lt;!-- To edit, see _includes/pbc/all/glue-api-guides/latest/customers-response-attributes.md --&gt;


## Edit a customer

To edit a customer account, send the request:

---
`PATCH` **/customers/*{% raw %}{{{% endraw %}customerReference{% raw %}}}{% endraw %}***

---

| PATH PARAMETER | DESCRIPTION |
| --- | --- |
| ***{% raw %}{{{% endraw %}customerReference{% raw %}}}{% endraw %}*** | Unique identifier of the customer to edit. This parameter is returned as the `id` attribute when [creating a customer](/docs/pbc/all/identity-access-management/latest/manage-using-glue-api/glue-api-create-customers.html#create-a-customer). If you&apos;ve already created a customer, [retrieve customers](#retrieve-customers) to get it.  |

### Request

| HEADER KEY | HEADER VALUE | REQUIRED | DESCRIPTION |
| --- | --- | --- | --- |
| Authorization | string | &amp;check; | Alphanumeric string that authorizes the customer which you want to edit. Get it by [authenticating as a customer](/docs/pbc/all/identity-access-management/latest/manage-using-glue-api/glue-api-authenticate-as-a-customer.html).  |

Request sample: edit a customer

`PATCH http://glue.mysprykershop.com/customers/DE-25`

```json
{
		&quot;data&quot; : {
			&quot;type&quot;: &quot;customers&quot;
			&quot;attributes&quot;: {
					&quot;lastName&quot;: &quot;Johnson&quot;,
					&quot;email&quot;: &quot;sonia@acme.com&quot;,
				}
		}
	}

```

### Response

&lt;details&gt;&lt;summary&gt;Response sample: edit a customer&lt;/summary&gt;

```json
{
		&quot;data&quot;: {
			&quot;type&quot;: &quot;customers&quot;,
			&quot;id&quot;: &quot;DE--25&quot;,
			&quot;attributes&quot;: {
				&quot;firstName&quot;: null,
				&quot;lastName&quot;: &quot;Johnson&quot;,
				&quot;salutation&quot;: null,
				&quot;email&quot;: &quot;sonia@acme.com&quot;
			},
			&quot;links&quot;: {
				&quot;self&quot;: &quot;http://mysprykershop.com/customers/DE--25&quot;
			}
		}
	}
```

&lt;/details&gt;

{% include /pbc/all/glue-api-guides/latest/customers-response-attributes.md %} &lt;!-- To edit, see _includes/pbc/all/glue-api-guides/latest/customers-response-attributes.md --&gt;



## Anonymize a customer

To anonymize a customer, send the request:

---
`DELETE` **/customers/*{% raw %}{{{% endraw %}customerReference{% raw %}}}{% endraw %}***

---

| PATH PARAMETER | DESCRIPTION |
| --- | --- |
| ***{% raw %}{{{% endraw %}customerReference{% raw %}}}{% endraw %}*** | Unique identifier of the customer to anonimyze. This parameter is returned as the `id` attribute when [creating a customer](/docs/pbc/all/identity-access-management/latest/manage-using-glue-api/glue-api-create-customers.html#create-a-customer). If you&apos;ve already created a customer, [retrieve customers](#retrieve-customers) to get it.  |

### Request

| HEADER KEY | HEADER VALUE | REQUIRED | DESCRIPTION |
| --- | --- | --- | --- |
| Authorization | string | &amp;check; | Alphanumeric string that authorizes the customer which you want to anonymize. Get it by [authenticating as a customer](/docs/pbc/all/identity-access-management/latest/manage-using-glue-api/glue-api-authenticate-as-a-customer.html).  |

Request sample: anonymize a customer

`DELETE http://mysprykershop.com/customers/DE-25`

### Response

If the customer is anonymized successfully, the endpoint returns the `204 No Content` status code.

## Retrieve subscriptions to availability notifications

To retrieve subscriptions to availability notifications, send the request:

---
`GET` **/customers/*{% raw %}{{{% endraw %}customerReference{% raw %}}}{% endraw %}*/availability-notifications**

---

| PATH PARAMETER | DESCRIPTION |
|-|-|
| ***{% raw %}{{{% endraw %}customerReference{% raw %}}}{% endraw %}*** | Unique identifier of the customer to retrieve the subscriptions of. This parameter is returned as the id attribute when creating a customer or retrieving a customer. |

| HEADER KEY | HEADER VALUE | REQUIRED | DESCRIPTION |
|-|-|-|-|
| Authorization | string | &amp;check; | Alphanumeric string that authorizes the customer or company user to send requests to protected resources. Get it by [authenticating as a customer](/docs/pbc/all/identity-access-management/latest/manage-using-glue-api/glue-api-authenticate-as-a-customer.html). |

### Request

Request sample: retrieve subscriptions to availability notifications

`GET https://glue.mysprykershop.com/customers/DE--21/availability-notifications`

### Response

&lt;details&gt;&lt;summary&gt;Response sample: retrieve subscriptions to availability notifications&lt;/summary&gt;

```json
{
    &quot;data&quot;: [
        {
            &quot;type&quot;: &quot;availability-notifications&quot;,
            &quot;id&quot;: &quot;d634981b8d1930f7db6e2780b7d5600a&quot;,
            &quot;attributes&quot;: {
                &quot;localeName&quot;: &quot;en_US&quot;,
                &quot;email&quot;: &quot;sonia@acme.com&quot;,
                &quot;sku&quot;: &quot;190_25111746&quot;
            },
            &quot;links&quot;: {
                &quot;self&quot;: &quot;https://glue.69.demo-spryker.com:80/availability-notifications/d634981b8d1930f7db6e2780b7d5600a&quot;
            }
        }
    ],
    &quot;links&quot;: {
        &quot;self&quot;: &quot;https://glue.69.demo-spryker.com:80/customers/DE--21/availability-notifications&quot;
    }
}
```

&lt;/details&gt;

| ATTRIBUTE | TYPE | DESCRIPTION |
|-|-|-|
| localeName | string | Locale of the subscribed customer. |
| email | string | Customer email where the product availability email notifications are sent to. |
| sku | string | SKU of the product the user receives notifications about. |

## Other management options

There is an alternative way to retrieve existing subscriptions, for details see [Retrieve subscriptions to availability notifications](/docs/pbc/all/warehouse-management-system/latest/base-shop/manage-using-glue-api/glue-api-retrieve-subscriptions-to-availability-notifications.html).

## Possible errors

| CODE | REASON |
| --- | --- |
| 001 | Access token is invalid. |
| 002 | Access token is missing. |
| 400 | Customer with the same email address already exists. |
| 402 | Customer with the specified ID was not found. |
| 405 | Customer reference is missing. |
| 406 | New password and password confirmation do not match. |
| 410 | Failed to save changes. |
| 414 | Provided gender is invalid. |
| 420 | The password character set is invalid. |
| 422 | `newPassword` and `confirmPassword` values are not identic. |
| 802 | Request is unauthorized. |
| 901 | Indicates one of the following reasons:&lt;ul&gt;&lt;li&gt;Terms of service were not accepted. Note that if you don&apos;t have the [REST Request Format](/docs/integrations/spryker-glue-api/storefront-api/developing-apis/validate-rest-request-format.html) validation enabled, then you will recieve the `422` status code instead of the `901` error code.&lt;/li&gt;&lt;li&gt; `newPassword` and `confirmPassword` are not specified.&lt;/li&gt;&lt;li&gt;Password length is invalid (it should be from 8 to 64 characters).&lt;/li&gt;&lt;/ul&gt; |
| 4606 | Request is unauthorized.|


To view generic errors that originate from the Glue Application, see [Reference information: GlueApplication errors](/docs/integrations/spryker-glue-api/storefront-api/api-references/reference-information-storefront-application-errors.html).

## Next steps

- [Authenticate as a customer](/docs/pbc/all/identity-access-management/latest/manage-using-glue-api/glue-api-manage-customer-passwords.html)
- [Manage customer passwords](/docs/pbc/all/identity-access-management/latest/manage-using-glue-api/glue-api-manage-customer-passwords.html)
</description>
            <pubDate>Thu, 14 May 2026 07:42:41 +0000</pubDate>
            <link>https://docs.spryker.com/docs/pbc/all/customer-relationship-management/latest/base-shop/manage-using-glue-api/customers/glue-api-manage-customers.html</link>
            <guid isPermaLink="true">https://docs.spryker.com/docs/pbc/all/customer-relationship-management/latest/base-shop/manage-using-glue-api/customers/glue-api-manage-customers.html</guid>
            
            
        </item>
        
        <item>
            <title>Glue API: Manage customer passwords</title>
            <description>The endpoints in this document allows you to manage customer passwords. You can change or reset a password.

## Installation

For details on the modules that provide the API functionality and how to install them, see [Glue API: Customer Access Feature Integration](/docs/pbc/all/identity-access-management/latest/install-and-upgrade/install-the-customer-account-management-glue-api.html).


## Change a customer&apos;s password

To change a customer&apos;s password, send the request:

---
`PATCH` **/customer-password/*{% raw %}{{{% endraw %}customerReference{% raw %}}}{% endraw %}***

---

| PATH PARAMETER | DESCRIPTION |
| --- | --- |
| ***{% raw %}{{{% endraw %}customerReference{% raw %}}}{% endraw %}*** | Customer reference that identifies the customer you want to update the password for. Should be the reference of customer the current access token is generated for. |

---

### Request

| HEADER KEY | HEADER VALUE | REQUIRED | DESCRIPTION |
| --- | --- | --- | --- |
| Authorization | string | &amp;check; | Alphanumeric string that authenticates the customer you want to change the password of. Get it by [authenticating as a customer](/docs/pbc/all/identity-access-management/latest/manage-using-glue-api/glue-api-authenticate-as-a-customer.html). |


Request sample: change a customer&apos;s password

`PATCH http://glue.mysprykershop.com/customer-password/DE--21`

```json
{
    &quot;data&quot;: {
        &quot;type&quot;: &quot;customer-password&quot;,
        &quot;id&quot;: &quot;DE--21&quot;,
        &quot;attributes&quot;: {
            &quot;password&quot;: &quot;change123&quot;,
            &quot;newPassword&quot;: &quot;321egnahc&quot;,
            &quot;confirmPassword&quot;: &quot;321egnahc&quot;
        }
    }
}
```

| ATTRIBUTE | TYPE | REQUIRED | DESCRIPTION |
| --- | --- | --- | --- |
| password | String | &amp;check; | Specifies old password of a customer. |
| newPassword | String | &amp;check; | Specifies the new password. |
| confirmPassword | String | &amp;check; | Specifies password confirmation for password change. |

### Response

If password is changed successfully, the endpoint returns the `204 No Content` status code.

## Reset a customer&apos;s password

To reset a customer&apos;s password, you need to send several requests to different endpoints. To do that, follow the procedure below.

### 1. Request a password reset key

To request a password reset key, send the request:

---
`POST` **/customer-forgotten-password**

---

#### Request

Request sample: request a password reset key

`POST https://glue.mysprykershop.com/customer-forgotten-password`

```json
{
  &quot;data&quot;: {
    &quot;type&quot;: &quot;customer-forgotten-password&quot;,
    &quot;attributes&quot;: {
        &quot;email&quot;:&quot;sonia@acme.com&quot;
    }
  }
}
```

#### Response

If the request is successful, the endpoint returns the `204 No Content` status code and the key is sent to the customer&apos;s email address.

### 2. Set a new password

To set a new password, send the request:

---
`PATCH` **/customer-restore-password/*{% raw %}{{{% endraw %}restorePasswordKey{% raw %}}}{% endraw %}***

---

| PATH PARAMETER | DESCRIPTION |
| --- | --- |
| ***{% raw %}{{{% endraw %}restorePasswordKey{% raw %}}}{% endraw %}*** | This key can be any value, and does not have to be equal to `data.attributes.restorePasswordKey`. `data.attributes.restorePasswordKey` will be used for any operations with the customer&apos;s password. |

---

#### Request

Request sample: set a new password

`PATCH https://glue.mysprykershop.com/customer-restore-password/98ffa3ecccac2b7f0815e0417784cd54`

```json
{
  &quot;data&quot;: {
    &quot;type&quot;: &quot;customer-restore-password&quot;,
    &quot;id&quot;: &quot;98ffa3ecccac2b7f0815e0417784cd54&quot;,
    &quot;attributes&quot;: {
        &quot;restorePasswordKey&quot;: &quot;98ffa3ecccac2b7f0815e0417784cd54&quot;,
        &quot;password&quot;: &quot;wwfh234fr943434cf&quot;,
        &quot;confirmPassword&quot;: &quot;wwfh234fr943434cf&quot;
    }
  }
}
```

| ATTRIBUTE | TYPE | REQUIRED | DESCRIPTION |
| --- | --- | --- | --- |
| restorePasswordKey | String | &amp;check; | Unique  the Password Reset Key provided in the email sent to the customer. |
| password | String | &amp;check; | Specifies the password to set. |
| passwordConfirmation | String | &amp;check; | Specifies a password confirmation for password change. |

#### Response

If the password reset is successful, the endpoint returns the `204 No Content` status code.

## Possible errors

| CODE | REASON |
| --- | --- |
| 002 | Access token is missing. |
| 404 | Customer with the specified ID is not found.  |
| 406 | New password and password confirmation do not match. |
| 407 | Password change failed. |
| 408 | Old password is invalid.|
| 411 | Unauthorized request. |
| 415 | Password Reset Key is invalid. |
| 420 | The password character set is invalid.  |
| 422 | `newPassword` and `confirmPassword` values are not identical.  |
| 901 | `newPassword` and `confirmPassword` are not specified; or the password length is invalid (it should be from 8 to 64 characters). |

To view generic errors that originate from the Glue Application, see [Reference information: GlueApplication errors](/docs/integrations/spryker-glue-api/storefront-api/api-references/reference-information-storefront-application-errors.html).

## Next steps

[Authenticate as a customer](/docs/pbc/all/identity-access-management/latest/manage-using-glue-api/glue-api-manage-customer-passwords.html)
</description>
            <pubDate>Thu, 14 May 2026 07:42:41 +0000</pubDate>
            <link>https://docs.spryker.com/docs/pbc/all/identity-access-management/latest/manage-using-glue-api/glue-api-manage-customer-passwords.html</link>
            <guid isPermaLink="true">https://docs.spryker.com/docs/pbc/all/identity-access-management/latest/manage-using-glue-api/glue-api-manage-customer-passwords.html</guid>
            
            
        </item>
        
        <item>
            <title>Glue API: Manage customer authentication tokens via OAuth 2.0</title>
            <description>This endpoint allows authenticating as a customer and refreshing customer authentication tokens via OAuth 2.0.

## Installation

For detailed information on the modules that provide the API functionality and related installation instructions, see [GLUE: Customer Account Management feature integration](/docs/pbc/all/identity-access-management/latest/install-and-upgrade/install-the-customer-account-management-glue-api.html).

## Authenticate as a customer

To authenticate as a customer, send the request:

---
`POST` **/token**

---

### Request

| HEADER KEY | HEADER VALUE | REQUIRED | DESCRIPTION |
|-|-|-|-|
| Content-Type | application/x-www-form-urlencoded | &amp;check; | `x-www-form-urlencoded` is a URL encoded form. This is the default value if the encrypted attribute is not set to anything. The keys and values are encoded in key-value tuples separated by `&amp;`, with a `=` between the key and the value. Non-alphanumeric characters in both keys and values are percent encoded. |

&lt;details&gt;&lt;summary&gt;Request sample: authenticate as a customer&lt;/summary&gt;

| REQUEST BODY KEY | VALUE |
|-|-|
| grant_type | password |
| username | sonia@acme.com |
| password | change123 |

&lt;/details&gt;

| ATTRIBUTE | TYPE | REQUIRED | DESCRIPTION |
|-|-|-|-|
| grant_type | password | &amp;check; | Method through which the application can gain Access Tokens and by which you grant limited access to the resources to another entity without exposing credentials. |
| username | String | &amp;check; | Customer&apos;s username. You define it when [creating a customer](/docs/pbc/all/identity-access-management/latest/manage-using-glue-api/glue-api-create-customers.html#create-a-customer). |
| password | String | &amp;check; | Customer&apos;s password. You define it when [creating a customer](/docs/pbc/all/identity-access-management/latest/manage-using-glue-api/glue-api-create-customers.html#create-a-customer). |

### Response

&lt;details&gt;&lt;summary&gt;Response sample: authenticate as a customer&lt;/summary&gt;

```json
{
    &quot;access_token&quot;: &quot;eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiJmcm9udGVuZCIsImp0aSI6IjE5YWZmNDI4NzA0M2UxMGNjODc3MGM4ZjBkYTkwOTEwOWExYWQzMjdhNWM3MTY2ZjJjYzhhOGZkNDFjYzliM2ZmZGJjOWRmNjE0ZjRhZTUzIiwiaWF0IjoxNjE1MzcyOTI2LCJuYmYiOjE2MTUzNzI5MjYsImV4cCI6MTYxNTQwMTcyNiwic3ViIjoie1wiaWRfY29tcGFueV91c2VyXCI6XCJlYmY0YjU1YS1jYWIwLTVlZDAtOGZiNy01MjVhM2VlZWRlYWNcIixcImlkX2FnZW50XCI6bnVsbCxcImN1c3RvbWVyX3JlZmVyZW5jZVwiOlwiREUtLTIxXCIsXCJpZF9jdXN0b21lclwiOjIxLFwicGVybWlzc2lvbnNcIjp7XCJwZXJtaXNzaW9uc1wiOlt7XCJpZF9wZXJtaXNzaW9uXCI6MSxcImtleVwiOlwiUmVhZFNoYXJlZENhcnRQZXJtaXNzaW9uUGx1Z2luXCIsXCJjb25maWd1cmF0aW9uXCI6e1wiaWRfcXVvdGVfY29sbGVjdGlvblwiOlsyOCwyNywyNSwyNCwyMywyMiwyMV19LFwiY29uZmlndXJhdGlvbl9zaWduYXR1cmVcIjpcIltdXCIsXCJpZF9jb21wYW55X3JvbGVcIjpudWxsLFwiaXNfaW5mcmFzdHJ1Y3R1cmFsXCI6bnVsbH0se1wiaWRfcGVybWlzc2lvblwiOjIsXCJrZXlcIjpcIldyaXRlU2hhcmVkQ2FydFBlcm1pc3Npb25QbHVnaW5cIixcImNvbmZpZ3VyYXRpb25cIjp7XCJpZF9xdW90ZV9jb2xsZWN0aW9uXCI6WzI4LDI3LDI1LDI0LDIzLDIyLDIxXX0sXCJjb25maWd1cmF0aW9uX3NpZ25hdHVyZVwiOlwiW11cIixcImlkX2NvbXBhbnlfcm9sZVwiOm51bGwsXCJpc19pbmZyYXN0cnVjdHVyYWxcIjpudWxsfSx7XCJpZF9wZXJtaXNzaW9uXCI6bnVsbCxcImtleVwiOlwiUmVhZFNob3BwaW5nTGlzdFBlcm1pc3Npb25QbHVnaW5cIixcImNvbmZpZ3VyYXRpb25cIjp7XCJpZF9zaG9wcGluZ19saXN0X2NvbGxlY3Rpb25cIjp7XCIwXCI6MSxcIjJcIjoyLFwiM1wiOjN9fSxcImNvbmZpZ3VyYXRpb25fc2lnbmF0dXJlXCI6W10sXCJpZF9jb21wYW55X3JvbGVcIjpudWxsLFwiaXNfaW5mcmFzdHJ1Y3R1cmFsXCI6bnVsbH0se1wiaWRfcGVybWlzc2lvblwiOm51bGwsXCJrZXlcIjpcIldyaXRlU2hvcHBpbmdMaXN0UGVybWlzc2lvblBsdWdpblwiLFwiY29uZmlndXJhdGlvblwiOntcImlkX3Nob3BwaW5nX2xpc3RfY29sbGVjdGlvblwiOntcIjBcIjoxLFwiMlwiOjIsXCIzXCI6M319LFwiY29uZmlndXJhdGlvbl9zaWduYXR1cmVcIjpbXSxcImlkX2NvbXBhbnlfcm9sZVwiOm51bGwsXCJpc19pbmZyYXN0cnVjdHVyYWxcIjpudWxsfV19fSIsInNjb3BlcyI6WyJjdXN0b21lciJdfQ.MORe796POXfe4_VyQQoW-Aa9b9VpWrhQK3tBK-0Y463pg9yhoDRVG1izyqFkN6BHcucAVhV-xRvV-qPohJUhy92pLptFZMz3vxLtiE0EDRq2DrDFKh-O7f7rJgp7axIVXju5V0IxudEaj0Tz9XrKigWSPJ1kmIuSI8eQfmttSm5lw2YM8u22Y4p4pdN3Zhn4vz9r5w0CuwhcXKl8G1x_aK_PCTRa8OgX6VpPACZEidxr6suc5novyovaATV0lUqnIia0_DbsA0h1Pafu-WZnTpP_OhheqOI5k1Oq11Q8-ZvrG8vlLGg4JzGzMyXNe80uD1RNttqGn1HqsgOZfxTZGg&quot;,
    &quot;token_type&quot;: &quot;Bearer&quot;,
    &quot;expires_in&quot;: 28800,
    &quot;refresh_token&quot;: &quot;def502009ca20f366fa7340f40e3c4c7246557d03b9d098301f8aa4289d7467690ff11db19a8151f3b475c4026fcecf94149b5acb51b964416f17e7f9c5dc6dfbc1c75a89d3b99234de175d3d78fa2650f1f07a7281856762189ac72f721a278cc020ffcf1335beccca4d36841ee32666c80b8ce21578a987867ad4e4cff268c9d70640a9c6fc6fd689a9b487bc131984f75ccbd473a451755e0bef6ad99fbf131c851f5b18e3a64f22cf8ded63acca1f60e31a048c30f5e18c1eca28bcad3c50ca07a2dc9afb66a4fb65c3e8f13e802578d3d29462da73c9bfc0aea153032ed2d49a9ee99231fbad475a3d76e387ebe430679bee32f0175905ffc18c4cfbe52375dfde14766eb19be76a3f2f193e48c55221f942b273d9b7a76df66291157c2f72a2cd8cc10c7d01b7b5e5084f478f32ee73e81dc2111907ef37b03dc4b1aa217552d9bfc31b2f3bf80769cc78e58aa29ac8cf5edf77e8ec913f85bbbb8714e9f93527043150cc1ed425ddae5bb191d6aa44a7335c03f1050feb70ed8577cbfb649f84db9cd5ca8651c20122da9a4989fe60cf7443af6eee87d7deb5f9a5655c5b6505ff5f63c599fc77e3586902074a35b8a814fbaacaa4417d4864c60fb1b97297ddccdd35570bcf97dd74434563bb6eedf1beacb93006292a491781d688c4a0c6edb4c9e15f997b774c68d487424e66f8b718c216b8a3d982e1418fb68a87a5f8fae5901b181521c1b7c7f14842b80bb7e3d135b71adb8d7cf2ebbd01412a2c9a4812e3928bfbde2e78909f5c1f943f05a64d52357d9e42692992d3ce4fdec049078b859e58980723bb5c338b10712073d5531a29ba593c173f9840abfc0ecb1380b115e8e18c2cbd28087e445ee2a7cabf680c6e1b7bef83612f29adfcd21eec4bbd83cb49fbfb2bdb887c4afd155d927798d248e53cab6ae258b3a5c9b904a57c822b8007b0583bff7fc57b040300934aaeac959d6551607d2d1f6980a9eea933d6033c639968040cb2e09f1ff0d160f55df15811d085d2635f434bef2987c94d70b4fe39894ab725042c2d4e7a1e315665af62ac76ff079a37b44fcca688467323d954e56c34539db9f67dbc91e90fbb91892721d4caa296bf35eb49de5e298e9708807f734655484d8aec56b5b25c96b8792f6250c5c14c901b94f6056693462d11bca8d3855ed62704325cc1c44d2875f3af5075212135d6343f40ef59d62ba39705b14f9fb51a9725c7f865b8474702d9a0d4671030de6c17aaf27e2c4552e7f23a0db25f7ad23300159273b0dd8e2887b2eb7f8e3fd6e969e2356c03a54c43677c492173f049b186b40f8af48b857be723b738e068fe683feae78913a70d1e8ec04601794eac71b388d9ee8fc41ad9f91001ddfc6efcd2f2203fe9618ea992865b13358dee95d1893bb748fe0d64c7ccd3aae1cb5ca86bc8f8ee13a8f7a02988f1e2d14dd6b060654b80b46335b6d26a84af1aeace63a6f904cfefabc5132b6c053d00af3398bcbe3ca050145715f0a12686d532fa6294bcc39d6d78456df2272347437d016839dbb3807ecd46d89c395e7ac075ba6675bcd8be444cb398d7e642f7bc4b413ba55596dd7f65d8005e89013f4df36f699eae1e03cad7201b077b3d5e95a3cf1a28edb69aafc371ac5dae57da53d43b3b5afe0dbcd1820662f05d225ab4449700c0b800fb52fcb853e74bed4f9c8c65ea2765722cede3a57a1749e74d62b90265a0445f850433c01ab805080c727c6ce620a00a161228c5d5cc8011dc775d50aae4015d5255aa7bec4abd53a68508c3961f2e03b6d461ad442a09329b57a3d501c2ddf6482ca631973727c01e8c23e08916af1f7153c43df907f8dc9bdcaecb9a93d79bcff05645fdacbb6df911112d916e99e2025f0d3f89cfbcb2cd327dbc6643c0dd078dda6a3473ba21a0ccfb8aa515fd812f7416cf6244b2034607f8ad8d77000f29c1b20a3040bbb5e6712c7a53b8b19868ea999422250a38b4cfe96217c800703797c05ea063d08c204c6d4b58d4708241a41b5cfde5554&quot;
}
```

&lt;/details&gt;

| ATTRIBUTE | TYPE | DESCRIPTION |
|-|-|-|
| access_token | String | Authentication token used to send requests to the protected resources available for this customer. |
| token_type | String | Type of the authentication token. Set this type when sending a request with the token. |
| expires_in | Integer | Time in seconds in which the `access_token` token expires. |
| refresh_token | String | Authentication token used to refresh `access_token`. |

### Refresh an authentication token

To refresh an authentication token, send the request:

---
`POST` **/token**

---

### Request

| HEADER KEY | HEADER VALUE | REQUIRED | DESCRIPTION |
|-|-|-|-|
| Content-Type | x-www-form-urlencoded | &amp;check; | `x-www-form-urlencoded` represents a URL encoded form. This is the default value if the encrypted attribute is not set to anything. The keys and values are encoded in key-value tuples separated by `&amp;`, with a `=` between the key and the value. Non-alphanumeric characters in both keys and values are percent encoded. |

&lt;details&gt;&lt;summary&gt;Request sample: refresh an authentication token&lt;/summary&gt;

| REQUEST BODY KEY | VALUE |
|-|-|
| grant_type | refresh_token |
| refresh_token | `def50200ef59d199dfbae496fcb5bfc942377da65539e02fd0543e57b5084ac578b3146868bdaf2e5170bdb974e9cf7a431c17e000f0db564beefa89497b1cb1514dc516264eb79c0ebca240815791b075d4a950fa34e3b0fbabac7324663ce37999c206aca5faab7cd673a7f17fceb2ef10a7e11ddc1af7e22f21741cf16f789cb604da205332f813c2dd4cd3d57f6a8839bd5cd955dd068b71fab3cd2a1b591c57367217f9dcf48bbad79a28c424aa746b57940cb5f248d5d99244046921dc9c8be8aa6213d8bda2b7f9346c0ff318920c5a767d50a80e633506bf9328cda2506ba6339a300d8310d9cbbd2e4f86aa1b166023e6a84fa6360dcbb898cfbb8f65fc02710fef69ec5f3c2d133d97986488d6bde8321c166d6963a39bde3a9cdbf748995a9a3e79657bcf6fd76e90372ea3486fc023e53ab21f8034049073044be591f57dd3a980c3d69777a2f564a6418540d52f38777d9d17aa24fc83a11880e9f2510950b7b589737b421f077c69c4c40d5e5644e01a7da016df8fed447e62e3db3710ae229391b92aafa7c123204854e1e2f2c49411084eab25deab14615da3d118fe32e72c76b746a845cf7fbc156f64363e4d0c4e8d1a9941f7be5fb80ddd62c2eb6f29564792c0f6ee8db97be653c91687ce2a5bc74edee0472c8416bb446fc3ee7a1a37f7b13ca161a6c61bdb1b42df8b8bd0f3d7d788573ff37fe7de360c123eb4c737d65d5a4f8d02584d1fb6f74e27f05a40f8d18f745ffad1c3fc9e0879abd8e7ef0365b4efa85c6cb2603acf5a04e0630d82895e990180b5957780e93c48aaaf13341f7c485a479f50d5c505478ed3e50967fa0e25e3c3eb5e6199bd180d1d04fa98a318870dc492d190d546ea39648f11ba2a35f4d61d2eea8a4f3f28fc3cde19056194d2d722cb78ef9d8180917a7f887b50083c5b04f93de87c53c6912681f46153bfe90050eaad1ce2f169f03eee2fcdc48e736c63cff74c066def47acf41c4d90a142fa9282e17584abe5ad60abf2aee235b77d4fad2707be75653fc43013a5d0b8b812aa75cd1ffbc1b06b9cfe4d38c896f26049b3607a62f15da685a93d25fcc94ce693de793f9103ccd644f3a9b138d994951cc44fcbc17a2c7a8ec611441d3a8327213e03d2101a0602276b864ada2ef6e9620507ed82a7c9bcdf98abc821b9c4146a6ff20f0ea35771caa17fd515d4220975408138312a9ebff7d895476537f0b0c3329da6af3669767feddbdfe9b989a38be8e3b74507a8951236b2fd465886e7d23503d953d0f476ab269107c14f0306791ae6b0dc048d5c3d0e6433da70519298b66d265175e940e99da76d3410fa1d4db426e613b99e023cc0bd14130bdd77025250690fec407f94e823722443679a98a54c5082a705e61f317ac9199efaa26726e08245e40d80b22053ae74c2b84c8dbd0e707badb1f188e506839628bc02d96bf6526841f126c1c27d1a264fdb10d8fef957f95c71ecea09f0f5bea92f19543e8216703a72897ee123244cf4cedd74ee0694d4758ea86f7d42ea372dbe622af9939b57509662db0ca558aa7c6b586dd8047891c434eac7b9c77c298b20c569dd3b3baca84f0f98ca9dd040ff2285bdb954c8679f2c912558b5e51888d333ed9880281112e39c5acf7181598c68dbbe051b27ef61e5edd897748f7d42d0157070adb9ebb9237c416261be9e94ffe65e679e110dd71c5fc284e4f964d2b8d8e8e3624324c453dc94879f39502edf829e42520171fc4c76a311f43ad2a303ab8e093f11ff36a3f555f41cf61183e30d53ec2a29b9b885e068bb9bd7f14624338dd9f8290e07ae803640a4a828e03d5a1a3387982d12d5234506a2961d75a7f6692986b45f0e810130bbf16599894242980e9900a47e8312983295bf0b04e390dde861ca28c6371cf7b828abe084fb2d0df74df1dd87270cd92ce4bedf841bd6907c61fc281920e6cbce543ce796728565ff15ba8e41854ed0b04fdb612a016a568554760d3e732e24874325bd0ac1fa195cda0f12f6d07e8385` |

&lt;/details&gt;

| ATTRIBUTE | TYPE | REQUIRED | DESCRIPTION |
|-|-|-|-|
| grant_type | refresh_token | &amp;check; | Method through which an application can gain access tokens and by which you grant limited access to your resources to another entity without exposing credentials. The default value for this request is `refresh_token`. |
| refresh_token | string | &amp;check; | Authentication token to refresh `access_token`. You can get it by authenticating as a customer. |


### Response

&lt;details&gt;&lt;summary&gt;Response sample: refresh an authentication token&lt;/summary&gt;

```json
{
  &quot;access_token&quot;: &quot;eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiJmcm9udGVuZCIsImp0aSI6ImQ4NGJlZWFlNmJjOWRlNWQwMTY2Y2VkYTdiMWM4YjdhYjE1MmJjM2YwMzA2MTdkOGE3NzRiMTgyMzllM2UxZWZiMWQ0MGY2OGMxOTI0NTc5IiwiaWF0IjoxNjE1Mzg1OTIwLCJuYmYiOjE2MTUzODU5MjAsImV4cCI6MTYxNTQxNDcyMCwic3ViIjoie1wiaWRfY29tcGFueV91c2VyXCI6XCJlYmY0YjU1YS1jYWIwLTVlZDAtOGZiNy01MjVhM2VlZWRlYWNcIixcImlkX2FnZW50XCI6bnVsbCxcImN1c3RvbWVyX3JlZmVyZW5jZVwiOlwiREUtLTIxXCIsXCJpZF9jdXN0b21lclwiOjIxLFwicGVybWlzc2lvbnNcIjp7XCJwZXJtaXNzaW9uc1wiOlt7XCJpZF9wZXJtaXNzaW9uXCI6MSxcImtleVwiOlwiUmVhZFNoYXJlZENhcnRQZXJtaXNzaW9uUGx1Z2luXCIsXCJjb25maWd1cmF0aW9uXCI6e1wiaWRfcXVvdGVfY29sbGVjdGlvblwiOlsyOCwyNywyNSwyNCwyMywyMiwyMV19LFwiY29uZmlndXJhdGlvbl9zaWduYXR1cmVcIjpcIltdXCIsXCJpZF9jb21wYW55X3JvbGVcIjpudWxsLFwiaXNfaW5mcmFzdHJ1Y3R1cmFsXCI6bnVsbH0se1wiaWRfcGVybWlzc2lvblwiOjIsXCJrZXlcIjpcIldyaXRlU2hhcmVkQ2FydFBlcm1pc3Npb25QbHVnaW5cIixcImNvbmZpZ3VyYXRpb25cIjp7XCJpZF9xdW90ZV9jb2xsZWN0aW9uXCI6WzI4LDI3LDI1LDI0LDIzLDIyLDIxXX0sXCJjb25maWd1cmF0aW9uX3NpZ25hdHVyZVwiOlwiW11cIixcImlkX2NvbXBhbnlfcm9sZVwiOm51bGwsXCJpc19pbmZyYXN0cnVjdHVyYWxcIjpudWxsfSx7XCJpZF9wZXJtaXNzaW9uXCI6bnVsbCxcImtleVwiOlwiUmVhZFNob3BwaW5nTGlzdFBlcm1pc3Npb25QbHVnaW5cIixcImNvbmZpZ3VyYXRpb25cIjp7XCJpZF9zaG9wcGluZ19saXN0X2NvbGxlY3Rpb25cIjp7XCIwXCI6MSxcIjJcIjoyLFwiM1wiOjN9fSxcImNvbmZpZ3VyYXRpb25fc2lnbmF0dXJlXCI6W10sXCJpZF9jb21wYW55X3JvbGVcIjpudWxsLFwiaXNfaW5mcmFzdHJ1Y3R1cmFsXCI6bnVsbH0se1wiaWRfcGVybWlzc2lvblwiOm51bGwsXCJrZXlcIjpcIldyaXRlU2hvcHBpbmdMaXN0UGVybWlzc2lvblBsdWdpblwiLFwiY29uZmlndXJhdGlvblwiOntcImlkX3Nob3BwaW5nX2xpc3RfY29sbGVjdGlvblwiOntcIjBcIjoxLFwiMlwiOjIsXCIzXCI6M319LFwiY29uZmlndXJhdGlvbl9zaWduYXR1cmVcIjpbXSxcImlkX2NvbXBhbnlfcm9sZVwiOm51bGwsXCJpc19pbmZyYXN0cnVjdHVyYWxcIjpudWxsfV19fSIsInNjb3BlcyI6WyJjdXN0b21lciJdfQ.0fL6IifEM2I2cIYA7ZodwCUaghooTgKUoxQaREPDgQzry1ZB-B5nH6HoEMfZqcIpH0rwsA1oUf-9aZn-e1Gl6CEioG9Ql8Z_Wu7rFNX1H5YCIHMcw9F9ctWuWhZKKo3tHuMdLkOLGeHcZX0lx9yk7pY9hhu740TCjPmsCC4jUvuvLrHCQUBeGlMrEFg205a3EY7kuGcV8p1gJpH6Qjk-nAUPSXIz9DWGtZVi4pMO4A4CcVBbzV280XDDSyLIRXuF7QkUcznxZ-0uDhF28e-NMFG9C6l38tscVlCgRnUzvX7D-LG-SGF0W_kOvyz-xT1geZdyytnlOIM8ffEVtQD0WQ&quot;,
    &quot;token_type&quot;: &quot;Bearer&quot;,
    &quot;expires_in&quot;: 28800,
    &quot;refresh_token&quot;: &quot;def50200ef59d199dfbae496fcb5bfc942377da65539e02fd0543e57b5084ac578b3146868bdaf2e5170bdb974e9cf7a431c17e000f0db564beefa89497b1cb1514dc516264eb79c0ebca240815791b075d4a950fa34e3b0fbabac7324663ce37999c206aca5faab7cd673a7f17fceb2ef10a7e11ddc1af7e22f21741cf16f789cb604da205332f813c2dd4cd3d57f6a8839bd5cd955dd068b71fab3cd2a1b591c57367217f9dcf48bbad79a28c424aa746b57940cb5f248d5d99244046921dc9c8be8aa6213d8bda2b7f9346c0ff318920c5a767d50a80e633506bf9328cda2506ba6339a300d8310d9cbbd2e4f86aa1b166023e6a84fa6360dcbb898cfbb8f65fc02710fef69ec5f3c2d133d97986488d6bde8321c166d6963a39bde3a9cdbf748995a9a3e79657bcf6fd76e90372ea3486fc023e53ab21f8034049073044be591f57dd3a980c3d69777a2f564a6418540d52f38777d9d17aa24fc83a11880e9f2510950b7b589737b421f077c69c4c40d5e5644e01a7da016df8fed447e62e3db3710ae229391b92aafa7c123204854e1e2f2c49411084eab25deab14615da3d118fe32e72c76b746a845cf7fbc156f64363e4d0c4e8d1a9941f7be5fb80ddd62c2eb6f29564792c0f6ee8db97be653c91687ce2a5bc74edee0472c8416bb446fc3ee7a1a37f7b13ca161a6c61bdb1b42df8b8bd0f3d7d788573ff37fe7de360c123eb4c737d65d5a4f8d02584d1fb6f74e27f05a40f8d18f745ffad1c3fc9e0879abd8e7ef0365b4efa85c6cb2603acf5a04e0630d82895e990180b5957780e93c48aaaf13341f7c485a479f50d5c505478ed3e50967fa0e25e3c3eb5e6199bd180d1d04fa98a318870dc492d190d546ea39648f11ba2a35f4d61d2eea8a4f3f28fc3cde19056194d2d722cb78ef9d8180917a7f887b50083c5b04f93de87c53c6912681f46153bfe90050eaad1ce2f169f03eee2fcdc48e736c63cff74c066def47acf41c4d90a142fa9282e17584abe5ad60abf2aee235b77d4fad2707be75653fc43013a5d0b8b812aa75cd1ffbc1b06b9cfe4d38c896f26049b3607a62f15da685a93d25fcc94ce693de793f9103ccd644f3a9b138d994951cc44fcbc17a2c7a8ec611441d3a8327213e03d2101a0602276b864ada2ef6e9620507ed82a7c9bcdf98abc821b9c4146a6ff20f0ea35771caa17fd515d4220975408138312a9ebff7d895476537f0b0c3329da6af3669767feddbdfe9b989a38be8e3b74507a8951236b2fd465886e7d23503d953d0f476ab269107c14f0306791ae6b0dc048d5c3d0e6433da70519298b66d265175e940e99da76d3410fa1d4db426e613b99e023cc0bd14130bdd77025250690fec407f94e823722443679a98a54c5082a705e61f317ac9199efaa26726e08245e40d80b22053ae74c2b84c8dbd0e707badb1f188e506839628bc02d96bf6526841f126c1c27d1a264fdb10d8fef957f95c71ecea09f0f5bea92f19543e8216703a72897ee123244cf4cedd74ee0694d4758ea86f7d42ea372dbe622af9939b57509662db0ca558aa7c6b586dd8047891c434eac7b9c77c298b20c569dd3b3baca84f0f98ca9dd040ff2285bdb954c8679f2c912558b5e51888d333ed9880281112e39c5acf7181598c68dbbe051b27ef61e5edd897748f7d42d0157070adb9ebb9237c416261be9e94ffe65e679e110dd71c5fc284e4f964d2b8d8e8e3624324c453dc94879f39502edf829e42520171fc4c76a311f43ad2a303ab8e093f11ff36a3f555f41cf61183e30d53ec2a29b9b885e068bb9bd7f14624338dd9f8290e07ae803640a4a828e03d5a1a3387982d12d5234506a2961d75a7f6692986b45f0e810130bbf16599894242980e9900a47e8312983295bf0b04e390dde861ca28c6371cf7b828abe084fb2d0df74df1dd87270cd92ce4bedf841bd6907c61fc281920e6cbce543ce796728565ff15ba8e41854ed0b04fdb612a016a568554760d3e732e24874325bd0ac1fa195cda0f12f6d07e8385&quot;
}
```

&lt;/details&gt;

| ATTRIBUTE | TYPE | DESCRIPTION |
|-|-|-|
| access_token | String | Authentication token used to send requests to the protected resources available for a customer. |
| token_type | String | Type of the authentication token. Set this type when sending a request with the token. |
| expires_in | Integer | Time in seconds in which the token expires. |
| refresh_token | String | Authentication token to refresh `access_token`. |

## Possible errors

| ERROR NAME | DESCRIPTION |
|-|-|
| invalid_request | The refresh token is invalid. |
| invalid_grant | The provided authorization grant or refresh token is invalid, expired, or revoked. The provided authorization grant or refresh token does not match the redirection URI used in the authorization request, or was issued to another client. |

To view generic errors that originate from the Glue Application, see [Reference information: GlueApplication errors](/docs/integrations/spryker-glue-api/storefront-api/api-references/reference-information-storefront-application-errors.html).
</description>
            <pubDate>Thu, 14 May 2026 07:42:41 +0000</pubDate>
            <link>https://docs.spryker.com/docs/pbc/all/identity-access-management/latest/manage-using-glue-api/glue-api-manage-customer-authentication-tokens-via-oauth-2.0.html</link>
            <guid isPermaLink="true">https://docs.spryker.com/docs/pbc/all/identity-access-management/latest/manage-using-glue-api/glue-api-manage-customer-authentication-tokens-via-oauth-2.0.html</guid>
            
            
        </item>
        
        <item>
            <title>Manage availability notifications</title>
            <description>*Availability Notification* allows registered and guest customers to subscribe to availability notifications for an unavailable product so that when the product is back in stock, they could receive a notification.

This endpoint allows managing availability notifications of registered and guest customers.

## Installation

For detailed information on the modules that provide the API functionality and related installation instructions, see [Install the Availability Notification Glue API](/docs/pbc/all/warehouse-management-system/latest/base-shop/install-and-upgrade/install-features/install-the-availability-notification-glue-api.html).

## Subscribe to availability notifications

To subscribe to availability notifications for an out-of-stock product, send the request:

---
`POST` **/availability-notifications**

---

### Request

&lt;details&gt;&lt;summary&gt;Request sample: subscribe to availability notifications
&lt;/summary&gt;

`POST https://glue.mysprykershop.com/availability-notifications`

```json
{
  &quot;data&quot;: {
    &quot;type&quot;: &quot;availability-notifications&quot;,
    &quot;attributes&quot;: {
      &quot;sku&quot;: &quot;130_24725761&quot;,
      &quot;email&quot;: &quot;sonia@acme.com&quot;
    }
  }
}
```

&lt;/details&gt;

| ATTRIBUTE | TYPE | REQUIRED | DESCRIPTION |
|-|-|-|-|
| sku | string | &amp;check; | SKU of a product to subscribe the customer to. |
| email | string | &amp;check; | Customer email where product availability notifications will be sent to. |

### Response

&lt;details&gt;&lt;summary&gt;Response sample: subscribe to availability notifications
&lt;/summary&gt;

```json
{
    &quot;data&quot;: {
        &quot;type&quot;: &quot;availability-notifications&quot;,
        &quot;id&quot;: &quot;70b47ccf1e1a2262f83fddabd19d4828&quot;,
        &quot;attributes&quot;: {
            &quot;localeName&quot;: &quot;en_US&quot;,
            &quot;email&quot;: &quot;sonia@acme.com&quot;,
            &quot;sku&quot;: &quot;130_24725761&quot;
        },
        &quot;links&quot;: {
            &quot;self&quot;: &quot;https://glue.mysprykershop.com/availability-notifications/70b47ccf1e1a2262f83fddabd19d4828&quot;
        }
    }
}
```

&lt;/details&gt;

| ATTRIBUTE | TYPE | DESCRIPTION |
|-|-|-|
| localeName | string | Locale of the subscribed customer. |
| email | string | Customer email where the product availability notifications are sent to. |
| sku | string | SKU of the product the customer receives notifications about. |

## Unsubscribe from availability notifications

To unsubscribe from availability notifications for a product, send the request:

---
`DELETE` **/availability-notifications/*{% raw %}{{{% endraw %}subscriptionKey{% raw %}}}{% endraw %}***

---

| PATH PARAMETER | DESCRIPTION |
|-|-|
| ***{% raw %}{{{% endraw %}subscriptionKey{% raw %}}}{% endraw %}*** | Subscription id that is assigned when the subscription is created. To get it as an `id` attribute, subscribe to product availability email notifications or retrieve existing subscriptions. Exampe: `&quot;id&quot;: &quot;d634981b8d1930f7db6e2780b7d5600a&quot;`. &lt;br&gt;Note that anyone who has a subscription id can delete the subscription the id is assigned to. |

### Request

Request sample: unsubscribe from availability notifications

`DELETE https://glue.mysprykershop.com/availability-notifications/05f2004950e01a056537384a405ec9a0`

### Response

If a customer&apos;s subscription is deleted successfully, the endpoint returns the `204 No Content` status code.

| CODE | REASON |
|-|-|
| 001 | Access token is invalid. |
| 002 | Access token is missing. |
| 901 | SKU or email is not provided; email is invalid. |
| 4601 | Product is not found. |
| 4602 | Subscription already exists. |
| 4603 | Subscription doesn&apos;t exist. |
| 4606 | Request is not authorized. |

To view generic errors that originate from the Glue Application, see [Reference information: GlueApplication errors](/docs/integrations/spryker-glue-api/storefront-api/api-references/reference-information-storefront-application-errors.html).
</description>
            <pubDate>Thu, 14 May 2026 07:42:41 +0000</pubDate>
            <link>https://docs.spryker.com/docs/pbc/all/warehouse-management-system/latest/base-shop/manage-using-glue-api/glue-api-manage-availability-notifications.html</link>
            <guid isPermaLink="true">https://docs.spryker.com/docs/pbc/all/warehouse-management-system/latest/base-shop/manage-using-glue-api/glue-api-manage-availability-notifications.html</guid>
            
            
        </item>
        
    </channel>
</rss>
