Skip to content

Commit 25867ec

Browse files
author
Ogulcan Girginc
committed
Add sales_offer id to sales_invoice create
1 parent 9b47766 commit 25867ec

1 file changed

Lines changed: 104 additions & 0 deletions

File tree

spec/swagger.yaml

Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7971,6 +7971,7 @@ paths:
79717971
- sales_invoice_details
79727972
- payments
79737973
- tags
7974+
- sales_offers
79747975
- sharings
79757976
- recurrence_plans
79767977
- e_archives
@@ -8148,6 +8149,21 @@ paths:
81488149
description: Type of the resource
81498150
enum:
81508151
- tags
8152+
sales_offer:
8153+
type: object
8154+
properties:
8155+
data:
8156+
type: object
8157+
properties:
8158+
id:
8159+
type: string
8160+
maxLength: 255
8161+
type:
8162+
type: string
8163+
maxLength: 255
8164+
description: Type of the resource
8165+
enum:
8166+
- sales_offers
81518167
in: body
81528168
required: true
81538169
responses:
@@ -8176,6 +8192,7 @@ paths:
81768192
- sales_invoice_details
81778193
- payments
81788194
- tags
8195+
- sales_offers
81798196
- sharings
81808197
- recurrence_plans
81818198
- e_archives
@@ -8282,6 +8299,7 @@ paths:
82828299
- sales_invoice_details
82838300
- payments
82848301
- tags
8302+
- sales_offers
82858303
- sharings
82868304
- recurrence_plans
82878305
- e_archives
@@ -8457,6 +8475,21 @@ paths:
84578475
description: Type of the resource
84588476
enum:
84598477
- tags
8478+
sales_offer:
8479+
type: object
8480+
properties:
8481+
data:
8482+
type: object
8483+
properties:
8484+
id:
8485+
type: string
8486+
maxLength: 255
8487+
type:
8488+
type: string
8489+
maxLength: 255
8490+
description: Type of the resource
8491+
enum:
8492+
- sales_offers
84608493
in: body
84618494
required: true
84628495
responses:
@@ -8485,6 +8518,7 @@ paths:
84858518
- sales_invoice_details
84868519
- payments
84878520
- tags
8521+
- sales_offers
84888522
- sharings
84898523
- recurrence_plans
84908524
- e_archives
@@ -8771,6 +8805,7 @@ paths:
87718805
- sales_invoice_details
87728806
- payments
87738807
- tags
8808+
- sales_offers
87748809
- sharings
87758810
- recurrence_plans
87768811
- e_archives
@@ -8877,6 +8912,7 @@ paths:
88778912
- sales_invoice_details
88788913
- payments
88798914
- tags
8915+
- sales_offers
88808916
- sharings
88818917
- recurrence_plans
88828918
- e_archives
@@ -8983,6 +9019,7 @@ paths:
89839019
- sales_invoice_details
89849020
- payments
89859021
- tags
9022+
- sales_offers
89869023
- sharings
89879024
- recurrence_plans
89889025
- e_archives
@@ -9089,6 +9126,7 @@ paths:
90899126
- sales_invoice_details
90909127
- payments
90919128
- tags
9129+
- sales_offers
90929130
- sharings
90939131
- recurrence_plans
90949132
- e_archives
@@ -9276,6 +9314,21 @@ paths:
92769314
description: Type of the resource
92779315
enum:
92789316
- tags
9317+
sales_offer:
9318+
type: object
9319+
properties:
9320+
data:
9321+
type: object
9322+
properties:
9323+
id:
9324+
type: string
9325+
maxLength: 255
9326+
type:
9327+
type: string
9328+
maxLength: 255
9329+
description: Type of the resource
9330+
enum:
9331+
- sales_offers
92799332
in: body
92809333
required: true
92819334
responses:
@@ -9304,6 +9357,7 @@ paths:
93049357
- sales_invoice_details
93059358
- payments
93069359
- tags
9360+
- sales_offers
93079361
- sharings
93089362
- recurrence_plans
93099363
- e_archives
@@ -14296,6 +14350,21 @@ definitions:
1429614350
description: Type of the resource
1429714351
enum:
1429814352
- tags
14353+
sales_offer:
14354+
type: object
14355+
properties:
14356+
data:
14357+
type: object
14358+
properties:
14359+
id:
14360+
type: string
14361+
maxLength: 255
14362+
type:
14363+
type: string
14364+
maxLength: 255
14365+
description: Type of the resource
14366+
enum:
14367+
- sales_offers
1429914368
sharings:
1430014369
type: object
1430114370
properties:
@@ -14441,6 +14510,41 @@ definitions:
1444114510
- products
1444214511
required:
1444314512
- attributes
14513+
SalesOfferAttributes: {}
14514+
SalesOffer:
14515+
type: object
14516+
properties:
14517+
id:
14518+
type: string
14519+
maxLength: 255
14520+
type:
14521+
type: string
14522+
maxLength: 255
14523+
description: Type of the resource
14524+
enum:
14525+
- sales_offers
14526+
attributes:
14527+
$ref: '#/definitions/SalesOfferAttributes'
14528+
relationships:
14529+
type: object
14530+
properties:
14531+
sales_invoice:
14532+
type: object
14533+
properties:
14534+
data:
14535+
type: object
14536+
properties:
14537+
id:
14538+
type: string
14539+
maxLength: 255
14540+
type:
14541+
type: string
14542+
maxLength: 255
14543+
description: Type of the resource
14544+
enum:
14545+
- sales_invoices
14546+
required:
14547+
- attributes
1444414548
ShipmentDocumentAttributes:
1444514549
type: object
1444614550
properties:

0 commit comments

Comments
 (0)