customerStatus

This commit is contained in:
Mirjam Herald 2025-02-17 11:16:55 +01:00
parent 5ebc012ceb
commit 96f77d8f2f

View File

@ -794,9 +794,9 @@ paths:
content: content:
application/json: application/json:
schema: schema:
$ref: "#/components/schemas/customersEntity" $ref: "#/components/schemas/customerEntity"
examples: examples:
customers: customer:
value: value:
debtorStatusId: 2 debtorStatusId: 2
required: true required: true
@ -811,10 +811,47 @@ paths:
- default: [] - default: []
x-auth-type: Application & Application User x-auth-type: Application & Application User
x-throttling-tier: Unlimited x-throttling-tier: Unlimited
/customers/{customerProfileId}/customerStatus:
post:
tags:
- Customer
summary: Create a new customerStatus
description: >-
parameters:
- name: customerProfileId
in: path
required: true
schema:
type: integer
example: 1
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/customerStatusEntity"
examples:
customerStatus:
value:
customerStatus:
customerStatusId: 2
required: true
responses:
"201":
description: Successfully created a customer Status
content:
application/json:
schema:
$ref: "#/components/schemas/postCustomerPreferencesResponse"
security:
- default: []
x-auth-type: Application & Application User
x-throttling-tier: Unlimited
/customers/{customerProfileId}/customerPreferences: /customers/{customerProfileId}/customerPreferences:
post: post:
tags: tags:
- CustomerPreferences - Customer
summary: Create a customer preference element summary: Create a customer preference element
description: >- description: >-
@ -850,7 +887,7 @@ paths:
/customerPreferences/{customerPreferenceId}: /customerPreferences/{customerPreferenceId}:
patch: patch:
tags: tags:
- CustomerPreferences - Customer
summary: Modify a customer preference element summary: Modify a customer preference element
description: >- description: >-
@ -1487,6 +1524,11 @@ components:
properties: properties:
languageId: languageId:
type: integer type: integer
customerStatusEntity:
type: object
properties:
customerStatusId:
type: integer
customersEntity: customersEntity:
type: object type: object
properties: properties:
@ -1552,6 +1594,12 @@ components:
customerProfileId: customerProfileId:
type: integer type: integer
example: 1 example: 1
postCustomerStatusResponse:
type: object
properties:
customerPreferenceId:
type: integer
example: 1
postCustomerPreferencesResponse: postCustomerPreferencesResponse:
type: object type: object
properties: properties: