chore(docs): Updated API Reference (automated) (#11719)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com> Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
8a36bd4034
commit
6294a71296
@@ -1170,48 +1170,6 @@ get:
|
||||
type: string
|
||||
title: sales_channel_id
|
||||
description: A sales channel's ID.
|
||||
- name: fulfillment_status
|
||||
in: query
|
||||
description: Filter by the fulfillment status of the draft order.
|
||||
required: false
|
||||
schema:
|
||||
type: array
|
||||
description: Filter by the fulfillment status of the draft order.
|
||||
items:
|
||||
type: string
|
||||
title: fulfillment_status
|
||||
description: The fulfillment status's details.
|
||||
enum:
|
||||
- canceled
|
||||
- not_fulfilled
|
||||
- partially_fulfilled
|
||||
- fulfilled
|
||||
- partially_shipped
|
||||
- shipped
|
||||
- partially_delivered
|
||||
- delivered
|
||||
- name: payment_status
|
||||
in: query
|
||||
description: Filter by the payment status of the draft order.
|
||||
required: false
|
||||
schema:
|
||||
type: array
|
||||
description: Filter by the payment status of the draft order.
|
||||
items:
|
||||
type: string
|
||||
title: payment_status
|
||||
description: The payment status's details.
|
||||
enum:
|
||||
- canceled
|
||||
- not_paid
|
||||
- awaiting
|
||||
- authorized
|
||||
- partially_authorized
|
||||
- captured
|
||||
- partially_captured
|
||||
- partially_refunded
|
||||
- refunded
|
||||
- requires_action
|
||||
- name: region_id
|
||||
in: query
|
||||
description: Filter by region IDs to retrieve their associated draft orders.
|
||||
|
||||
@@ -126,46 +126,6 @@ get:
|
||||
type: string
|
||||
title: sales_channel_id
|
||||
description: A sales channel's ID.
|
||||
- name: fulfillment_status
|
||||
in: query
|
||||
description: Filter by the order's fulfillment status.
|
||||
required: false
|
||||
schema:
|
||||
type: array
|
||||
description: Filter by the order's fulfillment status.
|
||||
items:
|
||||
type: string
|
||||
description: A fulfillment status.
|
||||
enum:
|
||||
- canceled
|
||||
- not_fulfilled
|
||||
- partially_fulfilled
|
||||
- fulfilled
|
||||
- partially_shipped
|
||||
- shipped
|
||||
- partially_delivered
|
||||
- delivered
|
||||
- name: payment_status
|
||||
in: query
|
||||
description: Filter by the order's payment status.
|
||||
required: false
|
||||
schema:
|
||||
type: array
|
||||
description: Filter by the order's payment status.
|
||||
items:
|
||||
type: string
|
||||
description: A payment status
|
||||
enum:
|
||||
- canceled
|
||||
- not_paid
|
||||
- awaiting
|
||||
- authorized
|
||||
- partially_authorized
|
||||
- captured
|
||||
- partially_captured
|
||||
- partially_refunded
|
||||
- refunded
|
||||
- requires_action
|
||||
- name: region_id
|
||||
in: query
|
||||
description: Filter by region IDs to retrieve their associated orders.
|
||||
|
||||
@@ -124,46 +124,6 @@ get:
|
||||
type: string
|
||||
title: sales_channel_id
|
||||
description: A sales channel's ID.
|
||||
- name: fulfillment_status
|
||||
in: query
|
||||
description: Filter by fulfillment statuses.
|
||||
required: false
|
||||
schema:
|
||||
type: array
|
||||
description: Filter by fulfillment statuses.
|
||||
items:
|
||||
type: string
|
||||
description: A fulfillment status.
|
||||
enum:
|
||||
- canceled
|
||||
- not_fulfilled
|
||||
- partially_fulfilled
|
||||
- fulfilled
|
||||
- partially_shipped
|
||||
- shipped
|
||||
- partially_delivered
|
||||
- delivered
|
||||
- name: payment_status
|
||||
in: query
|
||||
description: Filter by payment statuses.
|
||||
required: false
|
||||
schema:
|
||||
type: array
|
||||
description: Filter by payment statuses.
|
||||
items:
|
||||
type: string
|
||||
description: A payment status.
|
||||
enum:
|
||||
- canceled
|
||||
- not_paid
|
||||
- awaiting
|
||||
- authorized
|
||||
- partially_authorized
|
||||
- captured
|
||||
- partially_captured
|
||||
- partially_refunded
|
||||
- refunded
|
||||
- requires_action
|
||||
- name: region_id
|
||||
in: query
|
||||
description: Filter by region IDs to retrieve their associated returns.
|
||||
|
||||
@@ -6,11 +6,12 @@ post:
|
||||
Reset an admin user's password using a reset-password token generated with
|
||||
the [Generate Reset Password Token API
|
||||
route](https://docs.medusajs.com/api/admin#auth_postactor_typeauth_providerresetpassword).
|
||||
You pass the token as a bearer token in the request's Authorization header.
|
||||
externalDocs:
|
||||
url: >-
|
||||
https://docs.medusajs.com/v2/resources/commerce-modules/auth/authentication-route#reset-password-route
|
||||
description: Learn more about this API route.
|
||||
x-authenticated: false
|
||||
x-authenticated: true
|
||||
parameters:
|
||||
- name: auth_provider
|
||||
in: path
|
||||
@@ -19,14 +20,6 @@ post:
|
||||
schema:
|
||||
type: string
|
||||
example: emailpass
|
||||
- name: token
|
||||
in: query
|
||||
description: >-
|
||||
The reset password token received using the Get Reset Password API
|
||||
route.
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
requestBody:
|
||||
content:
|
||||
application/json:
|
||||
@@ -44,6 +37,8 @@ post:
|
||||
label: cURL
|
||||
source:
|
||||
$ref: ../code_samples/Shell/auth_user_{auth_provider}_update/post.sh
|
||||
security:
|
||||
- reset_password: []
|
||||
tags:
|
||||
- Auth
|
||||
responses:
|
||||
|
||||
Reference in New Issue
Block a user