1 get:
2 operationId: GetClaims
3 summary: List Claims
4 description: >-
5 Retrieve a list of claims. The claims can be filtered by fields such as
6 `id`. The claims can also be sorted or paginated.
7 x-authenticated: true
8 parameters:
9 - name: fields
10 in: query
11 description: >-
12 Comma-separated fields that should be included in the returned data. if
13 a field is prefixed with `+` it will be added to the default fields,
14 using `-` will remove it from the default fields. without prefix it will
15 replace the entire default fields.
16 required: false
17 schema:
18 type: string
19 title: fields
20 description: >-
21 Comma-separated fields that should be included in the returned data.
22 if a field is prefixed with `+` it will be added to the default
23 fields, using `-` will remove it from the default fields. without
24 prefix it will replace the entire default fields.
25 externalDocs:
26 url: '#select-fields-and-relations'
27 - name: offset
28 in: query
29 description: The number of items to skip when retrieving a list.
30 required: false
31 schema:
32 type: number
33 title: offset
34 description: The number of items to skip when retrieving a list.
35 externalDocs:
36 url: '#pagination'
37 - name: limit
38 in: query
39 description: Limit the number of items returned in the list.
40 required: false
41 schema:
42 type: number
43 title: limit
44 description: Limit the number of items returned in the list.
45 externalDocs:
46 url: '#pagination'
47 - name: order
48 in: query
49 description: >-
50 The field to sort the data by. By default, the sort order is ascending.
51 To change the order to descending, prefix the field name with `-`.
52 required: false
53 schema:
54 type: string
55 title: order
56 description: >-
57 The field to sort the data by. By default, the sort order is
58 ascending. To change the order to descending, prefix the field name
59 with `-`.
60 - name: deleted_at
61 in: query
62 description: Filter by the claim's deletion date.
63 required: false
64 schema:
65 type: object
66 description: The claim's deletion date.
67 properties:
68 $and:
69 type: array
70 description: >-
71 Join query parameters with an AND condition. Each object's content
72 is the same type as the expected query parameters.
73 items:
74 type: object
75 title: $and
76 $or:
77 type: array
78 description: >-
79 Join query parameters with an OR condition. Each object's content
80 is the same type as the expected query parameters.
81 items:
82 type: object
83 title: $or
84 $eq:
85 oneOf:
86 - type: string
87 title: $eq
88 description: Filter by an exact match.
89 - type: array
90 description: Filter by an exact match.
91 items:
92 type: string
93 title: $eq
94 description: Filter by an exact match.
95 $ne:
96 type: string
97 title: $ne
98 description: Filter by values not equal to this parameter.
99 $in:
100 type: array
101 description: Filter by values in this array.
102 items:
103 type: string
104 title: $in
105 description: Filter by values in this array.
106 $nin:
107 type: array
108 description: Filter by values not in this array.
109 items:
110 type: string
111 title: $nin
112 description: Filter by values not in this array.
113 $not:
114 oneOf:
115 - type: string
116 title: $not
117 description: >-
118 Filter by values not matching the conditions in this
119 parameter.
120 - type: object
121 description: >-
122 Filter by values not matching the conditions in this
123 parameter.
124 properties:
125 $and:
126 type: array
127 description: >-
128 Join query parameters with an AND condition. Each object's
129 content is the same type as the expected query parameters.
130 items:
131 type: object
132 title: $and
133 $or:
134 type: array
135 description: >-
136 Join query parameters with an OR condition. Each object's
137 content is the same type as the expected query parameters.
138 items:
139 type: object
140 title: $or
141 $eq:
142 oneOf:
143 - type: string
144 title: $eq
145 description: Filter by an exact match.
146 - type: array
147 description: Filter by an exact match.
148 items:
149 type: string
150 title: $eq
151 description: Filter by an exact match.
152 $ne:
153 type: string
154 title: $ne
155 description: Filter by values not equal to this parameter.
156 $in:
157 type: array
158 description: Filter by values in this array.
159 items:
160 type: string
161 title: $in
162 description: Filter by values in this array.
163 $nin:
164 type: array
165 description: Filter by values not in this array.
166 items:
167 type: string
168 title: $nin
169 description: Filter by values not in this array.
170 $not:
171 oneOf:
172 - type: string
173 title: $not
174 description: >-
175 Filter by values not matching the conditions in this
176 parameter.
177 - type: object
178 description: >-
179 Filter by values not matching the conditions in this
180 parameter.
181 - type: array
182 description: >-
183 Filter by values not matching the conditions in this
184 parameter.
185 items:
186 type: string
187 title: $not
188 description: >-
189 Filter by values not matching the conditions in this
190 parameter.
191 $gt:
192 type: string
193 title: $gt
194 description: >-
195 Filter by values greater than this parameter. Useful for
196 numbers and dates only.
197 $gte:
198 type: string
199 title: $gte
200 description: >-
201 Filter by values greater than or equal to this parameter.
202 Useful for numbers and dates only.
203 $lt:
204 type: string
205 title: $lt
206 description: >-
207 Filter by values less than this parameter. Useful for
208 numbers and dates only.
209 $lte:
210 type: string
211 title: $lte
212 description: >-
213 Filter by values less than or equal to this parameter.
214 Useful for numbers and dates only.
215 $like:
216 type: string
217 title: $like
218 description: Apply a `like` filter. Useful for strings only.
219 $re:
220 type: string
221 title: $re
222 description: Apply a regex filter. Useful for strings only.
223 $ilike:
224 type: string
225 title: $ilike
226 description: >-
227 Apply a case-insensitive `like` filter. Useful for strings
228 only.
229 $fulltext:
230 type: string
231 title: $fulltext
232 description: Filter to apply on full-text properties.
233 $overlap:
234 type: array
235 description: >-
236 Filter arrays that have overlapping values with this
237 parameter.
238 items:
239 type: string
240 title: $overlap
241 description: >-
242 Filter arrays that have overlapping values with this
243 parameter.
244 $contains:
245 type: array
246 description: >-
247 Filter arrays that contain some of the values of this
248 parameter.
249 items:
250 type: string
251 title: $contains
252 description: >-
253 Filter arrays that contain some of the values of this
254 parameter.
255 $contained:
256 type: array
257 description: Filter arrays that contain all values of this parameter.
258 items:
259 type: string
260 title: $contained
261 description: Filter arrays that contain all values of this parameter.
262 $exists:
263 type: boolean
264 title: $exists
265 description: >-
266 Filter by whether a value for this parameter exists (not
267 `null`).
268 - type: array
269 description: >-
270 Filter by values not matching the conditions in this
271 parameter.
272 items:
273 type: string
274 title: $not
275 description: >-
276 Filter by values not matching the conditions in this
277 parameter.
278 $gt:
279 type: string
280 title: $gt
281 description: >-
282 Filter by values greater than this parameter. Useful for numbers
283 and dates only.
284 $gte:
285 type: string
286 title: $gte
287 description: >-
288 Filter by values greater than or equal to this parameter. Useful
289 for numbers and dates only.
290 $lt:
291 type: string
292 title: $lt
293 description: >-
294 Filter by values less than this parameter. Useful for numbers and
295 dates only.
296 $lte:
297 type: string
298 title: $lte
299 description: >-
300 Filter by values less than or equal to this parameter. Useful for
301 numbers and dates only.
302 $like:
303 type: string
304 title: $like
305 description: Apply a `like` filter. Useful for strings only.
306 $re:
307 type: string
308 title: $re
309 description: Apply a regex filter. Useful for strings only.
310 $ilike:
311 type: string
312 title: $ilike
313 description: Apply a case-insensitive `like` filter. Useful for strings only.
314 $fulltext:
315 type: string
316 title: $fulltext
317 description: Filter to apply on full-text properties.
318 $overlap:
319 type: array
320 description: Filter arrays that have overlapping values with this parameter.
321 items:
322 type: string
323 title: $overlap
324 description: Filter arrays that have overlapping values with this parameter.
325 $contains:
326 type: array
327 description: Filter arrays that contain some of the values of this parameter.
328 items:
329 type: string
330 title: $contains
331 description: Filter arrays that contain some of the values of this parameter.
332 $contained:
333 type: array
334 description: Filter arrays that contain all values of this parameter.
335 items:
336 type: string
337 title: $contained
338 description: Filter arrays that contain all values of this parameter.
339 $exists:
340 type: boolean
341 title: $exists
342 description: Filter by whether a value for this parameter exists (not `null`).
343 title: deleted_at
344 - name: id
345 in: query
346 required: false
347 schema:
348 oneOf:
349 - type: string
350 title: id
351 description: The claim's ID.
352 - type: array
353 description: The claim's ID.
354 items:
355 type: string
356 title: id
357 description: The id's ID.
358 - name: order_id
359 in: query
360 required: false
361 schema:
362 oneOf:
363 - type: string
364 title: order_id
365 description: The claim's order id.
366 - type: array
367 description: The claim's order id.
368 items:
369 type: string
370 title: order_id
371 description: The order id's details.
372 - name: status
373 in: query
374 required: false
375 schema:
376 oneOf:
377 - type: string
378 title: status
379 description: Filter by the claim's status.
380 - type: array
381 description: Filter by the claim's status.
382 items:
383 type: string
384 title: status
385 description: The claim's status.
386 - name: created_at
387 in: query
388 description: Filter by the claim's creation date.
389 required: false
390 schema:
391 type: object
392 description: The claim's creation date.
393 properties:
394 $and:
395 type: array
396 description: >-
397 Join query parameters with an AND condition. Each object's content
398 is the same type as the expected query parameters.
399 items:
400 type: object
401 title: $and
402 $or:
403 type: array
404 description: >-
405 Join query parameters with an OR condition. Each object's content
406 is the same type as the expected query parameters.
407 items:
408 type: object
409 title: $or
410 $eq:
411 oneOf:
412 - type: string
413 title: $eq
414 description: Filter by an exact match.
415 - type: array
416 description: Filter by an exact match.
417 items:
418 type: string
419 title: $eq
420 description: Filter by an exact match.
421 $ne:
422 type: string
423 title: $ne
424 description: Filter by values not equal to this parameter.
425 $in:
426 type: array
427 description: Filter by values in this array.
428 items:
429 type: string
430 title: $in
431 description: Filter by values in this array.
432 $nin:
433 type: array
434 description: Filter by values not in this array.
435 items:
436 type: string
437 title: $nin
438 description: Filter by values not in this array.
439 $not:
440 oneOf:
441 - type: string
442 title: $not
443 description: >-
444 Filter by values not matching the conditions in this
445 parameter.
446 - type: object
447 description: >-
448 Filter by values not matching the conditions in this
449 parameter.
450 properties:
451 $and:
452 type: array
453 description: >-
454 Join query parameters with an AND condition. Each object's
455 content is the same type as the expected query parameters.
456 items:
457 type: object
458 title: $and
459 $or:
460 type: array
461 description: >-
462 Join query parameters with an OR condition. Each object's
463 content is the same type as the expected query parameters.
464 items:
465 type: object
466 title: $or
467 $eq:
468 oneOf:
469 - type: string
470 title: $eq
471 description: Filter by an exact match.
472 - type: array
473 description: Filter by an exact match.
474 items:
475 type: string
476 title: $eq
477 description: Filter by an exact match.
478 $ne:
479 type: string
480 title: $ne
481 description: Filter by values not equal to this parameter.
482 $in:
483 type: array
484 description: Filter by values in this array.
485 items:
486 type: string
487 title: $in
488 description: Filter by values in this array.
489 $nin:
490 type: array
491 description: Filter by values not in this array.
492 items:
493 type: string
494 title: $nin
495 description: Filter by values not in this array.
496 $not:
497 oneOf:
498 - type: string
499 title: $not
500 description: >-
501 Filter by values not matching the conditions in this
502 parameter.
503 - type: object
504 description: >-
505 Filter by values not matching the conditions in this
506 parameter.
507 - type: array
508 description: >-
509 Filter by values not matching the conditions in this
510 parameter.
511 items:
512 type: string
513 title: $not
514 description: >-
515 Filter by values not matching the conditions in this
516 parameter.
517 $gt:
518 type: string
519 title: $gt
520 description: >-
521 Filter by values greater than this parameter. Useful for
522 numbers and dates only.
523 $gte:
524 type: string
525 title: $gte
526 description: >-
527 Filter by values greater than or equal to this parameter.
528 Useful for numbers and dates only.
529 $lt:
530 type: string
531 title: $lt
532 description: >-
533 Filter by values less than this parameter. Useful for
534 numbers and dates only.
535 $lte:
536 type: string
537 title: $lte
538 description: >-
539 Filter by values less than or equal to this parameter.
540 Useful for numbers and dates only.
541 $like:
542 type: string
543 title: $like
544 description: Apply a `like` filter. Useful for strings only.
545 $re:
546 type: string
547 title: $re
548 description: Apply a regex filter. Useful for strings only.
549 $ilike:
550 type: string
551 title: $ilike
552 description: >-
553 Apply a case-insensitive `like` filter. Useful for strings
554 only.
555 $fulltext:
556 type: string
557 title: $fulltext
558 description: Filter to apply on full-text properties.
559 $overlap:
560 type: array
561 description: >-
562 Filter arrays that have overlapping values with this
563 parameter.
564 items:
565 type: string
566 title: $overlap
567 description: >-
568 Filter arrays that have overlapping values with this
569 parameter.
570 $contains:
571 type: array
572 description: >-
573 Filter arrays that contain some of the values of this
574 parameter.
575 items:
576 type: string
577 title: $contains
578 description: >-
579 Filter arrays that contain some of the values of this
580 parameter.
581 $contained:
582 type: array
583 description: Filter arrays that contain all values of this parameter.
584 items:
585 type: string
586 title: $contained
587 description: Filter arrays that contain all values of this parameter.
588 $exists:
589 type: boolean
590 title: $exists
591 description: >-
592 Filter by whether a value for this parameter exists (not
593 `null`).
594 - type: array
595 description: >-
596 Filter by values not matching the conditions in this
597 parameter.
598 items:
599 type: string
600 title: $not
601 description: >-
602 Filter by values not matching the conditions in this
603 parameter.
604 $gt:
605 type: string
606 title: $gt
607 description: >-
608 Filter by values greater than this parameter. Useful for numbers
609 and dates only.
610 $gte:
611 type: string
612 title: $gte
613 description: >-
614 Filter by values greater than or equal to this parameter. Useful
615 for numbers and dates only.
616 $lt:
617 type: string
618 title: $lt
619 description: >-
620 Filter by values less than this parameter. Useful for numbers and
621 dates only.
622 $lte:
623 type: string
624 title: $lte
625 description: >-
626 Filter by values less than or equal to this parameter. Useful for
627 numbers and dates only.
628 $like:
629 type: string
630 title: $like
631 description: Apply a `like` filter. Useful for strings only.
632 $re:
633 type: string
634 title: $re
635 description: Apply a regex filter. Useful for strings only.
636 $ilike:
637 type: string
638 title: $ilike
639 description: Apply a case-insensitive `like` filter. Useful for strings only.
640 $fulltext:
641 type: string
642 title: $fulltext
643 description: Filter to apply on full-text properties.
644 $overlap:
645 type: array
646 description: Filter arrays that have overlapping values with this parameter.
647 items:
648 type: string
649 title: $overlap
650 description: Filter arrays that have overlapping values with this parameter.
651 $contains:
652 type: array
653 description: Filter arrays that contain some of the values of this parameter.
654 items:
655 type: string
656 title: $contains
657 description: Filter arrays that contain some of the values of this parameter.
658 $contained:
659 type: array
660 description: Filter arrays that contain all values of this parameter.
661 items:
662 type: string
663 title: $contained
664 description: Filter arrays that contain all values of this parameter.
665 $exists:
666 type: boolean
667 title: $exists
668 description: Filter by whether a value for this parameter exists (not `null`).
669 title: created_at
670 - name: updated_at
671 in: query
672 description: Filter by the claim's update date.
673 required: false
674 schema:
675 type: object
676 description: The claim's update date.
677 properties:
678 $and:
679 type: array
680 description: >-
681 Join query parameters with an AND condition. Each object's content
682 is the same type as the expected query parameters.
683 items:
684 type: object
685 title: $and
686 $or:
687 type: array
688 description: >-
689 Join query parameters with an OR condition. Each object's content
690 is the same type as the expected query parameters.
691 items:
692 type: object
693 title: $or
694 $eq:
695 oneOf:
696 - type: string
697 title: $eq
698 description: Filter by an exact match.
699 - type: array
700 description: Filter by an exact match.
701 items:
702 type: string
703 title: $eq
704 description: Filter by an exact match.
705 $ne:
706 type: string
707 title: $ne
708 description: Filter by values not equal to this parameter.
709 $in:
710 type: array
711 description: Filter by values in this array.
712 items:
713 type: string
714 title: $in
715 description: Filter by values in this array.
716 $nin:
717 type: array
718 description: Filter by values not in this array.
719 items:
720 type: string
721 title: $nin
722 description: Filter by values not in this array.
723 $not:
724 oneOf:
725 - type: string
726 title: $not
727 description: >-
728 Filter by values not matching the conditions in this
729 parameter.
730 - type: object
731 description: >-
732 Filter by values not matching the conditions in this
733 parameter.
734 properties:
735 $and:
736 type: array
737 description: >-
738 Join query parameters with an AND condition. Each object's
739 content is the same type as the expected query parameters.
740 items:
741 type: object
742 title: $and
743 $or:
744 type: array
745 description: >-
746 Join query parameters with an OR condition. Each object's
747 content is the same type as the expected query parameters.
748 items:
749 type: object
750 title: $or
751 $eq:
752 oneOf:
753 - type: string
754 title: $eq
755 description: Filter by an exact match.
756 - type: array
757 description: Filter by an exact match.
758 items:
759 type: string
760 title: $eq
761 description: Filter by an exact match.
762 $ne:
763 type: string
764 title: $ne
765 description: Filter by values not equal to this parameter.
766 $in:
767 type: array
768 description: Filter by values in this array.
769 items:
770 type: string
771 title: $in
772 description: Filter by values in this array.
773 $nin:
774 type: array
775 description: Filter by values not in this array.
776 items:
777 type: string
778 title: $nin
779 description: Filter by values not in this array.
780 $not:
781 oneOf:
782 - type: string
783 title: $not
784 description: >-
785 Filter by values not matching the conditions in this
786 parameter.
787 - type: object
788 description: >-
789 Filter by values not matching the conditions in this
790 parameter.
791 - type: array
792 description: >-
793 Filter by values not matching the conditions in this
794 parameter.
795 items:
796 type: string
797 title: $not
798 description: >-
799 Filter by values not matching the conditions in this
800 parameter.
801 $gt:
802 type: string
803 title: $gt
804 description: >-
805 Filter by values greater than this parameter. Useful for
806 numbers and dates only.
807 $gte:
808 type: string
809 title: $gte
810 description: >-
811 Filter by values greater than or equal to this parameter.
812 Useful for numbers and dates only.
813 $lt:
814 type: string
815 title: $lt
816 description: >-
817 Filter by values less than this parameter. Useful for
818 numbers and dates only.
819 $lte:
820 type: string
821 title: $lte
822 description: >-
823 Filter by values less than or equal to this parameter.
824 Useful for numbers and dates only.
825 $like:
826 type: string
827 title: $like
828 description: Apply a `like` filter. Useful for strings only.
829 $re:
830 type: string
831 title: $re
832 description: Apply a regex filter. Useful for strings only.
833 $ilike:
834 type: string
835 title: $ilike
836 description: >-
837 Apply a case-insensitive `like` filter. Useful for strings
838 only.
839 $fulltext:
840 type: string
841 title: $fulltext
842 description: Filter to apply on full-text properties.
843 $overlap:
844 type: array
845 description: >-
846 Filter arrays that have overlapping values with this
847 parameter.
848 items:
849 type: string
850 title: $overlap
851 description: >-
852 Filter arrays that have overlapping values with this
853 parameter.
854 $contains:
855 type: array
856 description: >-
857 Filter arrays that contain some of the values of this
858 parameter.
859 items:
860 type: string
861 title: $contains
862 description: >-
863 Filter arrays that contain some of the values of this
864 parameter.
865 $contained:
866 type: array
867 description: Filter arrays that contain all values of this parameter.
868 items:
869 type: string
870 title: $contained
871 description: Filter arrays that contain all values of this parameter.
872 $exists:
873 type: boolean
874 title: $exists
875 description: >-
876 Filter by whether a value for this parameter exists (not
877 `null`).
878 - type: array
879 description: >-
880 Filter by values not matching the conditions in this
881 parameter.
882 items:
883 type: string
884 title: $not
885 description: >-
886 Filter by values not matching the conditions in this
887 parameter.
888 $gt:
889 type: string
890 title: $gt
891 description: >-
892 Filter by values greater than this parameter. Useful for numbers
893 and dates only.
894 $gte:
895 type: string
896 title: $gte
897 description: >-
898 Filter by values greater than or equal to this parameter. Useful
899 for numbers and dates only.
900 $lt:
901 type: string
902 title: $lt
903 description: >-
904 Filter by values less than this parameter. Useful for numbers and
905 dates only.
906 $lte:
907 type: string
908 title: $lte
909 description: >-
910 Filter by values less than or equal to this parameter. Useful for
911 numbers and dates only.
912 $like:
913 type: string
914 title: $like
915 description: Apply a `like` filter. Useful for strings only.
916 $re:
917 type: string
918 title: $re
919 description: Apply a regex filter. Useful for strings only.
920 $ilike:
921 type: string
922 title: $ilike
923 description: Apply a case-insensitive `like` filter. Useful for strings only.
924 $fulltext:
925 type: string
926 title: $fulltext
927 description: Filter to apply on full-text properties.
928 $overlap:
929 type: array
930 description: Filter arrays that have overlapping values with this parameter.
931 items:
932 type: string
933 title: $overlap
934 description: Filter arrays that have overlapping values with this parameter.
935 $contains:
936 type: array
937 description: Filter arrays that contain some of the values of this parameter.
938 items:
939 type: string
940 title: $contains
941 description: Filter arrays that contain some of the values of this parameter.
942 $contained:
943 type: array
944 description: Filter arrays that contain all values of this parameter.
945 items:
946 type: string
947 title: $contained
948 description: Filter arrays that contain all values of this parameter.
949 $exists:
950 type: boolean
951 title: $exists
952 description: Filter by whether a value for this parameter exists (not `null`).
953 title: updated_at
954 - name: $and
955 in: query
956 description: >-
957 Join query parameters with an AND condition. Each object's content is
958 the same type as the expected query parameters.
959 required: false
960 schema:
961 type: array
962 description: >-
963 Join query parameters with an AND condition. Each object's content is
964 the same type as the expected query parameters.
965 items:
966 type: object
967 title: $and
968 - name: $or
969 in: query
970 description: >-
971 Join query parameters with an OR condition. Each object's content is the
972 same type as the expected query parameters.
973 required: false
974 schema:
975 type: array
976 description: >-
977 Join query parameters with an OR condition. Each object's content is
978 the same type as the expected query parameters.
979 items:
980 type: object
981 title: $or
982 - name: with_deleted
983 in: query
984 description: Whether to include deleted records in the result.
985 required: false
986 schema:
987 type: boolean
988 title: with_deleted
989 description: Whether to include deleted records in the result.
990 security:
991 - api_token: []
992 - cookie_auth: []
993 - jwt_token: []
994 x-codeSamples:
995 - lang: JavaScript
996 label: JS SDK
997 source:
998 $ref: ../code_samples/JavaScript/admin_claims/get.js
999 - lang: Shell
1000 label: cURL
1001 source:
1002 $ref: ../code_samples/Shell/admin_claims/get.sh
1003 tags:
1004 - Claims
1005 responses:
1006 '200':
1007 description: OK
1008 content:
1009 application/json:
1010 schema:
1011 $ref: ../components/schemas/AdminClaimListResponse.yaml
1012 '400':
1013 $ref: ../components/responses/400_error.yaml
1014 '401':
1015 $ref: ../components/responses/unauthorized.yaml
1016 '404':
1017 $ref: ../components/responses/not_found_error.yaml
1018 '409':
1019 $ref: ../components/responses/invalid_state_error.yaml
1020 '422':
1021 $ref: ../components/responses/invalid_request_error.yaml
1022 '500':
1023 $ref: ../components/responses/500_error.yaml
1024 post:
1025 operationId: PostClaims
1026 summary: Create a Claim
1027 description: >-
1028 Create a claim. The claim is still in the request state, and the changes are
1029 only applied on the order once the claim is confirmed.
1030 x-authenticated: true
1031 parameters:
1032 - name: fields
1033 in: query
1034 description: >-
1035 Comma-separated fields that should be included in the returned data. if
1036 a field is prefixed with `+` it will be added to the default fields,
1037 using `-` will remove it from the default fields. without prefix it will
1038 replace the entire default fields.
1039 required: false
1040 schema:
1041 type: string
1042 title: fields
1043 description: >-
1044 Comma-separated fields that should be included in the returned data.
1045 if a field is prefixed with `+` it will be added to the default
1046 fields, using `-` will remove it from the default fields. without
1047 prefix it will replace the entire default fields.
1048 externalDocs:
1049 url: '#select-fields-and-relations'
1050 - name: id
1051 in: query
1052 required: false
1053 schema:
1054 oneOf:
1055 - type: string
1056 title: id
1057 description: Filter by the claim's ID.
1058 - type: array
1059 description: Filter by multiple claim IDs.
1060 items:
1061 type: string
1062 title: id
1063 description: A claim ID.
1064 - name: status
1065 in: query
1066 required: false
1067 schema:
1068 oneOf:
1069 - type: string
1070 title: status
1071 description: Filter by the claim's status.
1072 - type: array
1073 description: Filter by multiple claim statuses.
1074 items:
1075 type: string
1076 title: status
1077 description: A claim status.
1078 - name: created_at
1079 in: query
1080 description: Filter by a claim's creation date.
1081 required: false
1082 schema:
1083 type: object
1084 description: Filter by a claim's creation date.
1085 properties:
1086 $and:
1087 type: array
1088 description: >-
1089 Join query parameters with an AND condition. Each object's content
1090 is the same type as the expected query parameters.
1091 items:
1092 type: object
1093 title: $and
1094 $or:
1095 type: array
1096 description: >-
1097 Join query parameters with an OR condition. Each object's content
1098 is the same type as the expected query parameters.
1099 items:
1100 type: object
1101 title: $or
1102 $eq:
1103 oneOf:
1104 - type: string
1105 title: $eq
1106 description: Filter by an exact match.
1107 - type: array
1108 description: Filter by an exact match.
1109 items:
1110 type: string
1111 title: $eq
1112 description: Filter by an exact match.
1113 $ne:
1114 type: string
1115 title: $ne
1116 description: Filter by values not equal to this parameter.
1117 $in:
1118 type: array
1119 description: Filter by values in this array.
1120 items:
1121 type: string
1122 title: $in
1123 description: Filter by values in this array.
1124 $nin:
1125 type: array
1126 description: Filter by values not in this array.
1127 items:
1128 type: string
1129 title: $nin
1130 description: Filter by values not in this array.
1131 $not:
1132 oneOf:
1133 - type: string
1134 title: $not
1135 description: >-
1136 Filter by values not matching the conditions in this
1137 parameter.
1138 - type: object
1139 description: >-
1140 Filter by values not matching the conditions in this
1141 parameter.
1142 - type: array
1143 description: >-
1144 Filter by values not matching the conditions in this
1145 parameter.
1146 items:
1147 type: string
1148 title: $not
1149 description: >-
1150 Filter by values not matching the conditions in this
1151 parameter.
1152 $gt:
1153 type: string
1154 title: $gt
1155 description: >-
1156 Filter by values greater than this parameter. Useful for numbers
1157 and dates only.
1158 $gte:
1159 type: string
1160 title: $gte
1161 description: >-
1162 Filter by values greater than or equal to this parameter. Useful
1163 for numbers and dates only.
1164 $lt:
1165 type: string
1166 title: $lt
1167 description: >-
1168 Filter by values less than this parameter. Useful for numbers and
1169 dates only.
1170 $lte:
1171 type: string
1172 title: $lte
1173 description: >-
1174 Filter by values less than or equal to this parameter. Useful for
1175 numbers and dates only.
1176 $like:
1177 type: string
1178 title: $like
1179 description: Apply a `like` filter. Useful for strings only.
1180 $re:
1181 type: string
1182 title: $re
1183 description: Apply a regex filter. Useful for strings only.
1184 $ilike:
1185 type: string
1186 title: $ilike
1187 description: Apply a case-insensitive `like` filter. Useful for strings only.
1188 $fulltext:
1189 type: string
1190 title: $fulltext
1191 description: Filter to apply on full-text properties.
1192 $overlap:
1193 type: array
1194 description: Filter arrays that have overlapping values with this parameter.
1195 items:
1196 type: string
1197 title: $overlap
1198 description: Filter arrays that have overlapping values with this parameter.
1199 $contains:
1200 type: array
1201 description: Filter arrays that contain some of the values of this parameter.
1202 items:
1203 type: string
1204 title: $contains
1205 description: Filter arrays that contain some of the values of this parameter.
1206 $contained:
1207 type: array
1208 description: Filter arrays that contain all values of this parameter.
1209 items:
1210 type: string
1211 title: $contained
1212 description: Filter arrays that contain all values of this parameter.
1213 $exists:
1214 type: boolean
1215 title: $exists
1216 description: Filter by whether a value for this parameter exists (not `null`).
1217 title: created_at
1218 - name: updated_at
1219 in: query
1220 description: Filter by a claim's update date.
1221 required: false
1222 schema:
1223 type: object
1224 description: Filter by a claim's update date.
1225 properties:
1226 $and:
1227 type: array
1228 description: >-
1229 Join query parameters with an AND condition. Each object's content
1230 is the same type as the expected query parameters.
1231 items:
1232 type: object
1233 title: $and
1234 $or:
1235 type: array
1236 description: >-
1237 Join query parameters with an OR condition. Each object's content
1238 is the same type as the expected query parameters.
1239 items:
1240 type: object
1241 title: $or
1242 $eq:
1243 oneOf:
1244 - type: string
1245 title: $eq
1246 description: Filter by an exact match.
1247 - type: array
1248 description: Filter by an exact match.
1249 items:
1250 type: string
1251 title: $eq
1252 description: Filter by an exact match.
1253 $ne:
1254 type: string
1255 title: $ne
1256 description: Filter by values not equal to this parameter.
1257 $in:
1258 type: array
1259 description: Filter by values in this array.
1260 items:
1261 type: string
1262 title: $in
1263 description: Filter by values in this array.
1264 $nin:
1265 type: array
1266 description: Filter by values not in this array.
1267 items:
1268 type: string
1269 title: $nin
1270 description: Filter by values not in this array.
1271 $not:
1272 oneOf:
1273 - type: string
1274 title: $not
1275 description: >-
1276 Filter by values not matching the conditions in this
1277 parameter.
1278 - type: object
1279 description: >-
1280 Filter by values not matching the conditions in this
1281 parameter.
1282 - type: array
1283 description: >-
1284 Filter by values not matching the conditions in this
1285 parameter.
1286 items:
1287 type: string
1288 title: $not
1289 description: >-
1290 Filter by values not matching the conditions in this
1291 parameter.
1292 $gt:
1293 type: string
1294 title: $gt
1295 description: >-
1296 Filter by values greater than this parameter. Useful for numbers
1297 and dates only.
1298 $gte:
1299 type: string
1300 title: $gte
1301 description: >-
1302 Filter by values greater than or equal to this parameter. Useful
1303 for numbers and dates only.
1304 $lt:
1305 type: string
1306 title: $lt
1307 description: >-
1308 Filter by values less than this parameter. Useful for numbers and
1309 dates only.
1310 $lte:
1311 type: string
1312 title: $lte
1313 description: >-
1314 Filter by values less than or equal to this parameter. Useful for
1315 numbers and dates only.
1316 $like:
1317 type: string
1318 title: $like
1319 description: Apply a `like` filter. Useful for strings only.
1320 $re:
1321 type: string
1322 title: $re
1323 description: Apply a regex filter. Useful for strings only.
1324 $ilike:
1325 type: string
1326 title: $ilike
1327 description: Apply a case-insensitive `like` filter. Useful for strings only.
1328 $fulltext:
1329 type: string
1330 title: $fulltext
1331 description: Filter to apply on full-text properties.
1332 $overlap:
1333 type: array
1334 description: Filter arrays that have overlapping values with this parameter.
1335 items:
1336 type: string
1337 title: $overlap
1338 description: Filter arrays that have overlapping values with this parameter.
1339 $contains:
1340 type: array
1341 description: Filter arrays that contain some of the values of this parameter.
1342 items:
1343 type: string
1344 title: $contains
1345 description: Filter arrays that contain some of the values of this parameter.
1346 $contained:
1347 type: array
1348 description: Filter arrays that contain all values of this parameter.
1349 items:
1350 type: string
1351 title: $contained
1352 description: Filter arrays that contain all values of this parameter.
1353 $exists:
1354 type: boolean
1355 title: $exists
1356 description: Filter by whether a value for this parameter exists (not `null`).
1357 title: updated_at
1358 - name: deleted_at
1359 in: query
1360 description: Filter by a claim's deletion date.
1361 required: false
1362 schema:
1363 type: object
1364 description: Filter by a claim's deletion date.
1365 properties:
1366 $and:
1367 type: array
1368 description: >-
1369 Join query parameters with an AND condition. Each object's content
1370 is the same type as the expected query parameters.
1371 items:
1372 type: object
1373 title: $and
1374 $or:
1375 type: array
1376 description: >-
1377 Join query parameters with an OR condition. Each object's content
1378 is the same type as the expected query parameters.
1379 items:
1380 type: object
1381 title: $or
1382 $eq:
1383 oneOf:
1384 - type: string
1385 title: $eq
1386 description: Filter by an exact match.
1387 - type: array
1388 description: Filter by an exact match.
1389 items:
1390 type: string
1391 title: $eq
1392 description: Filter by an exact match.
1393 $ne:
1394 type: string
1395 title: $ne
1396 description: Filter by values not equal to this parameter.
1397 $in:
1398 type: array
1399 description: Filter by values in this array.
1400 items:
1401 type: string
1402 title: $in
1403 description: Filter by values in this array.
1404 $nin:
1405 type: array
1406 description: Filter by values not in this array.
1407 items:
1408 type: string
1409 title: $nin
1410 description: Filter by values not in this array.
1411 $not:
1412 oneOf:
1413 - type: string
1414 title: $not
1415 description: >-
1416 Filter by values not matching the conditions in this
1417 parameter.
1418 - type: object
1419 description: >-
1420 Filter by values not matching the conditions in this
1421 parameter.
1422 - type: array
1423 description: >-
1424 Filter by values not matching the conditions in this
1425 parameter.
1426 items:
1427 type: string
1428 title: $not
1429 description: >-
1430 Filter by values not matching the conditions in this
1431 parameter.
1432 $gt:
1433 type: string
1434 title: $gt
1435 description: >-
1436 Filter by values greater than this parameter. Useful for numbers
1437 and dates only.
1438 $gte:
1439 type: string
1440 title: $gte
1441 description: >-
1442 Filter by values greater than or equal to this parameter. Useful
1443 for numbers and dates only.
1444 $lt:
1445 type: string
1446 title: $lt
1447 description: >-
1448 Filter by values less than this parameter. Useful for numbers and
1449 dates only.
1450 $lte:
1451 type: string
1452 title: $lte
1453 description: >-
1454 Filter by values less than or equal to this parameter. Useful for
1455 numbers and dates only.
1456 $like:
1457 type: string
1458 title: $like
1459 description: Apply a `like` filter. Useful for strings only.
1460 $re:
1461 type: string
1462 title: $re
1463 description: Apply a regex filter. Useful for strings only.
1464 $ilike:
1465 type: string
1466 title: $ilike
1467 description: Apply a case-insensitive `like` filter. Useful for strings only.
1468 $fulltext:
1469 type: string
1470 title: $fulltext
1471 description: Filter to apply on full-text properties.
1472 $overlap:
1473 type: array
1474 description: Filter arrays that have overlapping values with this parameter.
1475 items:
1476 type: string
1477 title: $overlap
1478 description: Filter arrays that have overlapping values with this parameter.
1479 $contains:
1480 type: array
1481 description: Filter arrays that contain some of the values of this parameter.
1482 items:
1483 type: string
1484 title: $contains
1485 description: Filter arrays that contain some of the values of this parameter.
1486 $contained:
1487 type: array
1488 description: Filter arrays that contain all values of this parameter.
1489 items:
1490 type: string
1491 title: $contained
1492 description: Filter arrays that contain all values of this parameter.
1493 $exists:
1494 type: boolean
1495 title: $exists
1496 description: Filter by whether a value for this parameter exists (not `null`).
1497 title: deleted_at
1498 security:
1499 - api_token: []
1500 - cookie_auth: []
1501 - jwt_token: []
1502 requestBody:
1503 content:
1504 application/json:
1505 schema:
1506 $ref: ../components/schemas/AdminCreateClaim.yaml
1507 x-codeSamples:
1508 - lang: JavaScript
1509 label: JS SDK
1510 source:
1511 $ref: ../code_samples/JavaScript/admin_claims/post.js
1512 - lang: Shell
1513 label: cURL
1514 source:
1515 $ref: ../code_samples/Shell/admin_claims/post.sh
1516 tags:
1517 - Claims
1518 responses:
1519 '200':
1520 description: OK
1521 content:
1522 application/json:
1523 schema:
1524 $ref: ../components/schemas/AdminClaimOrderResponse.yaml
1525 '400':
1526 $ref: ../components/responses/400_error.yaml
1527 '401':
1528 $ref: ../components/responses/unauthorized.yaml
1529 '404':
1530 $ref: ../components/responses/not_found_error.yaml
1531 '409':
1532 $ref: ../components/responses/invalid_state_error.yaml
1533 '422':
1534 $ref: ../components/responses/invalid_request_error.yaml
1535 '500':
1536 $ref: ../components/responses/500_error.yaml
1537 x-workflow: beginClaimOrderWorkflow
1538 x-events: []