-
Notifications
You must be signed in to change notification settings - Fork 5
/
openapi.yaml
7384 lines (7296 loc) · 212 KB
/
openapi.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
openapi: 3.0.0
info:
title: FastSpring API
description: >
The FastSpring API and its supported requests, data, endpoints, and rate
limits.
The FastSpring API is a backend service you can use to communicate with your
FastSpring Store programmatically. It requires basic understanding of HTTP
communication methods. The primary API communication methods include:
- **GET** - request data from your store
- **POST** - send data to your store, such as creating a new product record
- **DELETE** - remove data from your store
The structure of the JSON data sent and received using the API is very
similar to Webhooks. However, using the FastSpring API, you initiate all
communication with your FastSpring Store.
If you prefer a client-side method of communicating with your FastSpring
Store and generating dynamic webpage content, check out the [Store Builder
Library](https://fastspring.com/docs/get-started-with-store-builder-library/).
## Access the API
#### API Credentials and Authentication
FastSpring API credentials consist of a single username and password for
your entire Store. The username and password are used for [Basic
Authentication](https://en.wikipedia.org/wiki/Basic_access_authentication)
when making requests to the API.
#### Obtain Your API Credentials
1. Log on to the FastSpring App and navigate to
[Integrations](https://fastspring.com/docs/integrations) > **API
Credentials**. Initially, the only option on this page is the **Create**
command.
2. Click **Create** to generate your API **Username** and **Password**. The
page automatically refreshes, and then your credentials are displayed.
3. Make a note of the credentials and store them securely.
The API credentials allow complete access and control over your FastSpring
Store. You will not be able to view the password in the FastSpring App after
this session. If you forget your API credentials, you can reset them,
however any of your stored procedures that rely on API access must be
updated immediately with the new credentials. Otherwise, the API requests
will fail.
## API Requests
**Make all requests to https://api.fastspring.com**
When you make your requests, consider the following:
- Ensure that the HTTP methods for all calls use uppercase letters (“GET,”
“POST,” “DELETE”) Lowercase letters may result in a 404 error response.
- FastSpring requires TLS 1.2 (or later) encryption for all calls to the
FastSpring API.
- The API requires a **User-Agent** header in all requests. If your request
does not include it, you may receive an 401 error message when attempting to
make API requests.
- The API uses basic authentication and does not support URL-encoded
authentication. Use **Base64** to encode your username and password in the
header.
version: '1.0'
contact: {}
x-konfig-ignore:
potential-incorrect-type: true
servers:
- url: https://api.fastspring.com
tags:
- description: Use the /products endpoint to create or update products.
name: Products
- description: >
Use the /subscriptions endpoint to retrieve complete details of one or
more specific subscription instances.
name: Subscriptions
- description: >
This article provides information about the /orders endpoint of the
FastSpring API.
Use the **/orders** API endpoint to retrieve information about a single
order or retrieve a list of multiple orders matching a set of criteria.
You can retrieve orders by order ID, product path, or date range. You can
optionally combine parameters in your request, for example, retrieving all
orders for a particular product that occurred in a given date range.
When retrieving multiple orders, the API paginates the response with a
limit of 50 records per page by default. To assist with paging through the
results, you can optionally specify a custom limit to the number of
records per page, and the desired **page** number in your request.
name: Orders
- description: >
This article provides information about the /coupons endpoint of the
FastSpring API.
Use this endpoint to create, update, delete, and get coupons.
name: Quotes
- description: >
Use the /data/v1/ to generate sync or async reports based on the flag
"async". Also available to download and verify job status.
### To take into account in the requests to generate the reports:
If **async** flag is not specified in the request, the report will be
generated as async = false as long as days between startDate and endDate
are not greater than 90.
If **pageCount** is not specified in the request, it will take 1000 as
default. pageCount and pageNumber are used only when "async": false
- **filter.startDate** - Only return results after this date
- **filter.endDate** - Only return results before this date
- **filter.productNames** - Optional. Only return items with these product
names
- **filter.productPaths** - Optional. Only return items with these product
paths
- **filter.countryISO** - Optional. Only return items with these country
ISO
- **filter.segments** - Optional. Only return items with these segments
- **filter.syncDate** - Optional. Only return updated items before this
date
- **groupBy** - Optional. Aggregate results by these columns. If no
groupBy is included this returns raw data. If the reportColumns filter is
used a non-numerical column when using the groupBy filter, it will be
automatically used in the groupBy even if that column is not in the
groupBy filter.
- **pageCount** - Optional. The max number of records to return per page.
Max value is 1k when async = false.
- **pageNumber** - Optional. 0 based page number.
- **async** - Optional. Flag to define if the report will be generated
asynchronous or not.
- **reportColumns** - Optional. List of columns to include in the report.
Excluding this will return all columns without using groupBy filter. If
the groupBy filter is used, the data service will just return columns used
in the groupBy and the requested in reportColumns filter as well.
- **notificationEmails** - Optional. List of emails to notify when report
is generated by using the flag async = true.
name: Data
- description: >
Use the **/accounts** endpoint of the FastSpring API to create, update, or
get information on FastSpring customer accounts created by you or created
automatically by FastSpring when a new customer places an order.
name: Accounts
- description: >
Use the /coupons endpoint to create, update, delete and get coupons to
offer promotional product discounts.
name: Coupons
- description: >
Use the /events endpoint to retrieve the payloads for passed webhook
events. Events are either processed or unprocessed, depending on whether
the webhook endpoint has acknowledged the handling of the event.
name: Events
- description: >
Use the /returns endpoint to retrieve return details or create full order
returns.
name: Returns
- description: >
A session may contain discounts, price overrides, custom tags, and more.
When you create a session via the [FastSpring
API](https://fastspring.com/docs/fastspring-api), the response from the
API includes the session ID, which you can use to collect payment. A
customer cannot change the details of the session. A successful payment
via the session creates an order record.
### Session Behavior
- **Expiration:** Sessions created via the /sessions endpoint are valid
for 24 hours by default and up to 7 days if specified. Use "expiration"
with a value between 1 and 7 to represents the number of days to remain
valid.
- **Customer Accounts:** Posts to the /sessions endpoint require an
existing customer account. If your customer has purchased from you
previously and you have obtained the customer's FastSpring-generated
account ID, you can pass that into the POST. Otherwise, you need to
pre-create an account with the customer's name and email address via the
API. See [/accounts](https://fastspring.com/docs/accounts).
- **Products Allowed:** Each session or order can only contain a single
occurrence of any given product or its [product
variations](https://fastspring.com/docs/product-variations). If you
include more than one variation of the same product in a single session,
it will result in an error 400 with the message "Item exists."
- **Session Object:** The recipient object used with the [Store Builder
Library session
object](https://fastspring.com/docs/access-the-library-with-javascript/#AccessingtheLibraryfromJavascript-sessionUnderstandingtheSessionObject)
and fastspring.builder.recognizeRecipients() method is not currently
supported via the /sessions API endpoint. It is not possible to pre-fill
[gift recipient](https://fastspring.com/docs/gift-purchases/) information
via the /sessions endpoint.
- **Customer Country:** The account country is required for certain
non-credit card payment methods so be sure the customer account includes
the customer's country. Transactions based on sessions could fail if the
country is not included in the customer's account.
An example to use the /sessions API endpoint is to provide customers with
an option to pay what you want. Design your website to accept price data
from your customers and use the /sessions endpoint to create a session
that overrides the default prices. Alternatively, you can do this using a
[secure
request](https://fastspring.com/docs/passing-sensitive-data-with-secure-requests)
via the [Store Builder
Library](https://fastspring.com/docs/get-started-with-store-builder-library/).
Read more about the [Order Flow](https://fastspring.com/docs/Order-Flow).
name: Sessions
- name: Webhooks
paths:
/accounts/{account_id}:
get:
tags:
- Accounts
summary: Get an account
operationId: Accounts_getAccountById
parameters:
- description: Account Id
name: account_id
in: path
required: true
schema:
type: string
responses:
'200':
description: ''
headers: {}
content:
application/json:
schema:
$ref: '#/components/schemas/GetOneAccount'
'500':
description: ''
headers: {}
content:
application/json:
schema:
$ref: '#/components/schemas/GetOneAccountError'
deprecated: false
post:
tags:
- Accounts
summary: Update account
operationId: Accounts_updateAccountById
parameters:
- description: Account Id
name: account_id
in: path
required: true
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CreateOneAccount'
required: true
responses:
'200':
description: ''
headers: {}
content:
application/json:
schema:
$ref: '#/components/schemas/CreateOneAccountResponse'
'500':
description: ''
headers: {}
content:
application/json:
schema:
$ref: '#/components/schemas/CreateOneAccountError'
deprecated: false
/accounts/{account_id}/authenticate:
get:
tags:
- Accounts
summary: Get authenticated account management URL
operationId: Accounts_getAuthenticatedManagementUrl
parameters:
- description: Account Id
name: account_id
in: path
required: true
schema:
type: string
responses:
'200':
description: ''
headers: {}
content:
application/json:
schema:
$ref: '#/components/schemas/AuthenticateAccount'
'500':
description: ''
headers: {}
content:
application/json:
schema:
$ref: '#/components/schemas/AuthenticateAccountError'
deprecated: false
/accounts:
post:
tags:
- Accounts
summary: Create an account
operationId: Accounts_createNewAccount
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CreateOneAccount'
required: true
responses:
'200':
description: ''
headers: {}
content:
application/json:
schema:
$ref: '#/components/schemas/CreateOneAccountResponse'
'500':
description: ''
headers: {}
content:
application/json:
schema:
$ref: '#/components/schemas/CreateOneAccountError'
deprecated: false
get:
tags:
- Accounts
summary: Get all accounts or Search for accounts by parameter
operationId: Accounts_getByParameter
description: >-
If no parameters are sent, the operation will return a list of
accountIDs.
parameters:
- description: Account email
name: email
in: query
schema:
type: string
- description: Account custom key
name: custom
in: query
schema:
type: string
- description: Account global key
name: global
in: query
schema:
type: string
- description: Order id
name: orderID
in: query
schema:
type: string
- description: Order Reference
name: orderReference
in: query
schema:
type: string
- description: Subscription ID
name: subscriptionId
in: query
schema:
type: string
- description: Product ID
name: products
in: query
schema:
type: string
- description: >-
"active", "ended", "canceled", "started" will return accounts with
subscriptions in the corresponding state
name: subscriptions
in: query
schema:
type: string
- description: 'true'
name: refunds
in: query
schema:
type: string
- description: >-
integer value indicating the maximum number of records to be
returned Or, when used together with page, the maximum number of
records to be returned per page
name: limit
in: query
schema:
type: number
- description: >-
Integer value that must be used in conjunction with limit to specify
which page of results should be returned
name: page
in: query
schema:
type: number
responses:
'200':
description: ''
headers: {}
content:
application/json:
schema:
$ref: '#/components/schemas/AccountsGetByParameterResponse'
'500':
description: ''
headers: {}
content:
application/json:
schema:
$ref: '#/components/schemas/LookUpAccountError'
deprecated: false
/coupons:
post:
tags:
- Coupons
summary: Create a coupon
operationId: Coupons_createNewCoupon
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CreateanewcouponRequest'
required: true
responses:
'200':
description: ''
headers: {}
deprecated: false
/coupons/{coupon_id}:
post:
tags:
- Coupons
summary: Assign codes to a coupon
operationId: Coupons_assignCodesToCoupon
parameters:
- description: Coupon Id
name: coupon_id
in: path
required: true
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/AddcouponcodestoacouponRequest'
required: true
responses:
'200':
description: ''
headers: {}
deprecated: false
get:
tags:
- Coupons
summary: Retrieve coupon details
operationId: Coupons_getDetails
parameters:
- description: Coupon Id
name: coupon_id
in: path
required: true
schema:
type: string
responses:
'200':
description: ''
headers: {}
content:
application/json:
schema:
$ref: '#/components/schemas/GetCouponsDetailsResponse'
deprecated: false
/coupons/{coupon_id}/codes:
get:
tags:
- Coupons
summary: Get coupon codes assigned to a coupon
operationId: Coupons_getCodesAssignedToCoupon
parameters:
- description: Coupon Id
name: coupon_id
in: path
required: true
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/GetCouponCodesRequest'
responses:
'200':
description: ''
headers: {}
content:
application/json:
schema:
$ref: '#/components/schemas/GetCouponCodesResponse'
deprecated: false
delete:
tags:
- Coupons
summary: Delete all codes associated with a coupon
operationId: Coupons_deleteAssociatedCodes
parameters:
- description: Coupon Id
name: coupon_id
in: path
required: true
schema:
type: string
responses:
'200':
description: ''
headers: {}
deprecated: false
/events/processed:
get:
tags:
- Events
summary: Get processed events
operationId: Events_getProcessedEvents
parameters:
- description: ''
name: days
in: query
required: true
schema:
type: integer
format: int32
responses:
'200':
description: ''
headers: {}
content:
application/json:
schema:
$ref: '#/components/schemas/GetEventsResponse'
'500':
description: ''
headers: {}
content:
application/json:
schema:
$ref: '#/components/schemas/GetEventsResponseBad'
deprecated: false
/events/unprocessed:
get:
tags:
- Events
summary: Get unprocessed events
operationId: Events_getUnprocessedEvents
parameters:
- description: ''
name: begin
in: query
required: true
schema:
type: integer
format: int64
responses:
'200':
description: ''
headers: {}
content:
application/json:
schema:
$ref: '#/components/schemas/GetEventsResponse'
'500':
description: ''
headers: {}
content:
application/json:
schema:
$ref: '#/components/schemas/GetEventsResponseBad'
deprecated: false
/events/{event_id}:
post:
tags:
- Events
summary: Update an event
operationId: Events_updateEventById
parameters:
- description: Event Id
name: event_id
in: path
required: true
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateasingleeventRequest'
required: true
responses:
'200':
description: ''
headers: {}
deprecated: false
/orders/{order_id}:
get:
tags:
- Orders
summary: Get orders by ID
operationId: Orders_getById
parameters:
- description: Order Id
name: order_id
in: path
required: true
schema:
type: string
responses:
'200':
description: ''
headers: {}
content:
application/json:
schema:
$ref: '#/components/schemas/GetOrdersById'
'400':
description: Bad request
headers: {}
content:
application/json:
schema:
$ref: '#/components/schemas/GetOrdersByIdError'
deprecated: false
/orders?products={product_path}&limit={limit}&page={page}:
get:
tags:
- Orders
summary: Get orders by product path
operationId: Orders_getByProductPath
parameters:
- description: Product path
name: product_path
in: path
required: true
schema:
type: string
- description: >-
integer limits the number of order records returned per page
(default is 50 records)
name: limit
in: path
required: true
schema:
type: number
- description: >-
specifies page number of results to be returned; used together with
limit to control pagination
name: page
in: path
required: true
schema:
type: number
responses:
'200':
description: ''
headers: {}
content:
application/json:
schema:
$ref: '#/components/schemas/GetOrdersByProductPath'
deprecated: false
/orders?begin={begin_date}&end={end_date}&limit={limit}&page={page}:
get:
tags:
- Orders
summary: Get orders by date range
operationId: Orders_getByDateRange
parameters:
- description: >-
filters results to include transactions after the specified begin
date (must be at least one day before the specified end date), the
format must be MM/DD/YY
name: begin_date
in: path
required: true
schema:
type: string
- description: >-
filters results to include transactions before the specified end
date, the format must be MM/DD/YY
name: end_date
in: path
required: true
schema:
type: string
- description: >-
integer limits the number of order records returned per page
(default is 50 records)
name: limit
in: path
required: true
schema:
type: number
- description: >-
specifies page number of results to be returned; used together with
limit to control pagination
name: page
in: path
required: true
schema:
type: number
responses:
'200':
description: ''
headers: {}
content:
application/json:
schema:
$ref: '#/components/schemas/GetOrdersByDates'
'400':
description: ''
headers: {}
content:
application/json:
schema:
$ref: '#/components/schemas/GetOrdersByDatesError'
deprecated: false
/orders?products={product_path}&begin={begin_date}&end={end_date}:
get:
tags:
- Orders
summary: Get orders by product path AND date range
operationId: Orders_getByProductPathAndDateRange
parameters:
- description: Product path
name: product_path
in: path
required: true
schema:
type: string
- description: >-
filters results to include transactions after the specified begin
date (must be at least one day before the specified end date), the
format must be yyyy-mm-dd
name: begin_date
in: path
required: true
schema:
type: string
- description: >-
filters results to include transactions before the specified end
date, the format must be yyyy-mm-dd
name: end_date
in: path
required: true
schema:
type: string
- description: >-
integer limits the number of order records returned per page
(default is 50 records)
name: limit
in: query
schema:
type: number
- description: >-
specifies page number of results to be returned; used together with
limit to control pagination
name: page
in: query
schema:
type: number
responses:
'200':
description: ''
headers: {}
content:
application/json:
schema:
$ref: '#/components/schemas/GetOrdersByProductPathDates'
deprecated: false
/orders?end={end_date}:
get:
tags:
- Orders
summary: Get orders by end date
operationId: Orders_getByEndDate
parameters:
- description: >-
filters results to include transactions before the specified end
date, the format must be MM/DD/YY
name: end_date
in: path
required: true
schema:
type: string
responses:
'200':
description: ''
headers: {}
content:
application/json:
schema:
$ref: '#/components/schemas/GetOrdersByEndDate'
deprecated: false
/orders?begin={begin_date}&end={end_date}&returns={return}:
get:
tags:
- Orders
summary: Get orders with returns only
operationId: Orders_getOrdersWithReturns
parameters:
- description: >-
filters results to include transactions after the specified begin
date (must be at least one day before the specified end date), the
format must be MM/DD/YY
name: begin_date
in: path
required: true
schema:
type: string
- description: >-
filters results to include transactions before the specified end
date, the format must be MM/DD/YY
name: end_date
in: path
required: true
schema:
type: string
- description: ''
name: return
in: path
required: true
schema:
type: boolean
responses:
'200':
description: ''
headers: {}
content:
application/json:
schema:
$ref: '#/components/schemas/GetOrdersWithReturnOnly'
deprecated: false
/orders:
post:
tags:
- Orders
summary: Update order tags and attributes
operationId: Orders_updateTagsAndAttributes
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateOrderTags'
required: true
responses:
'200':
description: ''
headers: {}
content:
application/json:
schema:
$ref: '#/components/schemas/OrdersUpdateTagsAndAttributesResponse'
deprecated: false
/products/{product_path}:
get:
tags:
- Products
summary: Get products by path
operationId: Products_getByProductPath
parameters:
- description: Product path
name: product_path
in: path
required: true
schema:
type: string
responses:
'200':
description: Successful operation
headers: {}
content:
application/json:
schema:
$ref: '#/components/schemas/GetProductsByPth'
deprecated: false
/products:
get:
tags:
- Products
summary: Get all product IDs
operationId: Products_getAllProductIds
responses:
'200':
description: ''
headers: {}
content:
application/json:
schema:
$ref: '#/components/schemas/GetAllProducts'
deprecated: false
post:
tags:
- Products
summary: Create and update products
operationId: Products_createAndUpdate
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CreateoneormorenewproductsRequest'
required: true
responses:
'200':
description: ''
headers: {}
content:
application/json:
schema:
$ref: '#/components/schemas/ProductsCreateAndUpdateResponse'
'201':
description: ''
headers: {}
content:
application/json:
schema:
$ref: '#/components/schemas/CreateProductsResponse'
'500':
description: ''
headers: {}
content:
application/json:
schema:
$ref: '#/components/schemas/CreateProductsResponseError'
deprecated: false
/products/offers/{product_path}: