OVPAY-1126 - Added fulfillment for SMP.

This commit is contained in:
Bas Boterman 2024-11-06 16:16:24 +01:00
parent aa0d341b24
commit 9be5af4886

View File

@ -1369,6 +1369,31 @@ paths:
$ref: "#/components/schemas/unavailable" $ref: "#/components/schemas/unavailable"
example: example:
{ "orderCustomerId": "94270188-4cf6-447e-bd49-e8186bcec073" } { "orderCustomerId": "94270188-4cf6-447e-bd49-e8186bcec073" }
/orders/{orderId}/fulfill:
parameters:
- in: path
name: orderId
required: true
style: simple
explode: false
schema:
type: string
format: uuid
example: a0ef57fa-395c-4a03-96e9-234c26dccea9
- in: header
name: X-HM-JWT-AUTH-HEADER
schema:
type: string
example: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c
description: The JWT of the logged in customer (in case of a web shop).
post:
tags:
- Order Fulfillment v2.1
summary: Fulfill an order without creating or updating the order as a resource.
description: Fulfill an order without creating or updating the order as a resource.
responses:
"200":
description: OK
components: components:
securitySchemes: securitySchemes:
bearerToken: bearerToken: