diff --git a/www/apps/resources/app/examples/guides/quote-management/page.mdx b/www/apps/resources/app/examples/guides/quote-management/page.mdx index df652454c3..07aeeeec5f 100644 --- a/www/apps/resources/app/examples/guides/quote-management/page.mdx +++ b/www/apps/resources/app/examples/guides/quote-management/page.mdx @@ -1836,9 +1836,9 @@ Before you create the UI route, you need to create the hooks necessary to retrie The first hook you'll add is a hook that will retrieve a quote using the API route you added in the previous step. -In `src/api/admin/hooks/quote.tsx`, add the following: +In `src/admin/hooks/quote.tsx`, add the following: -```tsx title="src/api/admin/hooks/quote.tsx" +```tsx title="src/admin/hooks/quote.tsx" // other imports... import { AdminQuoteResponse } from "../types" @@ -3395,7 +3395,7 @@ npm run dev Then, send a request to reject a quote for the authenticated customer: ```bash -curl 'http://localhost:9000/store/customers/me/quotes/{quote_id}/reject' \ +curl -X POST 'http://localhost:9000/store/customers/me/quotes/{quote_id}/reject' \ -H 'x-publishable-api-key: {your_publishable_api_key}' \ -H 'Authorization: Bearer {token}' ``` diff --git a/www/apps/resources/generated/edit-dates.mjs b/www/apps/resources/generated/edit-dates.mjs index d32b86140f..c308c35432 100644 --- a/www/apps/resources/generated/edit-dates.mjs +++ b/www/apps/resources/generated/edit-dates.mjs @@ -6021,7 +6021,7 @@ export const generatedEditDates = { "references/core_flows/types/core_flows.UpdateRequestItemReturnValidationStepInput/page.mdx": "2025-03-04T13:33:47.327Z", "references/core_flows/types/core_flows.UpdateReturnShippingMethodValidationStepInput/page.mdx": "2025-03-04T13:33:47.336Z", "references/core_flows/types/core_flows.UpdateReturnValidationStepInput/page.mdx": "2025-03-04T13:33:47.348Z", - "app/examples/guides/quote-management/page.mdx": "2025-03-11T09:58:19.490Z", + "app/examples/guides/quote-management/page.mdx": "2025-03-25T13:51:49.716Z", "references/cart/interfaces/cart.CartCreditLineDTO/page.mdx": "2025-03-04T13:33:48.207Z", "references/cart/interfaces/cart.UpdateLineItemWithoutSelectorDTO/page.mdx": "2025-03-04T13:33:48.254Z", "references/cart_models/variables/cart_models.CreditLine/page.mdx": "2025-03-04T13:33:56.876Z",