customerStatus
This commit is contained in:
parent
5ebc012ceb
commit
96f77d8f2f
@ -18,7 +18,7 @@ paths:
|
||||
|
||||
- Requested format for postal code:
|
||||
- 0000AA
|
||||
parameters: []
|
||||
parameters: []
|
||||
requestBody:
|
||||
content:
|
||||
application/json:
|
||||
@ -794,9 +794,9 @@ paths:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/customersEntity"
|
||||
$ref: "#/components/schemas/customerEntity"
|
||||
examples:
|
||||
customers:
|
||||
customer:
|
||||
value:
|
||||
debtorStatusId: 2
|
||||
required: true
|
||||
@ -811,10 +811,47 @@ paths:
|
||||
- default: []
|
||||
x-auth-type: Application & Application User
|
||||
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:
|
||||
post:
|
||||
tags:
|
||||
- CustomerPreferences
|
||||
- Customer
|
||||
summary: Create a customer preference element
|
||||
description: >-
|
||||
|
||||
@ -850,7 +887,7 @@ paths:
|
||||
/customerPreferences/{customerPreferenceId}:
|
||||
patch:
|
||||
tags:
|
||||
- CustomerPreferences
|
||||
- Customer
|
||||
summary: Modify a customer preference element
|
||||
description: >-
|
||||
|
||||
@ -1487,6 +1524,11 @@ components:
|
||||
properties:
|
||||
languageId:
|
||||
type: integer
|
||||
customerStatusEntity:
|
||||
type: object
|
||||
properties:
|
||||
customerStatusId:
|
||||
type: integer
|
||||
customersEntity:
|
||||
type: object
|
||||
properties:
|
||||
@ -1552,6 +1594,12 @@ components:
|
||||
customerProfileId:
|
||||
type: integer
|
||||
example: 1
|
||||
postCustomerStatusResponse:
|
||||
type: object
|
||||
properties:
|
||||
customerPreferenceId:
|
||||
type: integer
|
||||
example: 1
|
||||
postCustomerPreferencesResponse:
|
||||
type: object
|
||||
properties:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user