Raw
1 get:
2 operationId: GetCustomers
3 summary: List Customers
4 description: >-
5 Retrieve a list of customers. The customers can be filtered by fields such
6 as `id`. The customers 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. This API route restricts the fields
16 that can be selected. Learn how to override the retrievable fields in
17 the [Retrieve Custom
18 Links](https://docs.medusajs.com/learn/fundamentals/api-routes/retrieve-custom-links)
19 documentation.
20 required: false
21 schema:
22 type: string
23 title: fields
24 description: >-
25 Comma-separated fields that should be included in the returned data.
26 if a field is prefixed with `+` it will be added to the default
27 fields, using `-` will remove it from the default fields. without
28 prefix it will replace the entire default fields. This API route
29 restricts the fields that can be selected. Learn how to override the
30 retrievable fields in the [Retrieve Custom
31 Links](https://docs.medusajs.com/learn/fundamentals/api-routes/retrieve-custom-links)
32 documentation.
33 externalDocs:
34 url: '#select-fields-and-relations'
35 - name: offset
36 in: query
37 description: The number of items to skip when retrieving a list.
38 required: false
39 schema:
40 type: number
41 title: offset
42 description: The number of items to skip when retrieving a list.
43 externalDocs:
44 url: '#pagination'
45 - name: limit
46 in: query
47 description: Limit the number of items returned in the list.
48 required: false
49 schema:
50 type: number
51 title: limit
52 description: Limit the number of items returned in the list.
53 externalDocs:
54 url: '#pagination'
55 - name: order
56 in: query
57 description: >-
58 The field to sort the data by. By default, the sort order is ascending.
59 To change the order to descending, prefix the field name with `-`.
60 required: false
61 schema:
62 type: string
63 title: order
64 description: >-
65 The field to sort the data by. By default, the sort order is
66 ascending. To change the order to descending, prefix the field name
67 with `-`.
68 - name: groups
69 in: query
70 required: false
71 schema:
72 oneOf:
73 - type: string
74 title: groups
75 description: >-
76 Filter by a customer group's ID to retrieve customers that belong
77 to it.
78 - $ref: ../components/schemas/CustomerGroupInCustomerFilters.yaml
79 - type: array
80 description: >-
81 Filter by customer group IDs to retrieve customers that belong to
82 them.
83 items:
84 type: string
85 title: groups
86 description: The customer group's ID.
87 - name: q
88 in: query
89 description: Search term to filter the customer's searchable properties by.
90 required: false
91 schema:
92 type: string
93 title: q
94 description: Search term to filter the customer's searchable properties by.
95 - name: id
96 in: query
97 required: false
98 schema:
99 oneOf:
100 - type: string
101 title: id
102 description: Filter by a customer's ID.
103 - type: array
104 description: Filter by customer IDs.
105 items:
106 type: string
107 title: id
108 description: A customer's ID.
109 - type: object
110 description: Filters to apply on the customer ID.
111 properties:
112 $and:
113 type: array
114 description: >-
115 Join query parameters with an AND condition. Each object's
116 content is the same type as the expected query parameters.
117 items:
118 type: object
119 title: $and
120 $or:
121 type: array
122 description: >-
123 Join query parameters with an OR condition. Each object's
124 content is the same type as the expected query parameters.
125 items:
126 type: object
127 title: $or
128 $eq:
129 oneOf:
130 - type: string
131 title: $eq
132 description: Filter by an exact match.
133 - type: array
134 description: Filter by exact matches.
135 items:
136 type: string
137 title: $eq
138 description: Filter by an exact match.
139 - type: array
140 description: Filter by exact matches.
141 items:
142 oneOf:
143 - type: string
144 title: $eq
145 description: Filter by an exact match.
146 - type: array
147 description: Filter by exact matches.
148 items:
149 type: string
150 title: $eq
151 description: Filter by an exact match.
152 $ne:
153 oneOf:
154 - type: string
155 title: $ne
156 description: Filter by values not equal to this parameter.
157 - type: array
158 description: Filter by values not in this array.
159 items:
160 type: string
161 title: $ne
162 description: Filter by values not equal to this parameter.
163 $in:
164 type: array
165 description: Filter by values in this array.
166 items:
167 oneOf:
168 - type: string
169 title: $in
170 description: Filter by matching value.
171 - type: array
172 description: Filter by values in this array.
173 items:
174 type: string
175 title: $in
176 description: Filter matching values.
177 $nin:
178 type: array
179 description: Filter by values not in this array.
180 items:
181 oneOf:
182 - type: string
183 title: $nin
184 description: Filter by values not matching this parameter.
185 - type: array
186 description: Filter by values not in this array.
187 items:
188 type: string
189 title: $nin
190 description: Filter by values not matching this parameter.
191 $not:
192 oneOf:
193 - type: string
194 title: $not
195 description: Filter by values not matching this parameter.
196 - type: object
197 description: >-
198 Filter by values not matching the conditions in this
199 parameter.
200 properties:
201 $and:
202 type: array
203 description: >-
204 Join query parameters with an AND condition. Each
205 object's content is the same type as the expected
206 query parameters.
207 items:
208 type: object
209 title: $and
210 $or:
211 type: array
212 description: >-
213 Join query parameters with an OR condition. Each
214 object's content is the same type as the expected
215 query parameters.
216 items:
217 type: object
218 title: $or
219 $eq:
220 oneOf:
221 - type: string
222 title: $eq
223 description: Filter by an exact match.
224 - type: array
225 description: Filter by exact matches.
226 items:
227 type: string
228 title: $eq
229 description: Filter by an exact match.
230 $ne:
231 type: string
232 title: $ne
233 description: Filter by values not equal to this parameter.
234 $in:
235 type: array
236 description: Filter by values in this array.
237 items:
238 type: string
239 title: $in
240 description: Filter by values in this array.
241 $nin:
242 type: array
243 description: Filter by values not in this array.
244 items:
245 type: string
246 title: $nin
247 description: Filter by values not in this array.
248 $not:
249 oneOf:
250 - type: string
251 title: $not
252 description: Filter by values not matching this parameter.
253 - type: object
254 description: >-
255 Filter by values not matching the conditions in
256 this parameter.
257 - type: array
258 description: Filter by values not in this array.
259 items:
260 type: string
261 title: $not
262 description: Filter by values not matching this parameter.
263 $gt:
264 type: string
265 title: $gt
266 description: >-
267 Filter by values greater than this parameter. Useful
268 for numbers and dates only.
269 $gte:
270 type: string
271 title: $gte
272 description: >-
273 Filter by values greater than or equal to this
274 parameter. Useful for numbers and dates only.
275 $lt:
276 type: string
277 title: $lt
278 description: >-
279 Filter by values less than this parameter. Useful for
280 numbers and dates only.
281 $lte:
282 type: string
283 title: $lte
284 description: >-
285 Filter by values less than or equal to this parameter.
286 Useful for numbers and dates only.
287 $like:
288 type: string
289 title: $like
290 description: Apply a `like` filter. Useful for strings only.
291 $re:
292 type: string
293 title: $re
294 description: Apply a regex filter. Useful for strings only.
295 $ilike:
296 type: string
297 title: $ilike
298 description: >-
299 Apply a case-insensitive `like` filter. Useful for
300 strings only.
301 $fulltext:
302 type: string
303 title: $fulltext
304 description: Filter to apply on full-text properties.
305 $overlap:
306 type: array
307 description: >-
308 Filter arrays that have overlapping values with this
309 parameter.
310 items:
311 type: string
312 title: $overlap
313 description: >-
314 Filter arrays that have overlapping values with this
315 parameter.
316 $contains:
317 type: array
318 description: >-
319 Filter arrays that contain some of the values of this
320 parameter.
321 items:
322 type: string
323 title: $contains
324 description: >-
325 Filter arrays that contain some of the values of
326 this parameter.
327 $contained:
328 type: array
329 description: >-
330 Filter arrays that contain all values of this
331 parameter.
332 items:
333 type: string
334 title: $contained
335 description: >-
336 Filter arrays that contain all values of this
337 parameter.
338 $exists:
339 type: boolean
340 title: $exists
341 description: >-
342 Filter by whether a value for this parameter exists
343 (not `null`).
344 - type: array
345 description: Filter by values not in this array.
346 items:
347 type: string
348 title: $not
349 description: Filter by values not matching this parameter.
350 - type: array
351 description: >-
352 Filter by values not matching the conditions in this
353 parameter.
354 items:
355 oneOf:
356 - type: string
357 title: $not
358 description: Filter by values not matching this parameter.
359 - type: object
360 description: >-
361 Filter by values not matching the conditions in this
362 parameter.
363 properties:
364 $and:
365 type: array
366 description: >-
367 Join query parameters with an AND condition.
368 Each object's content is the same type as the
369 expected query parameters.
370 items:
371 type: object
372 title: $and
373 $or:
374 type: array
375 description: >-
376 Join query parameters with an OR condition. Each
377 object's content is the same type as the
378 expected query parameters.
379 items:
380 type: object
381 title: $or
382 $eq:
383 oneOf:
384 - type: string
385 title: $eq
386 description: Filter by an exact match.
387 - type: array
388 description: Filter by exact matches.
389 items:
390 type: string
391 title: $eq
392 description: Filter by an exact match.
393 $ne:
394 type: string
395 title: $ne
396 description: Filter by values not equal to this parameter.
397 $in:
398 type: array
399 description: Filter by values in this array.
400 items:
401 type: string
402 title: $in
403 description: Filter by exact matches.
404 $nin:
405 type: array
406 description: Filter by values not in this array.
407 items:
408 type: string
409 title: $nin
410 description: Filter by values not matching this parameter.
411 $not:
412 oneOf:
413 - type: string
414 title: $not
415 description: >-
416 Filter by values not matching this
417 parameter.
418 - type: object
419 description: >-
420 Filter by values not matching the conditions
421 in this parameter.
422 - type: array
423 description: Filter by values not in this array.
424 items:
425 type: string
426 title: $not
427 description: >-
428 Filter by values not matching this
429 parameter.
430 $gt:
431 type: string
432 title: $gt
433 description: >-
434 Filter by values greater than this parameter.
435 Useful for numbers and dates only.
436 $gte:
437 type: string
438 title: $gte
439 description: >-
440 Filter by values greater than or equal to this
441 parameter. Useful for numbers and dates only.
442 $lt:
443 type: string
444 title: $lt
445 description: >-
446 Filter by values less than this parameter.
447 Useful for numbers and dates only.
448 $lte:
449 type: string
450 title: $lte
451 description: >-
452 Filter by values less than or equal to this
453 parameter. Useful for numbers and dates only.
454 $like:
455 type: string
456 title: $like
457 description: Apply a `like` filter. Useful for strings only.
458 $re:
459 type: string
460 title: $re
461 description: Apply a regex filter. Useful for strings only.
462 $ilike:
463 type: string
464 title: $ilike
465 description: >-
466 Apply a case-insensitive `like` filter. Useful
467 for strings only.
468 $fulltext:
469 type: string
470 title: $fulltext
471 description: Filter to apply on full-text properties.
472 $overlap:
473 type: array
474 description: >-
475 Filter arrays that have overlapping values with
476 this parameter.
477 items:
478 type: string
479 title: $overlap
480 description: >-
481 Filter arrays that have overlapping values
482 with this parameter.
483 $contains:
484 type: array
485 description: >-
486 Filter arrays that contain some of the values of
487 this parameter.
488 items:
489 type: string
490 title: $contains
491 description: >-
492 Filter arrays that contain some of the values
493 of this parameter.
494 $contained:
495 type: array
496 description: >-
497 Filter arrays that contain all values of this
498 parameter.
499 items:
500 type: string
501 title: $contained
502 description: >-
503 Filter arrays that contain all values of this
504 parameter.
505 $exists:
506 type: boolean
507 title: $exists
508 description: >-
509 Filter by whether a value for this parameter
510 exists (not `null`).
511 $gt:
512 oneOf:
513 - type: string
514 title: $gt
515 description: >-
516 Filter by values greater than this parameter. Useful for
517 numbers and dates only.
518 - type: array
519 description: >-
520 Filter by values greater than items in this array. Useful
521 for numbers and dates only.
522 items:
523 type: string
524 title: $gt
525 description: >-
526 Filter by values greater than this parameter. Useful for
527 numbers and dates only.
528 $gte:
529 oneOf:
530 - type: string
531 title: $gte
532 description: >-
533 Filter by values greater than or equal to this parameter.
534 Useful for numbers and dates only.
535 - type: array
536 description: >-
537 Filter by values greater than or equal to items in this
538 array. Useful for numbers and dates only.
539 items:
540 type: string
541 title: $gte
542 description: >-
543 Filter by values greater than or equal to this
544 parameter. Useful for numbers and dates only.
545 $lt:
546 oneOf:
547 - type: string
548 title: $lt
549 description: >-
550 Filter by values less than this parameter. Useful for
551 numbers and dates only.
552 - type: array
553 description: >-
554 Filter by values less than items in this array. Useful for
555 numbers and dates only.
556 items:
557 type: string
558 title: $lt
559 description: >-
560 Filter by values less than this parameter. Useful for
561 numbers and dates only.
562 $lte:
563 oneOf:
564 - type: string
565 title: $lte
566 description: >-
567 Filter by values less than or equal to this parameter.
568 Useful for numbers and dates only.
569 - type: array
570 description: >-
571 Filter by values less than or equal to items in this
572 array. Useful for numbers and dates only.
573 items:
574 type: string
575 title: $lte
576 description: >-
577 Filter by values less than or equal to this parameter.
578 Useful for numbers and dates only.
579 $like:
580 type: string
581 title: $like
582 description: Apply a `like` filter. Useful for strings only.
583 $re:
584 type: string
585 title: $re
586 description: Apply a regex filter. Useful for strings only.
587 $ilike:
588 type: string
589 title: $ilike
590 description: >-
591 Apply a case-insensitive `like` filter. Useful for strings
592 only.
593 $fulltext:
594 type: string
595 title: $fulltext
596 description: Filter to apply on full-text properties.
597 $overlap:
598 type: array
599 description: >-
600 Filter arrays that have overlapping values with this
601 parameter.
602 items:
603 type: string
604 title: $overlap
605 description: >-
606 Filter arrays that have overlapping values with this
607 parameter.
608 $contains:
609 type: array
610 description: >-
611 Filter arrays that contain some of the values of this
612 parameter.
613 items:
614 type: string
615 title: $contains
616 description: >-
617 Filter arrays that contain some of the values of this
618 parameter.
619 $contained:
620 type: array
621 description: Filter arrays that contain all values of this parameter.
622 items:
623 type: string
624 title: $contained
625 description: Filter arrays that contain all values of this parameter.
626 $exists:
627 type: boolean
628 title: $exists
629 description: >-
630 Filter by whether a value for this parameter exists (not
631 `null`).
632 - name: email
633 in: query
634 required: false
635 schema:
636 oneOf:
637 - type: string
638 title: email
639 description: Filter by a customer email.
640 format: email
641 - type: array
642 description: Filter by customer emails.
643 items:
644 type: string
645 title: email
646 description: A customer's email.
647 format: email
648 - type: object
649 description: Filter by conditions on the customer email.
650 properties:
651 $and:
652 type: array
653 description: >-
654 Join query parameters with an AND condition. Each object's
655 content is the same type as the expected query parameters.
656 items:
657 type: object
658 title: $and
659 $or:
660 type: array
661 description: >-
662 Join query parameters with an OR condition. Each object's
663 content is the same type as the expected query parameters.
664 items:
665 type: object
666 title: $or
667 $eq:
668 oneOf:
669 - type: string
670 title: $eq
671 description: Filter by an exact match.
672 - type: array
673 description: Filter by exact matches.
674 items:
675 type: string
676 title: $eq
677 description: Filter by an exact match.
678 - type: array
679 description: Filter by exact matches.
680 items:
681 oneOf:
682 - type: string
683 title: $eq
684 description: Filter by an exact match.
685 - type: array
686 description: Filter by exact matches.
687 items:
688 type: string
689 title: $eq
690 description: Filter by an exact match.
691 $ne:
692 oneOf:
693 - type: string
694 title: $ne
695 description: Filter by values not equal to this parameter.
696 - type: array
697 description: Filter by values not in this array.
698 items:
699 type: string
700 title: $ne
701 description: Filter by values not equal to this parameter.
702 $in:
703 type: array
704 description: Filter by values in this array.
705 items:
706 oneOf:
707 - type: string
708 title: $in
709 description: Filter by matching value.
710 - type: array
711 description: Filter by values in this array.
712 items:
713 type: string
714 title: $in
715 description: Filter matching values.
716 $nin:
717 type: array
718 description: Filter by values not in this array.
719 items:
720 oneOf:
721 - type: string
722 title: $nin
723 description: Filter by values not matching this parameter.
724 - type: array
725 description: Filter by values not in this array.
726 items:
727 type: string
728 title: $nin
729 description: Filter by values not matching this parameter.
730 $not:
731 oneOf:
732 - type: string
733 title: $not
734 description: Filter by values not matching this parameter.
735 - type: object
736 description: >-
737 Filter by values not matching the conditions in this
738 parameter.
739 properties:
740 $and:
741 type: array
742 description: >-
743 Join query parameters with an AND condition. Each
744 object's content is the same type as the expected
745 query parameters.
746 items:
747 type: object
748 title: $and
749 $or:
750 type: array
751 description: >-
752 Join query parameters with an OR condition. Each
753 object's content is the same type as the expected
754 query parameters.
755 items:
756 type: object
757 title: $or
758 $eq:
759 oneOf:
760 - type: string
761 title: $eq
762 description: Filter by an exact match.
763 - type: array
764 description: Filter by exact matches.
765 items:
766 type: string
767 title: $eq
768 description: Filter by an exact match.
769 $ne:
770 type: string
771 title: $ne
772 description: Filter by values not equal to this parameter.
773 $in:
774 type: array
775 description: Filter by values in this array.
776 items:
777 type: string
778 title: $in
779 description: Filter by values in this array.
780 $nin:
781 type: array
782 description: Filter by values not in this array.
783 items:
784 type: string
785 title: $nin
786 description: Filter by values not in this array.
787 $not:
788 oneOf:
789 - type: string
790 title: $not
791 description: Filter by values not matching this parameter.
792 - type: object
793 description: >-
794 Filter by values not matching the conditions in
795 this parameter.
796 - type: array
797 description: Filter by values not in this array.
798 items:
799 type: string
800 title: $not
801 description: Filter by values not matching this parameter.
802 $gt:
803 type: string
804 title: $gt
805 description: >-
806 Filter by values greater than this parameter. Useful
807 for numbers and dates only.
808 $gte:
809 type: string
810 title: $gte
811 description: >-
812 Filter by values greater than or equal to this
813 parameter. Useful for numbers and dates only.
814 $lt:
815 type: string
816 title: $lt
817 description: >-
818 Filter by values less than this parameter. Useful for
819 numbers and dates only.
820 $lte:
821 type: string
822 title: $lte
823 description: >-
824 Filter by values less than or equal to this parameter.
825 Useful for numbers and dates only.
826 $like:
827 type: string
828 title: $like
829 description: Apply a `like` filter. Useful for strings only.
830 $re:
831 type: string
832 title: $re
833 description: Apply a regex filter. Useful for strings only.
834 $ilike:
835 type: string
836 title: $ilike
837 description: >-
838 Apply a case-insensitive `like` filter. Useful for
839 strings only.
840 $fulltext:
841 type: string
842 title: $fulltext
843 description: Filter to apply on full-text properties.
844 $overlap:
845 type: array
846 description: >-
847 Filter arrays that have overlapping values with this
848 parameter.
849 items:
850 type: string
851 title: $overlap
852 description: >-
853 Filter arrays that have overlapping values with this
854 parameter.
855 $contains:
856 type: array
857 description: >-
858 Filter arrays that contain some of the values of this
859 parameter.
860 items:
861 type: string
862 title: $contains
863 description: >-
864 Filter arrays that contain some of the values of
865 this parameter.
866 $contained:
867 type: array
868 description: >-
869 Filter arrays that contain all values of this
870 parameter.
871 items:
872 type: string
873 title: $contained
874 description: >-
875 Filter arrays that contain all values of this
876 parameter.
877 $exists:
878 type: boolean
879 title: $exists
880 description: >-
881 Filter by whether a value for this parameter exists
882 (not `null`).
883 - type: array
884 description: Filter by values not in this array.
885 items:
886 type: string
887 title: $not
888 description: Filter by values not matching this parameter.
889 - type: array
890 description: >-
891 Filter by values not matching the conditions in this
892 parameter.
893 items:
894 oneOf:
895 - type: string
896 title: $not
897 description: Filter by values not matching this parameter.
898 - type: object
899 description: >-
900 Filter by values not matching the conditions in this
901 parameter.
902 properties:
903 $and:
904 type: array
905 description: >-
906 Join query parameters with an AND condition.
907 Each object's content is the same type as the
908 expected query parameters.
909 items:
910 type: object
911 title: $and
912 $or:
913 type: array
914 description: >-
915 Join query parameters with an OR condition. Each
916 object's content is the same type as the
917 expected query parameters.
918 items:
919 type: object
920 title: $or
921 $eq:
922 oneOf:
923 - type: string
924 title: $eq
925 description: Filter by an exact match.
926 - type: array
927 description: Filter by exact matches.
928 items:
929 type: string
930 title: $eq
931 description: Filter by an exact match.
932 $ne:
933 type: string
934 title: $ne
935 description: Filter by values not equal to this parameter.
936 $in:
937 type: array
938 description: Filter by values in this array.
939 items:
940 type: string
941 title: $in
942 description: Filter by exact matches.
943 $nin:
944 type: array
945 description: Filter by values not in this array.
946 items:
947 type: string
948 title: $nin
949 description: Filter by values not matching this parameter.
950 $not:
951 oneOf:
952 - type: string
953 title: $not
954 description: >-
955 Filter by values not matching this
956 parameter.
957 - type: object
958 description: >-
959 Filter by values not matching the conditions
960 in this parameter.
961 - type: array
962 description: Filter by values not in this array.
963 items:
964 type: string
965 title: $not
966 description: >-
967 Filter by values not matching this
968 parameter.
969 $gt:
970 type: string
971 title: $gt
972 description: >-
973 Filter by values greater than this parameter.
974 Useful for numbers and dates only.
975 $gte:
976 type: string
977 title: $gte
978 description: >-
979 Filter by values greater than or equal to this
980 parameter. Useful for numbers and dates only.
981 $lt:
982 type: string
983 title: $lt
984 description: >-
985 Filter by values less than this parameter.
986 Useful for numbers and dates only.
987 $lte:
988 type: string
989 title: $lte
990 description: >-
991 Filter by values less than or equal to this
992 parameter. Useful for numbers and dates only.
993 $like:
994 type: string
995 title: $like
996 description: Apply a `like` filter. Useful for strings only.
997 $re:
998 type: string
999 title: $re
1000 description: Apply a regex filter. Useful for strings only.
1001 $ilike:
1002 type: string
1003 title: $ilike
1004 description: >-
1005 Apply a case-insensitive `like` filter. Useful
1006 for strings only.
1007 $fulltext:
1008 type: string
1009 title: $fulltext
1010 description: Filter to apply on full-text properties.
1011 $overlap:
1012 type: array
1013 description: >-
1014 Filter arrays that have overlapping values with
1015 this parameter.
1016 items:
1017 type: string
1018 title: $overlap
1019 description: >-
1020 Filter arrays that have overlapping values
1021 with this parameter.
1022 $contains:
1023 type: array
1024 description: >-
1025 Filter arrays that contain some of the values of
1026 this parameter.
1027 items:
1028 type: string
1029 title: $contains
1030 description: >-
1031 Filter arrays that contain some of the values
1032 of this parameter.
1033 $contained:
1034 type: array
1035 description: >-
1036 Filter arrays that contain all values of this
1037 parameter.
1038 items:
1039 type: string
1040 title: $contained
1041 description: >-
1042 Filter arrays that contain all values of this
1043 parameter.
1044 $exists:
1045 type: boolean
1046 title: $exists
1047 description: >-
1048 Filter by whether a value for this parameter
1049 exists (not `null`).
1050 $gt:
1051 oneOf:
1052 - type: string
1053 title: $gt
1054 description: >-
1055 Filter by values greater than this parameter. Useful for
1056 numbers and dates only.
1057 - type: array
1058 description: >-
1059 Filter by values greater than items in this array. Useful
1060 for numbers and dates only.
1061 items:
1062 type: string
1063 title: $gt
1064 description: >-
1065 Filter by values greater than this parameter. Useful for
1066 numbers and dates only.
1067 $gte:
1068 oneOf:
1069 - type: string
1070 title: $gte
1071 description: >-
1072 Filter by values greater than or equal to this parameter.
1073 Useful for numbers and dates only.
1074 - type: array
1075 description: >-
1076 Filter by values greater than or equal to items in this
1077 array. Useful for numbers and dates only.
1078 items:
1079 type: string
1080 title: $gte
1081 description: >-
1082 Filter by values greater than or equal to this
1083 parameter. Useful for numbers and dates only.
1084 $lt:
1085 oneOf:
1086 - type: string
1087 title: $lt
1088 description: >-
1089 Filter by values less than this parameter. Useful for
1090 numbers and dates only.
1091 - type: array
1092 description: >-
1093 Filter by values less than items in this array. Useful for
1094 numbers and dates only.
1095 items:
1096 type: string
1097 title: $lt
1098 description: >-
1099 Filter by values less than this parameter. Useful for
1100 numbers and dates only.
1101 $lte:
1102 oneOf:
1103 - type: string
1104 title: $lte
1105 description: >-
1106 Filter by values less than or equal to this parameter.
1107 Useful for numbers and dates only.
1108 - type: array
1109 description: >-
1110 Filter by values less than or equal to items in this
1111 array. Useful for numbers and dates only.
1112 items:
1113 type: string
1114 title: $lte
1115 description: >-
1116 Filter by values less than or equal to this parameter.
1117 Useful for numbers and dates only.
1118 $like:
1119 type: string
1120 title: $like
1121 description: Apply a `like` filter. Useful for strings only.
1122 $re:
1123 type: string
1124 title: $re
1125 description: Apply a regex filter. Useful for strings only.
1126 $ilike:
1127 type: string
1128 title: $ilike
1129 description: >-
1130 Apply a case-insensitive `like` filter. Useful for strings
1131 only.
1132 $fulltext:
1133 type: string
1134 title: $fulltext
1135 description: Filter to apply on full-text properties.
1136 $overlap:
1137 type: array
1138 description: >-
1139 Filter arrays that have overlapping values with this
1140 parameter.
1141 items:
1142 type: string
1143 title: $overlap
1144 description: >-
1145 Filter arrays that have overlapping values with this
1146 parameter.
1147 $contains:
1148 type: array
1149 description: >-
1150 Filter arrays that contain some of the values of this
1151 parameter.
1152 items:
1153 type: string
1154 title: $contains
1155 description: >-
1156 Filter arrays that contain some of the values of this
1157 parameter.
1158 $contained:
1159 type: array
1160 description: Filter arrays that contain all values of this parameter.
1161 items:
1162 type: string
1163 title: $contained
1164 description: Filter arrays that contain all values of this parameter.
1165 $exists:
1166 type: boolean
1167 title: $exists
1168 description: >-
1169 Filter by whether a value for this parameter exists (not
1170 `null`).
1171 - name: company_name
1172 in: query
1173 required: false
1174 schema:
1175 oneOf:
1176 - type: string
1177 title: company_name
1178 description: Filter by a customer's company name.
1179 - type: array
1180 description: Filter by customer company names.
1181 items:
1182 type: string
1183 title: company_name
1184 description: The customer's company name.
1185 - type: object
1186 description: Filter by conditions on the customer's company name.
1187 properties:
1188 $and:
1189 type: array
1190 description: >-
1191 Join query parameters with an AND condition. Each object's
1192 content is the same type as the expected query parameters.
1193 items:
1194 type: object
1195 title: $and
1196 $or:
1197 type: array
1198 description: >-
1199 Join query parameters with an OR condition. Each object's
1200 content is the same type as the expected query parameters.
1201 items:
1202 type: object
1203 title: $or
1204 $eq:
1205 oneOf:
1206 - type: string
1207 title: $eq
1208 description: Filter by an exact match.
1209 - type: array
1210 description: Filter by exact matches.
1211 items:
1212 type: string
1213 title: $eq
1214 description: Filter by an exact match.
1215 - type: array
1216 description: Filter by exact matches.
1217 items:
1218 oneOf:
1219 - type: string
1220 title: $eq
1221 description: Filter by an exact match.
1222 - type: array
1223 description: Filter by exact matches.
1224 items:
1225 type: string
1226 title: $eq
1227 description: Filter by an exact match.
1228 $ne:
1229 oneOf:
1230 - type: string
1231 title: $ne
1232 description: Filter by values not equal to this parameter.
1233 - type: array
1234 description: Filter by values not in this array.
1235 items:
1236 type: string
1237 title: $ne
1238 description: Filter by values not equal to this parameter.
1239 $in:
1240 type: array
1241 description: Filter by values in this array.
1242 items:
1243 oneOf:
1244 - type: string
1245 title: $in
1246 description: Filter by matching value.
1247 - type: array
1248 description: Filter by values in this array.
1249 items:
1250 type: string
1251 title: $in
1252 description: Filter matching values.
1253 $nin:
1254 type: array
1255 description: Filter by values not in this array.
1256 items:
1257 oneOf:
1258 - type: string
1259 title: $nin
1260 description: Filter by values not matching this parameter.
1261 - type: array
1262 description: Filter by values not in this array.
1263 items:
1264 type: string
1265 title: $nin
1266 description: Filter by values not matching this parameter.
1267 $not:
1268 oneOf:
1269 - type: string
1270 title: $not
1271 description: Filter by values not matching this parameter.
1272 - type: object
1273 description: >-
1274 Filter by values not matching the conditions in this
1275 parameter.
1276 properties:
1277 $and:
1278 type: array
1279 description: >-
1280 Join query parameters with an AND condition. Each
1281 object's content is the same type as the expected
1282 query parameters.
1283 items:
1284 type: object
1285 title: $and
1286 $or:
1287 type: array
1288 description: >-
1289 Join query parameters with an OR condition. Each
1290 object's content is the same type as the expected
1291 query parameters.
1292 items:
1293 type: object
1294 title: $or
1295 $eq:
1296 oneOf:
1297 - type: string
1298 title: $eq
1299 description: Filter by an exact match.
1300 - type: array
1301 description: Filter by exact matches.
1302 items:
1303 type: string
1304 title: $eq
1305 description: Filter by an exact match.
1306 $ne:
1307 type: string
1308 title: $ne
1309 description: Filter by values not equal to this parameter.
1310 $in:
1311 type: array
1312 description: Filter by values in this array.
1313 items:
1314 type: string
1315 title: $in
1316 description: Filter by values in this array.
1317 $nin:
1318 type: array
1319 description: Filter by values not in this array.
1320 items:
1321 type: string
1322 title: $nin
1323 description: Filter by values not in this array.
1324 $not:
1325 oneOf:
1326 - type: string
1327 title: $not
1328 description: Filter by values not matching this parameter.
1329 - type: object
1330 description: >-
1331 Filter by values not matching the conditions in
1332 this parameter.
1333 - type: array
1334 description: Filter by values not in this array.
1335 items:
1336 type: string
1337 title: $not
1338 description: Filter by values not matching this parameter.
1339 $gt:
1340 type: string
1341 title: $gt
1342 description: >-
1343 Filter by values greater than this parameter. Useful
1344 for numbers and dates only.
1345 $gte:
1346 type: string
1347 title: $gte
1348 description: >-
1349 Filter by values greater than or equal to this
1350 parameter. Useful for numbers and dates only.
1351 $lt:
1352 type: string
1353 title: $lt
1354 description: >-
1355 Filter by values less than this parameter. Useful for
1356 numbers and dates only.
1357 $lte:
1358 type: string
1359 title: $lte
1360 description: >-
1361 Filter by values less than or equal to this parameter.
1362 Useful for numbers and dates only.
1363 $like:
1364 type: string
1365 title: $like
1366 description: Apply a `like` filter. Useful for strings only.
1367 $re:
1368 type: string
1369 title: $re
1370 description: Apply a regex filter. Useful for strings only.
1371 $ilike:
1372 type: string
1373 title: $ilike
1374 description: >-
1375 Apply a case-insensitive `like` filter. Useful for
1376 strings only.
1377 $fulltext:
1378 type: string
1379 title: $fulltext
1380 description: Filter to apply on full-text properties.
1381 $overlap:
1382 type: array
1383 description: >-
1384 Filter arrays that have overlapping values with this
1385 parameter.
1386 items:
1387 type: string
1388 title: $overlap
1389 description: >-
1390 Filter arrays that have overlapping values with this
1391 parameter.
1392 $contains:
1393 type: array
1394 description: >-
1395 Filter arrays that contain some of the values of this
1396 parameter.
1397 items:
1398 type: string
1399 title: $contains
1400 description: >-
1401 Filter arrays that contain some of the values of
1402 this parameter.
1403 $contained:
1404 type: array
1405 description: >-
1406 Filter arrays that contain all values of this
1407 parameter.
1408 items:
1409 type: string
1410 title: $contained
1411 description: >-
1412 Filter arrays that contain all values of this
1413 parameter.
1414 $exists:
1415 type: boolean
1416 title: $exists
1417 description: >-
1418 Filter by whether a value for this parameter exists
1419 (not `null`).
1420 - type: array
1421 description: Filter by values not in this array.
1422 items:
1423 type: string
1424 title: $not
1425 description: Filter by values not matching this parameter.
1426 - type: array
1427 description: >-
1428 Filter by values not matching the conditions in this
1429 parameter.
1430 items:
1431 oneOf:
1432 - type: string
1433 title: $not
1434 description: Filter by values not matching this parameter.
1435 - type: object
1436 description: >-
1437 Filter by values not matching the conditions in this
1438 parameter.
1439 properties:
1440 $and:
1441 type: array
1442 description: >-
1443 Join query parameters with an AND condition.
1444 Each object's content is the same type as the
1445 expected query parameters.
1446 items:
1447 type: object
1448 title: $and
1449 $or:
1450 type: array
1451 description: >-
1452 Join query parameters with an OR condition. Each
1453 object's content is the same type as the
1454 expected query parameters.
1455 items:
1456 type: object
1457 title: $or
1458 $eq:
1459 oneOf:
1460 - type: string
1461 title: $eq
1462 description: Filter by an exact match.
1463 - type: array
1464 description: Filter by exact matches.
1465 items:
1466 type: string
1467 title: $eq
1468 description: Filter by an exact match.
1469 $ne:
1470 type: string
1471 title: $ne
1472 description: Filter by values not equal to this parameter.
1473 $in:
1474 type: array
1475 description: Filter by values in this array.
1476 items:
1477 type: string
1478 title: $in
1479 description: Filter by exact matches.
1480 $nin:
1481 type: array
1482 description: Filter by values not in this array.
1483 items:
1484 type: string
1485 title: $nin
1486 description: Filter by values not matching this parameter.
1487 $not:
1488 oneOf:
1489 - type: string
1490 title: $not
1491 description: >-
1492 Filter by values not matching this
1493 parameter.
1494 - type: object
1495 description: >-
1496 Filter by values not matching the conditions
1497 in this parameter.
1498 - type: array
1499 description: Filter by values not in this array.
1500 items:
1501 type: string
1502 title: $not
1503 description: >-
1504 Filter by values not matching this
1505 parameter.
1506 $gt:
1507 type: string
1508 title: $gt
1509 description: >-
1510 Filter by values greater than this parameter.
1511 Useful for numbers and dates only.
1512 $gte:
1513 type: string
1514 title: $gte
1515 description: >-
1516 Filter by values greater than or equal to this
1517 parameter. Useful for numbers and dates only.
1518 $lt:
1519 type: string
1520 title: $lt
1521 description: >-
1522 Filter by values less than this parameter.
1523 Useful for numbers and dates only.
1524 $lte:
1525 type: string
1526 title: $lte
1527 description: >-
1528 Filter by values less than or equal to this
1529 parameter. Useful for numbers and dates only.
1530 $like:
1531 type: string
1532 title: $like
1533 description: Apply a `like` filter. Useful for strings only.
1534 $re:
1535 type: string
1536 title: $re
1537 description: Apply a regex filter. Useful for strings only.
1538 $ilike:
1539 type: string
1540 title: $ilike
1541 description: >-
1542 Apply a case-insensitive `like` filter. Useful
1543 for strings only.
1544 $fulltext:
1545 type: string
1546 title: $fulltext
1547 description: Filter to apply on full-text properties.
1548 $overlap:
1549 type: array
1550 description: >-
1551 Filter arrays that have overlapping values with
1552 this parameter.
1553 items:
1554 type: string
1555 title: $overlap
1556 description: >-
1557 Filter arrays that have overlapping values
1558 with this parameter.
1559 $contains:
1560 type: array
1561 description: >-
1562 Filter arrays that contain some of the values of
1563 this parameter.
1564 items:
1565 type: string
1566 title: $contains
1567 description: >-
1568 Filter arrays that contain some of the values
1569 of this parameter.
1570 $contained:
1571 type: array
1572 description: >-
1573 Filter arrays that contain all values of this
1574 parameter.
1575 items:
1576 type: string
1577 title: $contained
1578 description: >-
1579 Filter arrays that contain all values of this
1580 parameter.
1581 $exists:
1582 type: boolean
1583 title: $exists
1584 description: >-
1585 Filter by whether a value for this parameter
1586 exists (not `null`).
1587 $gt:
1588 oneOf:
1589 - type: string
1590 title: $gt
1591 description: >-
1592 Filter by values greater than this parameter. Useful for
1593 numbers and dates only.
1594 - type: array
1595 description: >-
1596 Filter by values greater than items in this array. Useful
1597 for numbers and dates only.
1598 items:
1599 type: string
1600 title: $gt
1601 description: >-
1602 Filter by values greater than this parameter. Useful for
1603 numbers and dates only.
1604 $gte:
1605 oneOf:
1606 - type: string
1607 title: $gte
1608 description: >-
1609 Filter by values greater than or equal to this parameter.
1610 Useful for numbers and dates only.
1611 - type: array
1612 description: >-
1613 Filter by values greater than or equal to items in this
1614 array. Useful for numbers and dates only.
1615 items:
1616 type: string
1617 title: $gte
1618 description: >-
1619 Filter by values greater than or equal to this
1620 parameter. Useful for numbers and dates only.
1621 $lt:
1622 oneOf:
1623 - type: string
1624 title: $lt
1625 description: >-
1626 Filter by values less than this parameter. Useful for
1627 numbers and dates only.
1628 - type: array
1629 description: >-
1630 Filter by values less than items in this array. Useful for
1631 numbers and dates only.
1632 items:
1633 type: string
1634 title: $lt
1635 description: >-
1636 Filter by values less than this parameter. Useful for
1637 numbers and dates only.
1638 $lte:
1639 oneOf:
1640 - type: string
1641 title: $lte
1642 description: >-
1643 Filter by values less than or equal to this parameter.
1644 Useful for numbers and dates only.
1645 - type: array
1646 description: >-
1647 Filter by values less than or equal to items in this
1648 array. Useful for numbers and dates only.
1649 items:
1650 type: string
1651 title: $lte
1652 description: >-
1653 Filter by values less than or equal to this parameter.
1654 Useful for numbers and dates only.
1655 $like:
1656 type: string
1657 title: $like
1658 description: Apply a `like` filter. Useful for strings only.
1659 $re:
1660 type: string
1661 title: $re
1662 description: Apply a regex filter. Useful for strings only.
1663 $ilike:
1664 type: string
1665 title: $ilike
1666 description: >-
1667 Apply a case-insensitive `like` filter. Useful for strings
1668 only.
1669 $fulltext:
1670 type: string
1671 title: $fulltext
1672 description: Filter to apply on full-text properties.
1673 $overlap:
1674 type: array
1675 description: >-
1676 Filter arrays that have overlapping values with this
1677 parameter.
1678 items:
1679 type: string
1680 title: $overlap
1681 description: >-
1682 Filter arrays that have overlapping values with this
1683 parameter.
1684 $contains:
1685 type: array
1686 description: >-
1687 Filter arrays that contain some of the values of this
1688 parameter.
1689 items:
1690 type: string
1691 title: $contains
1692 description: >-
1693 Filter arrays that contain some of the values of this
1694 parameter.
1695 $contained:
1696 type: array
1697 description: Filter arrays that contain all values of this parameter.
1698 items:
1699 type: string
1700 title: $contained
1701 description: Filter arrays that contain all values of this parameter.
1702 $exists:
1703 type: boolean
1704 title: $exists
1705 description: >-
1706 Filter by whether a value for this parameter exists (not
1707 `null`).
1708 - name: first_name
1709 in: query
1710 required: false
1711 schema:
1712 oneOf:
1713 - type: string
1714 title: first_name
1715 description: Filter by a customer's first name.
1716 - type: array
1717 description: Filter by customer first names.
1718 items:
1719 type: string
1720 title: first_name
1721 description: A customer's first name.
1722 - type: object
1723 description: Filter by conditions on the first name.
1724 properties:
1725 $and:
1726 type: array
1727 description: >-
1728 Join query parameters with an AND condition. Each object's
1729 content is the same type as the expected query parameters.
1730 items:
1731 type: object
1732 title: $and
1733 $or:
1734 type: array
1735 description: >-
1736 Join query parameters with an OR condition. Each object's
1737 content is the same type as the expected query parameters.
1738 items:
1739 type: object
1740 title: $or
1741 $eq:
1742 oneOf:
1743 - type: string
1744 title: $eq
1745 description: Filter by an exact match.
1746 - type: array
1747 description: Filter by exact matches.
1748 items:
1749 type: string
1750 title: $eq
1751 description: Filter by an exact match.
1752 - type: array
1753 description: Filter by exact matches.
1754 items:
1755 oneOf:
1756 - type: string
1757 title: $eq
1758 description: Filter by an exact match.
1759 - type: array
1760 description: Filter by exact matches.
1761 items:
1762 type: string
1763 title: $eq
1764 description: Filter by an exact match.
1765 $ne:
1766 oneOf:
1767 - type: string
1768 title: $ne
1769 description: Filter by values not equal to this parameter.
1770 - type: array
1771 description: Filter by values not in this array.
1772 items:
1773 type: string
1774 title: $ne
1775 description: Filter by values not equal to this parameter.
1776 $in:
1777 type: array
1778 description: Filter by values in this array.
1779 items:
1780 oneOf:
1781 - type: string
1782 title: $in
1783 description: Filter by matching value.
1784 - type: array
1785 description: Filter by values in this array.
1786 items:
1787 type: string
1788 title: $in
1789 description: Filter matching values.
1790 $nin:
1791 type: array
1792 description: Filter by values not in this array.
1793 items:
1794 oneOf:
1795 - type: string
1796 title: $nin
1797 description: Filter by values not matching this parameter.
1798 - type: array
1799 description: Filter by values not in this array.
1800 items:
1801 type: string
1802 title: $nin
1803 description: Filter by values not matching this parameter.
1804 $not:
1805 oneOf:
1806 - type: string
1807 title: $not
1808 description: Filter by values not matching this parameter.
1809 - type: object
1810 description: >-
1811 Filter by values not matching the conditions in this
1812 parameter.
1813 properties:
1814 $and:
1815 type: array
1816 description: >-
1817 Join query parameters with an AND condition. Each
1818 object's content is the same type as the expected
1819 query parameters.
1820 items:
1821 type: object
1822 title: $and
1823 $or:
1824 type: array
1825 description: >-
1826 Join query parameters with an OR condition. Each
1827 object's content is the same type as the expected
1828 query parameters.
1829 items:
1830 type: object
1831 title: $or
1832 $eq:
1833 oneOf:
1834 - type: string
1835 title: $eq
1836 description: Filter by an exact match.
1837 - type: array
1838 description: Filter by exact matches.
1839 items:
1840 type: string
1841 title: $eq
1842 description: Filter by an exact match.
1843 $ne:
1844 type: string
1845 title: $ne
1846 description: Filter by values not equal to this parameter.
1847 $in:
1848 type: array
1849 description: Filter by values in this array.
1850 items:
1851 type: string
1852 title: $in
1853 description: Filter by values in this array.
1854 $nin:
1855 type: array
1856 description: Filter by values not in this array.
1857 items:
1858 type: string
1859 title: $nin
1860 description: Filter by values not in this array.
1861 $not:
1862 oneOf:
1863 - type: string
1864 title: $not
1865 description: Filter by values not matching this parameter.
1866 - type: object
1867 description: >-
1868 Filter by values not matching the conditions in
1869 this parameter.
1870 - type: array
1871 description: Filter by values not in this array.
1872 items:
1873 type: string
1874 title: $not
1875 description: Filter by values not matching this parameter.
1876 $gt:
1877 type: string
1878 title: $gt
1879 description: >-
1880 Filter by values greater than this parameter. Useful
1881 for numbers and dates only.
1882 $gte:
1883 type: string
1884 title: $gte
1885 description: >-
1886 Filter by values greater than or equal to this
1887 parameter. Useful for numbers and dates only.
1888 $lt:
1889 type: string
1890 title: $lt
1891 description: >-
1892 Filter by values less than this parameter. Useful for
1893 numbers and dates only.
1894 $lte:
1895 type: string
1896 title: $lte
1897 description: >-
1898 Filter by values less than or equal to this parameter.
1899 Useful for numbers and dates only.
1900 $like:
1901 type: string
1902 title: $like
1903 description: Apply a `like` filter. Useful for strings only.
1904 $re:
1905 type: string
1906 title: $re
1907 description: Apply a regex filter. Useful for strings only.
1908 $ilike:
1909 type: string
1910 title: $ilike
1911 description: >-
1912 Apply a case-insensitive `like` filter. Useful for
1913 strings only.
1914 $fulltext:
1915 type: string
1916 title: $fulltext
1917 description: Filter to apply on full-text properties.
1918 $overlap:
1919 type: array
1920 description: >-
1921 Filter arrays that have overlapping values with this
1922 parameter.
1923 items:
1924 type: string
1925 title: $overlap
1926 description: >-
1927 Filter arrays that have overlapping values with this
1928 parameter.
1929 $contains:
1930 type: array
1931 description: >-
1932 Filter arrays that contain some of the values of this
1933 parameter.
1934 items:
1935 type: string
1936 title: $contains
1937 description: >-
1938 Filter arrays that contain some of the values of
1939 this parameter.
1940 $contained:
1941 type: array
1942 description: >-
1943 Filter arrays that contain all values of this
1944 parameter.
1945 items:
1946 type: string
1947 title: $contained
1948 description: >-
1949 Filter arrays that contain all values of this
1950 parameter.
1951 $exists:
1952 type: boolean
1953 title: $exists
1954 description: >-
1955 Filter by whether a value for this parameter exists
1956 (not `null`).
1957 - type: array
1958 description: Filter by values not in this array.
1959 items:
1960 type: string
1961 title: $not
1962 description: Filter by values not matching this parameter.
1963 - type: array
1964 description: >-
1965 Filter by values not matching the conditions in this
1966 parameter.
1967 items:
1968 oneOf:
1969 - type: string
1970 title: $not
1971 description: Filter by values not matching this parameter.
1972 - type: object
1973 description: >-
1974 Filter by values not matching the conditions in this
1975 parameter.
1976 properties:
1977 $and:
1978 type: array
1979 description: >-
1980 Join query parameters with an AND condition.
1981 Each object's content is the same type as the
1982 expected query parameters.
1983 items:
1984 type: object
1985 title: $and
1986 $or:
1987 type: array
1988 description: >-
1989 Join query parameters with an OR condition. Each
1990 object's content is the same type as the
1991 expected query parameters.
1992 items:
1993 type: object
1994 title: $or
1995 $eq:
1996 oneOf:
1997 - type: string
1998 title: $eq
1999 description: Filter by an exact match.
2000 - type: array
2001 description: Filter by exact matches.
2002 items:
2003 type: string
2004 title: $eq
2005 description: Filter by an exact match.
2006 $ne:
2007 type: string
2008 title: $ne
2009 description: Filter by values not equal to this parameter.
2010 $in:
2011 type: array
2012 description: Filter by values in this array.
2013 items:
2014 type: string
2015 title: $in
2016 description: Filter by exact matches.
2017 $nin:
2018 type: array
2019 description: Filter by values not in this array.
2020 items:
2021 type: string
2022 title: $nin
2023 description: Filter by values not matching this parameter.
2024 $not:
2025 oneOf:
2026 - type: string
2027 title: $not
2028 description: >-
2029 Filter by values not matching this
2030 parameter.
2031 - type: object
2032 description: >-
2033 Filter by values not matching the conditions
2034 in this parameter.
2035 - type: array
2036 description: Filter by values not in this array.
2037 items:
2038 type: string
2039 title: $not
2040 description: >-
2041 Filter by values not matching this
2042 parameter.
2043 $gt:
2044 type: string
2045 title: $gt
2046 description: >-
2047 Filter by values greater than this parameter.
2048 Useful for numbers and dates only.
2049 $gte:
2050 type: string
2051 title: $gte
2052 description: >-
2053 Filter by values greater than or equal to this
2054 parameter. Useful for numbers and dates only.
2055 $lt:
2056 type: string
2057 title: $lt
2058 description: >-
2059 Filter by values less than this parameter.
2060 Useful for numbers and dates only.
2061 $lte:
2062 type: string
2063 title: $lte
2064 description: >-
2065 Filter by values less than or equal to this
2066 parameter. Useful for numbers and dates only.
2067 $like:
2068 type: string
2069 title: $like
2070 description: Apply a `like` filter. Useful for strings only.
2071 $re:
2072 type: string
2073 title: $re
2074 description: Apply a regex filter. Useful for strings only.
2075 $ilike:
2076 type: string
2077 title: $ilike
2078 description: >-
2079 Apply a case-insensitive `like` filter. Useful
2080 for strings only.
2081 $fulltext:
2082 type: string
2083 title: $fulltext
2084 description: Filter to apply on full-text properties.
2085 $overlap:
2086 type: array
2087 description: >-
2088 Filter arrays that have overlapping values with
2089 this parameter.
2090 items:
2091 type: string
2092 title: $overlap
2093 description: >-
2094 Filter arrays that have overlapping values
2095 with this parameter.
2096 $contains:
2097 type: array
2098 description: >-
2099 Filter arrays that contain some of the values of
2100 this parameter.
2101 items:
2102 type: string
2103 title: $contains
2104 description: >-
2105 Filter arrays that contain some of the values
2106 of this parameter.
2107 $contained:
2108 type: array
2109 description: >-
2110 Filter arrays that contain all values of this
2111 parameter.
2112 items:
2113 type: string
2114 title: $contained
2115 description: >-
2116 Filter arrays that contain all values of this
2117 parameter.
2118 $exists:
2119 type: boolean
2120 title: $exists
2121 description: >-
2122 Filter by whether a value for this parameter
2123 exists (not `null`).
2124 $gt:
2125 oneOf:
2126 - type: string
2127 title: $gt
2128 description: >-
2129 Filter by values greater than this parameter. Useful for
2130 numbers and dates only.
2131 - type: array
2132 description: >-
2133 Filter by values greater than items in this array. Useful
2134 for numbers and dates only.
2135 items:
2136 type: string
2137 title: $gt
2138 description: >-
2139 Filter by values greater than this parameter. Useful for
2140 numbers and dates only.
2141 $gte:
2142 oneOf:
2143 - type: string
2144 title: $gte
2145 description: >-
2146 Filter by values greater than or equal to this parameter.
2147 Useful for numbers and dates only.
2148 - type: array
2149 description: >-
2150 Filter by values greater than or equal to items in this
2151 array. Useful for numbers and dates only.
2152 items:
2153 type: string
2154 title: $gte
2155 description: >-
2156 Filter by values greater than or equal to this
2157 parameter. Useful for numbers and dates only.
2158 $lt:
2159 oneOf:
2160 - type: string
2161 title: $lt
2162 description: >-
2163 Filter by values less than this parameter. Useful for
2164 numbers and dates only.
2165 - type: array
2166 description: >-
2167 Filter by values less than items in this array. Useful for
2168 numbers and dates only.
2169 items:
2170 type: string
2171 title: $lt
2172 description: >-
2173 Filter by values less than this parameter. Useful for
2174 numbers and dates only.
2175 $lte:
2176 oneOf:
2177 - type: string
2178 title: $lte
2179 description: >-
2180 Filter by values less than or equal to this parameter.
2181 Useful for numbers and dates only.
2182 - type: array
2183 description: >-
2184 Filter by values less than or equal to items in this
2185 array. Useful for numbers and dates only.
2186 items:
2187 type: string
2188 title: $lte
2189 description: >-
2190 Filter by values less than or equal to this parameter.
2191 Useful for numbers and dates only.
2192 $like:
2193 type: string
2194 title: $like
2195 description: Apply a `like` filter. Useful for strings only.
2196 $re:
2197 type: string
2198 title: $re
2199 description: Apply a regex filter. Useful for strings only.
2200 $ilike:
2201 type: string
2202 title: $ilike
2203 description: >-
2204 Apply a case-insensitive `like` filter. Useful for strings
2205 only.
2206 $fulltext:
2207 type: string
2208 title: $fulltext
2209 description: Filter to apply on full-text properties.
2210 $overlap:
2211 type: array
2212 description: >-
2213 Filter arrays that have overlapping values with this
2214 parameter.
2215 items:
2216 type: string
2217 title: $overlap
2218 description: >-
2219 Filter arrays that have overlapping values with this
2220 parameter.
2221 $contains:
2222 type: array
2223 description: >-
2224 Filter arrays that contain some of the values of this
2225 parameter.
2226 items:
2227 type: string
2228 title: $contains
2229 description: >-
2230 Filter arrays that contain some of the values of this
2231 parameter.
2232 $contained:
2233 type: array
2234 description: Filter arrays that contain all values of this parameter.
2235 items:
2236 type: string
2237 title: $contained
2238 description: Filter arrays that contain all values of this parameter.
2239 $exists:
2240 type: boolean
2241 title: $exists
2242 description: >-
2243 Filter by whether a value for this parameter exists (not
2244 `null`).
2245 - name: last_name
2246 in: query
2247 required: false
2248 schema:
2249 oneOf:
2250 - type: string
2251 title: last_name
2252 description: Filter by a customer's last name.
2253 - type: array
2254 description: Filter by customer last names.
2255 items:
2256 type: string
2257 title: last_name
2258 description: A customer's last name.
2259 - type: object
2260 description: Filter by conditions on a customer's last name.
2261 properties:
2262 $and:
2263 type: array
2264 description: >-
2265 Join query parameters with an AND condition. Each object's
2266 content is the same type as the expected query parameters.
2267 items:
2268 type: object
2269 title: $and
2270 $or:
2271 type: array
2272 description: >-
2273 Join query parameters with an OR condition. Each object's
2274 content is the same type as the expected query parameters.
2275 items:
2276 type: object
2277 title: $or
2278 $eq:
2279 oneOf:
2280 - type: string
2281 title: $eq
2282 description: Filter by an exact match.
2283 - type: array
2284 description: Filter by exact matches.
2285 items:
2286 type: string
2287 title: $eq
2288 description: Filter by an exact match.
2289 - type: array
2290 description: Filter by exact matches.
2291 items:
2292 oneOf:
2293 - type: string
2294 title: $eq
2295 description: Filter by an exact match.
2296 - type: array
2297 description: Filter by exact matches.
2298 items:
2299 type: string
2300 title: $eq
2301 description: Filter by an exact match.
2302 $ne:
2303 oneOf:
2304 - type: string
2305 title: $ne
2306 description: Filter by values not equal to this parameter.
2307 - type: array
2308 description: Filter by values not in this array.
2309 items:
2310 type: string
2311 title: $ne
2312 description: Filter by values not equal to this parameter.
2313 $in:
2314 type: array
2315 description: Filter by values in this array.
2316 items:
2317 oneOf:
2318 - type: string
2319 title: $in
2320 description: Filter by matching value.
2321 - type: array
2322 description: Filter by values in this array.
2323 items:
2324 type: string
2325 title: $in
2326 description: Filter matching values.
2327 $nin:
2328 type: array
2329 description: Filter by values not in this array.
2330 items:
2331 oneOf:
2332 - type: string
2333 title: $nin
2334 description: Filter by values not matching this parameter.
2335 - type: array
2336 description: Filter by values not in this array.
2337 items:
2338 type: string
2339 title: $nin
2340 description: Filter by values not matching this parameter.
2341 $not:
2342 oneOf:
2343 - type: string
2344 title: $not
2345 description: Filter by values not matching this parameter.
2346 - type: object
2347 description: >-
2348 Filter by values not matching the conditions in this
2349 parameter.
2350 properties:
2351 $and:
2352 type: array
2353 description: >-
2354 Join query parameters with an AND condition. Each
2355 object's content is the same type as the expected
2356 query parameters.
2357 items:
2358 type: object
2359 title: $and
2360 $or:
2361 type: array
2362 description: >-
2363 Join query parameters with an OR condition. Each
2364 object's content is the same type as the expected
2365 query parameters.
2366 items:
2367 type: object
2368 title: $or
2369 $eq:
2370 oneOf:
2371 - type: string
2372 title: $eq
2373 description: Filter by an exact match.
2374 - type: array
2375 description: Filter by exact matches.
2376 items:
2377 type: string
2378 title: $eq
2379 description: Filter by an exact match.
2380 $ne:
2381 type: string
2382 title: $ne
2383 description: Filter by values not equal to this parameter.
2384 $in:
2385 type: array
2386 description: Filter by values in this array.
2387 items:
2388 type: string
2389 title: $in
2390 description: Filter by values in this array.
2391 $nin:
2392 type: array
2393 description: Filter by values not in this array.
2394 items:
2395 type: string
2396 title: $nin
2397 description: Filter by values not in this array.
2398 $not:
2399 oneOf:
2400 - type: string
2401 title: $not
2402 description: Filter by values not matching this parameter.
2403 - type: object
2404 description: >-
2405 Filter by values not matching the conditions in
2406 this parameter.
2407 - type: array
2408 description: Filter by values not in this array.
2409 items:
2410 type: string
2411 title: $not
2412 description: Filter by values not matching this parameter.
2413 $gt:
2414 type: string
2415 title: $gt
2416 description: >-
2417 Filter by values greater than this parameter. Useful
2418 for numbers and dates only.
2419 $gte:
2420 type: string
2421 title: $gte
2422 description: >-
2423 Filter by values greater than or equal to this
2424 parameter. Useful for numbers and dates only.
2425 $lt:
2426 type: string
2427 title: $lt
2428 description: >-
2429 Filter by values less than this parameter. Useful for
2430 numbers and dates only.
2431 $lte:
2432 type: string
2433 title: $lte
2434 description: >-
2435 Filter by values less than or equal to this parameter.
2436 Useful for numbers and dates only.
2437 $like:
2438 type: string
2439 title: $like
2440 description: Apply a `like` filter. Useful for strings only.
2441 $re:
2442 type: string
2443 title: $re
2444 description: Apply a regex filter. Useful for strings only.
2445 $ilike:
2446 type: string
2447 title: $ilike
2448 description: >-
2449 Apply a case-insensitive `like` filter. Useful for
2450 strings only.
2451 $fulltext:
2452 type: string
2453 title: $fulltext
2454 description: Filter to apply on full-text properties.
2455 $overlap:
2456 type: array
2457 description: >-
2458 Filter arrays that have overlapping values with this
2459 parameter.
2460 items:
2461 type: string
2462 title: $overlap
2463 description: >-
2464 Filter arrays that have overlapping values with this
2465 parameter.
2466 $contains:
2467 type: array
2468 description: >-
2469 Filter arrays that contain some of the values of this
2470 parameter.
2471 items:
2472 type: string
2473 title: $contains
2474 description: >-
2475 Filter arrays that contain some of the values of
2476 this parameter.
2477 $contained:
2478 type: array
2479 description: >-
2480 Filter arrays that contain all values of this
2481 parameter.
2482 items:
2483 type: string
2484 title: $contained
2485 description: >-
2486 Filter arrays that contain all values of this
2487 parameter.
2488 $exists:
2489 type: boolean
2490 title: $exists
2491 description: >-
2492 Filter by whether a value for this parameter exists
2493 (not `null`).
2494 - type: array
2495 description: Filter by values not in this array.
2496 items:
2497 type: string
2498 title: $not
2499 description: Filter by values not matching this parameter.
2500 - type: array
2501 description: >-
2502 Filter by values not matching the conditions in this
2503 parameter.
2504 items:
2505 oneOf:
2506 - type: string
2507 title: $not
2508 description: Filter by values not matching this parameter.
2509 - type: object
2510 description: >-
2511 Filter by values not matching the conditions in this
2512 parameter.
2513 properties:
2514 $and:
2515 type: array
2516 description: >-
2517 Join query parameters with an AND condition.
2518 Each object's content is the same type as the
2519 expected query parameters.
2520 items:
2521 type: object
2522 title: $and
2523 $or:
2524 type: array
2525 description: >-
2526 Join query parameters with an OR condition. Each
2527 object's content is the same type as the
2528 expected query parameters.
2529 items:
2530 type: object
2531 title: $or
2532 $eq:
2533 oneOf:
2534 - type: string
2535 title: $eq
2536 description: Filter by an exact match.
2537 - type: array
2538 description: Filter by exact matches.
2539 items:
2540 type: string
2541 title: $eq
2542 description: Filter by an exact match.
2543 $ne:
2544 type: string
2545 title: $ne
2546 description: Filter by values not equal to this parameter.
2547 $in:
2548 type: array
2549 description: Filter by values in this array.
2550 items:
2551 type: string
2552 title: $in
2553 description: Filter by exact matches.
2554 $nin:
2555 type: array
2556 description: Filter by values not in this array.
2557 items:
2558 type: string
2559 title: $nin
2560 description: Filter by values not matching this parameter.
2561 $not:
2562 oneOf:
2563 - type: string
2564 title: $not
2565 description: >-
2566 Filter by values not matching this
2567 parameter.
2568 - type: object
2569 description: >-
2570 Filter by values not matching the conditions
2571 in this parameter.
2572 - type: array
2573 description: Filter by values not in this array.
2574 items:
2575 type: string
2576 title: $not
2577 description: >-
2578 Filter by values not matching this
2579 parameter.
2580 $gt:
2581 type: string
2582 title: $gt
2583 description: >-
2584 Filter by values greater than this parameter.
2585 Useful for numbers and dates only.
2586 $gte:
2587 type: string
2588 title: $gte
2589 description: >-
2590 Filter by values greater than or equal to this
2591 parameter. Useful for numbers and dates only.
2592 $lt:
2593 type: string
2594 title: $lt
2595 description: >-
2596 Filter by values less than this parameter.
2597 Useful for numbers and dates only.
2598 $lte:
2599 type: string
2600 title: $lte
2601 description: >-
2602 Filter by values less than or equal to this
2603 parameter. Useful for numbers and dates only.
2604 $like:
2605 type: string
2606 title: $like
2607 description: Apply a `like` filter. Useful for strings only.
2608 $re:
2609 type: string
2610 title: $re
2611 description: Apply a regex filter. Useful for strings only.
2612 $ilike:
2613 type: string
2614 title: $ilike
2615 description: >-
2616 Apply a case-insensitive `like` filter. Useful
2617 for strings only.
2618 $fulltext:
2619 type: string
2620 title: $fulltext
2621 description: Filter to apply on full-text properties.
2622 $overlap:
2623 type: array
2624 description: >-
2625 Filter arrays that have overlapping values with
2626 this parameter.
2627 items:
2628 type: string
2629 title: $overlap
2630 description: >-
2631 Filter arrays that have overlapping values
2632 with this parameter.
2633 $contains:
2634 type: array
2635 description: >-
2636 Filter arrays that contain some of the values of
2637 this parameter.
2638 items:
2639 type: string
2640 title: $contains
2641 description: >-
2642 Filter arrays that contain some of the values
2643 of this parameter.
2644 $contained:
2645 type: array
2646 description: >-
2647 Filter arrays that contain all values of this
2648 parameter.
2649 items:
2650 type: string
2651 title: $contained
2652 description: >-
2653 Filter arrays that contain all values of this
2654 parameter.
2655 $exists:
2656 type: boolean
2657 title: $exists
2658 description: >-
2659 Filter by whether a value for this parameter
2660 exists (not `null`).
2661 $gt:
2662 oneOf:
2663 - type: string
2664 title: $gt
2665 description: >-
2666 Filter by values greater than this parameter. Useful for
2667 numbers and dates only.
2668 - type: array
2669 description: >-
2670 Filter by values greater than items in this array. Useful
2671 for numbers and dates only.
2672 items:
2673 type: string
2674 title: $gt
2675 description: >-
2676 Filter by values greater than this parameter. Useful for
2677 numbers and dates only.
2678 $gte:
2679 oneOf:
2680 - type: string
2681 title: $gte
2682 description: >-
2683 Filter by values greater than or equal to this parameter.
2684 Useful for numbers and dates only.
2685 - type: array
2686 description: >-
2687 Filter by values greater than or equal to items in this
2688 array. Useful for numbers and dates only.
2689 items:
2690 type: string
2691 title: $gte
2692 description: >-
2693 Filter by values greater than or equal to this
2694 parameter. Useful for numbers and dates only.
2695 $lt:
2696 oneOf:
2697 - type: string
2698 title: $lt
2699 description: >-
2700 Filter by values less than this parameter. Useful for
2701 numbers and dates only.
2702 - type: array
2703 description: >-
2704 Filter by values less than items in this array. Useful for
2705 numbers and dates only.
2706 items:
2707 type: string
2708 title: $lt
2709 description: >-
2710 Filter by values less than this parameter. Useful for
2711 numbers and dates only.
2712 $lte:
2713 oneOf:
2714 - type: string
2715 title: $lte
2716 description: >-
2717 Filter by values less than or equal to this parameter.
2718 Useful for numbers and dates only.
2719 - type: array
2720 description: >-
2721 Filter by values less than or equal to items in this
2722 array. Useful for numbers and dates only.
2723 items:
2724 type: string
2725 title: $lte
2726 description: >-
2727 Filter by values less than or equal to this parameter.
2728 Useful for numbers and dates only.
2729 $like:
2730 type: string
2731 title: $like
2732 description: Apply a `like` filter. Useful for strings only.
2733 $re:
2734 type: string
2735 title: $re
2736 description: Apply a regex filter. Useful for strings only.
2737 $ilike:
2738 type: string
2739 title: $ilike
2740 description: >-
2741 Apply a case-insensitive `like` filter. Useful for strings
2742 only.
2743 $fulltext:
2744 type: string
2745 title: $fulltext
2746 description: Filter to apply on full-text properties.
2747 $overlap:
2748 type: array
2749 description: >-
2750 Filter arrays that have overlapping values with this
2751 parameter.
2752 items:
2753 type: string
2754 title: $overlap
2755 description: >-
2756 Filter arrays that have overlapping values with this
2757 parameter.
2758 $contains:
2759 type: array
2760 description: >-
2761 Filter arrays that contain some of the values of this
2762 parameter.
2763 items:
2764 type: string
2765 title: $contains
2766 description: >-
2767 Filter arrays that contain some of the values of this
2768 parameter.
2769 $contained:
2770 type: array
2771 description: Filter arrays that contain all values of this parameter.
2772 items:
2773 type: string
2774 title: $contained
2775 description: Filter arrays that contain all values of this parameter.
2776 $exists:
2777 type: boolean
2778 title: $exists
2779 description: >-
2780 Filter by whether a value for this parameter exists (not
2781 `null`).
2782 - name: created_by
2783 in: query
2784 required: false
2785 schema:
2786 oneOf:
2787 - type: string
2788 title: created_by
2789 description: Filter by a user ID to retrieve the customers they created.
2790 - type: array
2791 description: Filter by user IDs to retrieve customers they created.
2792 items:
2793 type: string
2794 title: created_by
2795 description: A user's ID.
2796 - type: object
2797 description: Filter by conditions on the user ID that created the customer.
2798 properties:
2799 $and:
2800 type: array
2801 description: >-
2802 Join query parameters with an AND condition. Each object's
2803 content is the same type as the expected query parameters.
2804 items:
2805 type: object
2806 title: $and
2807 $or:
2808 type: array
2809 description: >-
2810 Join query parameters with an OR condition. Each object's
2811 content is the same type as the expected query parameters.
2812 items:
2813 type: object
2814 title: $or
2815 $eq:
2816 oneOf:
2817 - type: string
2818 title: $eq
2819 description: Filter by an exact match.
2820 - type: array
2821 description: Filter by exact matches.
2822 items:
2823 type: string
2824 title: $eq
2825 description: Filter by an exact match.
2826 - type: array
2827 description: Filter by exact matches.
2828 items:
2829 oneOf:
2830 - type: string
2831 title: $eq
2832 description: Filter by an exact match.
2833 - type: array
2834 description: Filter by exact matches.
2835 items:
2836 type: string
2837 title: $eq
2838 description: Filter by an exact match.
2839 $ne:
2840 oneOf:
2841 - type: string
2842 title: $ne
2843 description: Filter by values not equal to this parameter.
2844 - type: array
2845 description: Filter by values not in this array.
2846 items:
2847 type: string
2848 title: $ne
2849 description: Filter by values not equal to this parameter.
2850 $in:
2851 type: array
2852 description: Filter by values in this array.
2853 items:
2854 oneOf:
2855 - type: string
2856 title: $in
2857 description: Filter by matching value.
2858 - type: array
2859 description: Filter by values in this array.
2860 items:
2861 type: string
2862 title: $in
2863 description: Filter matching values.
2864 $nin:
2865 type: array
2866 description: Filter by values not in this array.
2867 items:
2868 oneOf:
2869 - type: string
2870 title: $nin
2871 description: Filter by values not matching this parameter.
2872 - type: array
2873 description: Filter by values not in this array.
2874 items:
2875 type: string
2876 title: $nin
2877 description: Filter by values not matching this parameter.
2878 $not:
2879 oneOf:
2880 - type: string
2881 title: $not
2882 description: Filter by values not matching this parameter.
2883 - type: object
2884 description: >-
2885 Filter by values not matching the conditions in this
2886 parameter.
2887 properties:
2888 $and:
2889 type: array
2890 description: >-
2891 Join query parameters with an AND condition. Each
2892 object's content is the same type as the expected
2893 query parameters.
2894 items:
2895 type: object
2896 title: $and
2897 $or:
2898 type: array
2899 description: >-
2900 Join query parameters with an OR condition. Each
2901 object's content is the same type as the expected
2902 query parameters.
2903 items:
2904 type: object
2905 title: $or
2906 $eq:
2907 oneOf:
2908 - type: string
2909 title: $eq
2910 description: Filter by an exact match.
2911 - type: array
2912 description: Filter by exact matches.
2913 items:
2914 type: string
2915 title: $eq
2916 description: Filter by an exact match.
2917 $ne:
2918 type: string
2919 title: $ne
2920 description: Filter by values not equal to this parameter.
2921 $in:
2922 type: array
2923 description: Filter by values in this array.
2924 items:
2925 type: string
2926 title: $in
2927 description: Filter by values in this array.
2928 $nin:
2929 type: array
2930 description: Filter by values not in this array.
2931 items:
2932 type: string
2933 title: $nin
2934 description: Filter by values not in this array.
2935 $not:
2936 oneOf:
2937 - type: string
2938 title: $not
2939 description: Filter by values not matching this parameter.
2940 - type: object
2941 description: >-
2942 Filter by values not matching the conditions in
2943 this parameter.
2944 - type: array
2945 description: Filter by values not in this array.
2946 items:
2947 type: string
2948 title: $not
2949 description: Filter by values not matching this parameter.
2950 $gt:
2951 type: string
2952 title: $gt
2953 description: >-
2954 Filter by values greater than this parameter. Useful
2955 for numbers and dates only.
2956 $gte:
2957 type: string
2958 title: $gte
2959 description: >-
2960 Filter by values greater than or equal to this
2961 parameter. Useful for numbers and dates only.
2962 $lt:
2963 type: string
2964 title: $lt
2965 description: >-
2966 Filter by values less than this parameter. Useful for
2967 numbers and dates only.
2968 $lte:
2969 type: string
2970 title: $lte
2971 description: >-
2972 Filter by values less than or equal to this parameter.
2973 Useful for numbers and dates only.
2974 $like:
2975 type: string
2976 title: $like
2977 description: Apply a `like` filter. Useful for strings only.
2978 $re:
2979 type: string
2980 title: $re
2981 description: Apply a regex filter. Useful for strings only.
2982 $ilike:
2983 type: string
2984 title: $ilike
2985 description: >-
2986 Apply a case-insensitive `like` filter. Useful for
2987 strings only.
2988 $fulltext:
2989 type: string
2990 title: $fulltext
2991 description: Filter to apply on full-text properties.
2992 $overlap:
2993 type: array
2994 description: >-
2995 Filter arrays that have overlapping values with this
2996 parameter.
2997 items:
2998 type: string
2999 title: $overlap
3000 description: >-
3001 Filter arrays that have overlapping values with this
3002 parameter.
3003 $contains:
3004 type: array
3005 description: >-
3006 Filter arrays that contain some of the values of this
3007 parameter.
3008 items:
3009 type: string
3010 title: $contains
3011 description: >-
3012 Filter arrays that contain some of the values of
3013 this parameter.
3014 $contained:
3015 type: array
3016 description: >-
3017 Filter arrays that contain all values of this
3018 parameter.
3019 items:
3020 type: string
3021 title: $contained
3022 description: >-
3023 Filter arrays that contain all values of this
3024 parameter.
3025 $exists:
3026 type: boolean
3027 title: $exists
3028 description: >-
3029 Filter by whether a value for this parameter exists
3030 (not `null`).
3031 - type: array
3032 description: Filter by values not in this array.
3033 items:
3034 type: string
3035 title: $not
3036 description: Filter by values not matching this parameter.
3037 - type: array
3038 description: >-
3039 Filter by values not matching the conditions in this
3040 parameter.
3041 items:
3042 oneOf:
3043 - type: string
3044 title: $not
3045 description: Filter by values not matching this parameter.
3046 - type: object
3047 description: >-
3048 Filter by values not matching the conditions in this
3049 parameter.
3050 properties:
3051 $and:
3052 type: array
3053 description: >-
3054 Join query parameters with an AND condition.
3055 Each object's content is the same type as the
3056 expected query parameters.
3057 items:
3058 type: object
3059 title: $and
3060 $or:
3061 type: array
3062 description: >-
3063 Join query parameters with an OR condition. Each
3064 object's content is the same type as the
3065 expected query parameters.
3066 items:
3067 type: object
3068 title: $or
3069 $eq:
3070 oneOf:
3071 - type: string
3072 title: $eq
3073 description: Filter by an exact match.
3074 - type: array
3075 description: Filter by exact matches.
3076 items:
3077 type: string
3078 title: $eq
3079 description: Filter by an exact match.
3080 $ne:
3081 type: string
3082 title: $ne
3083 description: Filter by values not equal to this parameter.
3084 $in:
3085 type: array
3086 description: Filter by values in this array.
3087 items:
3088 type: string
3089 title: $in
3090 description: Filter by exact matches.
3091 $nin:
3092 type: array
3093 description: Filter by values not in this array.
3094 items:
3095 type: string
3096 title: $nin
3097 description: Filter by values not matching this parameter.
3098 $not:
3099 oneOf:
3100 - type: string
3101 title: $not
3102 description: >-
3103 Filter by values not matching this
3104 parameter.
3105 - type: object
3106 description: >-
3107 Filter by values not matching the conditions
3108 in this parameter.
3109 - type: array
3110 description: Filter by values not in this array.
3111 items:
3112 type: string
3113 title: $not
3114 description: >-
3115 Filter by values not matching this
3116 parameter.
3117 $gt:
3118 type: string
3119 title: $gt
3120 description: >-
3121 Filter by values greater than this parameter.
3122 Useful for numbers and dates only.
3123 $gte:
3124 type: string
3125 title: $gte
3126 description: >-
3127 Filter by values greater than or equal to this
3128 parameter. Useful for numbers and dates only.
3129 $lt:
3130 type: string
3131 title: $lt
3132 description: >-
3133 Filter by values less than this parameter.
3134 Useful for numbers and dates only.
3135 $lte:
3136 type: string
3137 title: $lte
3138 description: >-
3139 Filter by values less than or equal to this
3140 parameter. Useful for numbers and dates only.
3141 $like:
3142 type: string
3143 title: $like
3144 description: Apply a `like` filter. Useful for strings only.
3145 $re:
3146 type: string
3147 title: $re
3148 description: Apply a regex filter. Useful for strings only.
3149 $ilike:
3150 type: string
3151 title: $ilike
3152 description: >-
3153 Apply a case-insensitive `like` filter. Useful
3154 for strings only.
3155 $fulltext:
3156 type: string
3157 title: $fulltext
3158 description: Filter to apply on full-text properties.
3159 $overlap:
3160 type: array
3161 description: >-
3162 Filter arrays that have overlapping values with
3163 this parameter.
3164 items:
3165 type: string
3166 title: $overlap
3167 description: >-
3168 Filter arrays that have overlapping values
3169 with this parameter.
3170 $contains:
3171 type: array
3172 description: >-
3173 Filter arrays that contain some of the values of
3174 this parameter.
3175 items:
3176 type: string
3177 title: $contains
3178 description: >-
3179 Filter arrays that contain some of the values
3180 of this parameter.
3181 $contained:
3182 type: array
3183 description: >-
3184 Filter arrays that contain all values of this
3185 parameter.
3186 items:
3187 type: string
3188 title: $contained
3189 description: >-
3190 Filter arrays that contain all values of this
3191 parameter.
3192 $exists:
3193 type: boolean
3194 title: $exists
3195 description: >-
3196 Filter by whether a value for this parameter
3197 exists (not `null`).
3198 $gt:
3199 oneOf:
3200 - type: string
3201 title: $gt
3202 description: >-
3203 Filter by values greater than this parameter. Useful for
3204 numbers and dates only.
3205 - type: array
3206 description: >-
3207 Filter by values greater than items in this array. Useful
3208 for numbers and dates only.
3209 items:
3210 type: string
3211 title: $gt
3212 description: >-
3213 Filter by values greater than this parameter. Useful for
3214 numbers and dates only.
3215 $gte:
3216 oneOf:
3217 - type: string
3218 title: $gte
3219 description: >-
3220 Filter by values greater than or equal to this parameter.
3221 Useful for numbers and dates only.
3222 - type: array
3223 description: >-
3224 Filter by values greater than or equal to items in this
3225 array. Useful for numbers and dates only.
3226 items:
3227 type: string
3228 title: $gte
3229 description: >-
3230 Filter by values greater than or equal to this
3231 parameter. Useful for numbers and dates only.
3232 $lt:
3233 oneOf:
3234 - type: string
3235 title: $lt
3236 description: >-
3237 Filter by values less than this parameter. Useful for
3238 numbers and dates only.
3239 - type: array
3240 description: >-
3241 Filter by values less than items in this array. Useful for
3242 numbers and dates only.
3243 items:
3244 type: string
3245 title: $lt
3246 description: >-
3247 Filter by values less than this parameter. Useful for
3248 numbers and dates only.
3249 $lte:
3250 oneOf:
3251 - type: string
3252 title: $lte
3253 description: >-
3254 Filter by values less than or equal to this parameter.
3255 Useful for numbers and dates only.
3256 - type: array
3257 description: >-
3258 Filter by values less than or equal to items in this
3259 array. Useful for numbers and dates only.
3260 items:
3261 type: string
3262 title: $lte
3263 description: >-
3264 Filter by values less than or equal to this parameter.
3265 Useful for numbers and dates only.
3266 $like:
3267 type: string
3268 title: $like
3269 description: Apply a `like` filter. Useful for strings only.
3270 $re:
3271 type: string
3272 title: $re
3273 description: Apply a regex filter. Useful for strings only.
3274 $ilike:
3275 type: string
3276 title: $ilike
3277 description: >-
3278 Apply a case-insensitive `like` filter. Useful for strings
3279 only.
3280 $fulltext:
3281 type: string
3282 title: $fulltext
3283 description: Filter to apply on full-text properties.
3284 $overlap:
3285 type: array
3286 description: >-
3287 Filter arrays that have overlapping values with this
3288 parameter.
3289 items:
3290 type: string
3291 title: $overlap
3292 description: >-
3293 Filter arrays that have overlapping values with this
3294 parameter.
3295 $contains:
3296 type: array
3297 description: >-
3298 Filter arrays that contain some of the values of this
3299 parameter.
3300 items:
3301 type: string
3302 title: $contains
3303 description: >-
3304 Filter arrays that contain some of the values of this
3305 parameter.
3306 $contained:
3307 type: array
3308 description: Filter arrays that contain all values of this parameter.
3309 items:
3310 type: string
3311 title: $contained
3312 description: Filter arrays that contain all values of this parameter.
3313 $exists:
3314 type: boolean
3315 title: $exists
3316 description: >-
3317 Filter by whether a value for this parameter exists (not
3318 `null`).
3319 - name: created_at
3320 in: query
3321 description: Filter by the customer's creation date.
3322 required: false
3323 schema:
3324 type: object
3325 description: Filter by the customer's creation date.
3326 properties:
3327 $and:
3328 type: array
3329 description: >-
3330 Join query parameters with an AND condition. Each object's content
3331 is the same type as the expected query parameters.
3332 items:
3333 type: object
3334 title: $and
3335 $or:
3336 type: array
3337 description: >-
3338 Join query parameters with an OR condition. Each object's content
3339 is the same type as the expected query parameters.
3340 items:
3341 type: object
3342 title: $or
3343 $eq:
3344 oneOf:
3345 - type: string
3346 title: $eq
3347 description: Filter by an exact match.
3348 - type: array
3349 description: Filter by multiple exact matches.
3350 items:
3351 type: string
3352 title: $eq
3353 description: An exact match.
3354 $ne:
3355 type: string
3356 title: $ne
3357 description: Filter by values not equal to this parameter.
3358 $in:
3359 type: array
3360 description: Filter by values in this array.
3361 items:
3362 type: string
3363 title: $in
3364 description: The value to match.
3365 $nin:
3366 type: array
3367 description: Filter by values not in this array.
3368 items:
3369 type: string
3370 title: $nin
3371 description: The value not to match.
3372 $not:
3373 oneOf:
3374 - type: string
3375 title: $not
3376 description: Filter by values not matching this parameter.
3377 - type: object
3378 description: >-
3379 Filter by values not matching the conditions in this
3380 parameter.
3381 properties:
3382 $and:
3383 type: array
3384 description: >-
3385 Join query parameters with an AND condition. Each object's
3386 content is the same type as the expected query parameters.
3387 items:
3388 type: object
3389 title: $and
3390 $or:
3391 type: array
3392 description: >-
3393 Join query parameters with an OR condition. Each object's
3394 content is the same type as the expected query parameters.
3395 items:
3396 type: object
3397 title: $or
3398 $eq:
3399 oneOf:
3400 - type: string
3401 title: $eq
3402 description: Filter by an exact match.
3403 - type: array
3404 description: Filter by multiple exact matches.
3405 items:
3406 type: string
3407 title: $eq
3408 description: The value to match.
3409 $ne:
3410 type: string
3411 title: $ne
3412 description: Filter by values not matching this parameter.
3413 $in:
3414 type: array
3415 description: Filter by values in this array.
3416 items:
3417 type: string
3418 title: $in
3419 description: The value to match.
3420 $nin:
3421 type: array
3422 description: Filter by values not in this array.
3423 items:
3424 type: string
3425 title: $nin
3426 description: The value to not match
3427 $not:
3428 oneOf:
3429 - type: string
3430 title: $not
3431 description: Filter by values not matching this parameter
3432 - type: object
3433 description: >-
3434 Filter by values not matching the conditions in this
3435 parameter.
3436 - type: array
3437 description: >-
3438 Filter by values not matching the values of this
3439 parameter.
3440 items:
3441 type: string
3442 title: $not
3443 description: The values to not match.
3444 $gt:
3445 type: string
3446 title: $gt
3447 description: >-
3448 Filter by values greater than this parameter. Useful for
3449 numbers and dates only.
3450 $gte:
3451 type: string
3452 title: $gte
3453 description: >-
3454 Filter by values greater than or equal to this parameter.
3455 Useful for numbers and dates only.
3456 $lt:
3457 type: string
3458 title: $lt
3459 description: >-
3460 Filter by values less than this parameter. Useful for
3461 numbers and dates only.
3462 $lte:
3463 type: string
3464 title: $lte
3465 description: >-
3466 Filter by values less than or equal to this parameter.
3467 Useful for numbers and dates only.
3468 $like:
3469 type: string
3470 title: $like
3471 description: Apply a `like` filter. Useful for strings only.
3472 $re:
3473 type: string
3474 title: $re
3475 description: Apply a regex filter. Useful for strings only.
3476 $ilike:
3477 type: string
3478 title: $ilike
3479 description: >-
3480 Apply a case-insensitive `like` filter. Useful for strings
3481 only.
3482 $fulltext:
3483 type: string
3484 title: $fulltext
3485 description: Filter to apply on full-text properties.
3486 $overlap:
3487 type: array
3488 description: >-
3489 Filter arrays that have overlapping values with this
3490 parameter.
3491 items:
3492 type: string
3493 title: $overlap
3494 description: The value to match.
3495 $contains:
3496 type: array
3497 description: >-
3498 Filter arrays that contain some of the values of this
3499 parameter.
3500 items:
3501 type: string
3502 title: $contains
3503 description: The values to match.
3504 $contained:
3505 type: array
3506 description: Filter arrays that contain all values of this parameter.
3507 items:
3508 type: string
3509 title: $contained
3510 description: The values to match.
3511 $exists:
3512 type: boolean
3513 title: $exists
3514 description: >-
3515 Filter by whether a value for this parameter exists (not
3516 `null`).
3517 - type: array
3518 description: Filter by values not matching those in this parameter.
3519 items:
3520 type: string
3521 title: $not
3522 description: The values to not match.
3523 $gt:
3524 type: string
3525 title: $gt
3526 description: >-
3527 Filter by values greater than this parameter. Useful for numbers
3528 and dates only.
3529 $gte:
3530 type: string
3531 title: $gte
3532 description: >-
3533 Filter by values greater than or equal to this parameter. Useful
3534 for numbers and dates only.
3535 $lt:
3536 type: string
3537 title: $lt
3538 description: >-
3539 Filter by values less than this parameter. Useful for numbers and
3540 dates only.
3541 $lte:
3542 type: string
3543 title: $lte
3544 description: >-
3545 Filter by values less than or equal to this parameter. Useful for
3546 numbers and dates only.
3547 $like:
3548 type: string
3549 title: $like
3550 description: Apply a `like` filter. Useful for strings only.
3551 $re:
3552 type: string
3553 title: $re
3554 description: Apply a regex filter. Useful for strings only.
3555 $ilike:
3556 type: string
3557 title: $ilike
3558 description: Apply a case-insensitive `like` filter. Useful for strings only.
3559 $fulltext:
3560 type: string
3561 title: $fulltext
3562 description: Filter to apply on full-text properties.
3563 $overlap:
3564 type: array
3565 description: Filter arrays that have overlapping values with this parameter.
3566 items:
3567 type: string
3568 title: $overlap
3569 description: The values to match.
3570 $contains:
3571 type: array
3572 description: Filter arrays that contain some of the values of this parameter.
3573 items:
3574 type: string
3575 title: $contains
3576 description: The values to match.
3577 $contained:
3578 type: array
3579 description: Filter arrays that contain all values of this parameter.
3580 items:
3581 type: string
3582 title: $contained
3583 description: The values to match.
3584 $exists:
3585 type: boolean
3586 title: $exists
3587 description: Filter by whether a value for this parameter exists (not `null`).
3588 title: created_at
3589 - name: updated_at
3590 in: query
3591 description: Filter by a customer's update date.
3592 required: false
3593 schema:
3594 type: object
3595 description: Filter by a customer's update date.
3596 properties:
3597 $and:
3598 type: array
3599 description: >-
3600 Join query parameters with an AND condition. Each object's content
3601 is the same type as the expected query parameters.
3602 items:
3603 type: object
3604 title: $and
3605 $or:
3606 type: array
3607 description: >-
3608 Join query parameters with an OR condition. Each object's content
3609 is the same type as the expected query parameters.
3610 items:
3611 type: object
3612 title: $or
3613 $eq:
3614 oneOf:
3615 - type: string
3616 title: $eq
3617 description: Filter by an exact match.
3618 - type: array
3619 description: Filter by multiple exact matches.
3620 items:
3621 type: string
3622 title: $eq
3623 description: An exact match.
3624 $ne:
3625 type: string
3626 title: $ne
3627 description: Filter by values not equal to this parameter.
3628 $in:
3629 type: array
3630 description: Filter by values in this array.
3631 items:
3632 type: string
3633 title: $in
3634 description: The value to match.
3635 $nin:
3636 type: array
3637 description: Filter by values not in this array.
3638 items:
3639 type: string
3640 title: $nin
3641 description: The value not to match.
3642 $not:
3643 oneOf:
3644 - type: string
3645 title: $not
3646 description: Filter by values not matching this parameter.
3647 - type: object
3648 description: >-
3649 Filter by values not matching the conditions in this
3650 parameter.
3651 properties:
3652 $and:
3653 type: array
3654 description: >-
3655 Join query parameters with an AND condition. Each object's
3656 content is the same type as the expected query parameters.
3657 items:
3658 type: object
3659 title: $and
3660 $or:
3661 type: array
3662 description: >-
3663 Join query parameters with an OR condition. Each object's
3664 content is the same type as the expected query parameters.
3665 items:
3666 type: object
3667 title: $or
3668 $eq:
3669 oneOf:
3670 - type: string
3671 title: $eq
3672 description: Filter by an exact match.
3673 - type: array
3674 description: Filter by multiple exact matches.
3675 items:
3676 type: string
3677 title: $eq
3678 description: The value to match.
3679 $ne:
3680 type: string
3681 title: $ne
3682 description: Filter by values not matching this parameter.
3683 $in:
3684 type: array
3685 description: Filter by values in this array.
3686 items:
3687 type: string
3688 title: $in
3689 description: The value to match.
3690 $nin:
3691 type: array
3692 description: Filter by values not in this array.
3693 items:
3694 type: string
3695 title: $nin
3696 description: The value to not match
3697 $not:
3698 oneOf:
3699 - type: string
3700 title: $not
3701 description: Filter by values not matching this parameter
3702 - type: object
3703 description: >-
3704 Filter by values not matching the conditions in this
3705 parameter.
3706 - type: array
3707 description: >-
3708 Filter by values not matching the values of this
3709 parameter.
3710 items:
3711 type: string
3712 title: $not
3713 description: The values to not match.
3714 $gt:
3715 type: string
3716 title: $gt
3717 description: >-
3718 Filter by values greater than this parameter. Useful for
3719 numbers and dates only.
3720 $gte:
3721 type: string
3722 title: $gte
3723 description: >-
3724 Filter by values greater than or equal to this parameter.
3725 Useful for numbers and dates only.
3726 $lt:
3727 type: string
3728 title: $lt
3729 description: >-
3730 Filter by values less than this parameter. Useful for
3731 numbers and dates only.
3732 $lte:
3733 type: string
3734 title: $lte
3735 description: >-
3736 Filter by values less than or equal to this parameter.
3737 Useful for numbers and dates only.
3738 $like:
3739 type: string
3740 title: $like
3741 description: Apply a `like` filter. Useful for strings only.
3742 $re:
3743 type: string
3744 title: $re
3745 description: Apply a regex filter. Useful for strings only.
3746 $ilike:
3747 type: string
3748 title: $ilike
3749 description: >-
3750 Apply a case-insensitive `like` filter. Useful for strings
3751 only.
3752 $fulltext:
3753 type: string
3754 title: $fulltext
3755 description: Filter to apply on full-text properties.
3756 $overlap:
3757 type: array
3758 description: >-
3759 Filter arrays that have overlapping values with this
3760 parameter.
3761 items:
3762 type: string
3763 title: $overlap
3764 description: The value to match.
3765 $contains:
3766 type: array
3767 description: >-
3768 Filter arrays that contain some of the values of this
3769 parameter.
3770 items:
3771 type: string
3772 title: $contains
3773 description: The values to match.
3774 $contained:
3775 type: array
3776 description: Filter arrays that contain all values of this parameter.
3777 items:
3778 type: string
3779 title: $contained
3780 description: The values to match.
3781 $exists:
3782 type: boolean
3783 title: $exists
3784 description: >-
3785 Filter by whether a value for this parameter exists (not
3786 `null`).
3787 - type: array
3788 description: Filter by values not matching those in this parameter.
3789 items:
3790 type: string
3791 title: $not
3792 description: The values to not match.
3793 $gt:
3794 type: string
3795 title: $gt
3796 description: >-
3797 Filter by values greater than this parameter. Useful for numbers
3798 and dates only.
3799 $gte:
3800 type: string
3801 title: $gte
3802 description: >-
3803 Filter by values greater than or equal to this parameter. Useful
3804 for numbers and dates only.
3805 $lt:
3806 type: string
3807 title: $lt
3808 description: >-
3809 Filter by values less than this parameter. Useful for numbers and
3810 dates only.
3811 $lte:
3812 type: string
3813 title: $lte
3814 description: >-
3815 Filter by values less than or equal to this parameter. Useful for
3816 numbers and dates only.
3817 $like:
3818 type: string
3819 title: $like
3820 description: Apply a `like` filter. Useful for strings only.
3821 $re:
3822 type: string
3823 title: $re
3824 description: Apply a regex filter. Useful for strings only.
3825 $ilike:
3826 type: string
3827 title: $ilike
3828 description: Apply a case-insensitive `like` filter. Useful for strings only.
3829 $fulltext:
3830 type: string
3831 title: $fulltext
3832 description: Filter to apply on full-text properties.
3833 $overlap:
3834 type: array
3835 description: Filter arrays that have overlapping values with this parameter.
3836 items:
3837 type: string
3838 title: $overlap
3839 description: The values to match.
3840 $contains:
3841 type: array
3842 description: Filter arrays that contain some of the values of this parameter.
3843 items:
3844 type: string
3845 title: $contains
3846 description: The values to match.
3847 $contained:
3848 type: array
3849 description: Filter arrays that contain all values of this parameter.
3850 items:
3851 type: string
3852 title: $contained
3853 description: The values to match.
3854 $exists:
3855 type: boolean
3856 title: $exists
3857 description: Filter by whether a value for this parameter exists (not `null`).
3858 title: updated_at
3859 - name: deleted_at
3860 in: query
3861 description: Filter a customer by their deletion date.
3862 required: false
3863 schema:
3864 type: object
3865 description: Filter a customer by their deletion date.
3866 properties:
3867 $and:
3868 type: array
3869 description: >-
3870 Join query parameters with an AND condition. Each object's content
3871 is the same type as the expected query parameters.
3872 items:
3873 type: object
3874 title: $and
3875 $or:
3876 type: array
3877 description: >-
3878 Join query parameters with an OR condition. Each object's content
3879 is the same type as the expected query parameters.
3880 items:
3881 type: object
3882 title: $or
3883 $eq:
3884 oneOf:
3885 - type: string
3886 title: $eq
3887 description: Filter by an exact match.
3888 - type: array
3889 description: Filter by multiple exact matches.
3890 items:
3891 type: string
3892 title: $eq
3893 description: An exact match.
3894 $ne:
3895 type: string
3896 title: $ne
3897 description: Filter by values not equal to this parameter.
3898 $in:
3899 type: array
3900 description: Filter by values in this array.
3901 items:
3902 type: string
3903 title: $in
3904 description: The value to match.
3905 $nin:
3906 type: array
3907 description: Filter by values not in this array.
3908 items:
3909 type: string
3910 title: $nin
3911 description: The value not to match.
3912 $not:
3913 oneOf:
3914 - type: string
3915 title: $not
3916 description: Filter by values not matching this parameter.
3917 - type: object
3918 description: >-
3919 Filter by values not matching the conditions in this
3920 parameter.
3921 properties:
3922 $and:
3923 type: array
3924 description: >-
3925 Join query parameters with an AND condition. Each object's
3926 content is the same type as the expected query parameters.
3927 items:
3928 type: object
3929 title: $and
3930 $or:
3931 type: array
3932 description: >-
3933 Join query parameters with an OR condition. Each object's
3934 content is the same type as the expected query parameters.
3935 items:
3936 type: object
3937 title: $or
3938 $eq:
3939 oneOf:
3940 - type: string
3941 title: $eq
3942 description: Filter by an exact match.
3943 - type: array
3944 description: Filter by multiple exact matches.
3945 items:
3946 type: string
3947 title: $eq
3948 description: The value to match.
3949 $ne:
3950 type: string
3951 title: $ne
3952 description: Filter by values not matching this parameter.
3953 $in:
3954 type: array
3955 description: Filter by values in this array.
3956 items:
3957 type: string
3958 title: $in
3959 description: The value to match.
3960 $nin:
3961 type: array
3962 description: Filter by values not in this array.
3963 items:
3964 type: string
3965 title: $nin
3966 description: The value to not match
3967 $not:
3968 oneOf:
3969 - type: string
3970 title: $not
3971 description: Filter by values not matching this parameter
3972 - type: object
3973 description: >-
3974 Filter by values not matching the conditions in this
3975 parameter.
3976 - type: array
3977 description: >-
3978 Filter by values not matching the values of this
3979 parameter.
3980 items:
3981 type: string
3982 title: $not
3983 description: The values to not match.
3984 $gt:
3985 type: string
3986 title: $gt
3987 description: >-
3988 Filter by values greater than this parameter. Useful for
3989 numbers and dates only.
3990 $gte:
3991 type: string
3992 title: $gte
3993 description: >-
3994 Filter by values greater than or equal to this parameter.
3995 Useful for numbers and dates only.
3996 $lt:
3997 type: string
3998 title: $lt
3999 description: >-
4000 Filter by values less than this parameter. Useful for
4001 numbers and dates only.
4002 $lte:
4003 type: string
4004 title: $lte
4005 description: >-
4006 Filter by values less than or equal to this parameter.
4007 Useful for numbers and dates only.
4008 $like:
4009 type: string
4010 title: $like
4011 description: Apply a `like` filter. Useful for strings only.
4012 $re:
4013 type: string
4014 title: $re
4015 description: Apply a regex filter. Useful for strings only.
4016 $ilike:
4017 type: string
4018 title: $ilike
4019 description: >-
4020 Apply a case-insensitive `like` filter. Useful for strings
4021 only.
4022 $fulltext:
4023 type: string
4024 title: $fulltext
4025 description: Filter to apply on full-text properties.
4026 $overlap:
4027 type: array
4028 description: >-
4029 Filter arrays that have overlapping values with this
4030 parameter.
4031 items:
4032 type: string
4033 title: $overlap
4034 description: The value to match.
4035 $contains:
4036 type: array
4037 description: >-
4038 Filter arrays that contain some of the values of this
4039 parameter.
4040 items:
4041 type: string
4042 title: $contains
4043 description: The values to match.
4044 $contained:
4045 type: array
4046 description: Filter arrays that contain all values of this parameter.
4047 items:
4048 type: string
4049 title: $contained
4050 description: The values to match.
4051 $exists:
4052 type: boolean
4053 title: $exists
4054 description: >-
4055 Filter by whether a value for this parameter exists (not
4056 `null`).
4057 - type: array
4058 description: Filter by values not matching those in this parameter.
4059 items:
4060 type: string
4061 title: $not
4062 description: The values to not match.
4063 $gt:
4064 type: string
4065 title: $gt
4066 description: >-
4067 Filter by values greater than this parameter. Useful for numbers
4068 and dates only.
4069 $gte:
4070 type: string
4071 title: $gte
4072 description: >-
4073 Filter by values greater than or equal to this parameter. Useful
4074 for numbers and dates only.
4075 $lt:
4076 type: string
4077 title: $lt
4078 description: >-
4079 Filter by values less than this parameter. Useful for numbers and
4080 dates only.
4081 $lte:
4082 type: string
4083 title: $lte
4084 description: >-
4085 Filter by values less than or equal to this parameter. Useful for
4086 numbers and dates only.
4087 $like:
4088 type: string
4089 title: $like
4090 description: Apply a `like` filter. Useful for strings only.
4091 $re:
4092 type: string
4093 title: $re
4094 description: Apply a regex filter. Useful for strings only.
4095 $ilike:
4096 type: string
4097 title: $ilike
4098 description: Apply a case-insensitive `like` filter. Useful for strings only.
4099 $fulltext:
4100 type: string
4101 title: $fulltext
4102 description: Filter to apply on full-text properties.
4103 $overlap:
4104 type: array
4105 description: Filter arrays that have overlapping values with this parameter.
4106 items:
4107 type: string
4108 title: $overlap
4109 description: The values to match.
4110 $contains:
4111 type: array
4112 description: Filter arrays that contain some of the values of this parameter.
4113 items:
4114 type: string
4115 title: $contains
4116 description: The values to match.
4117 $contained:
4118 type: array
4119 description: Filter arrays that contain all values of this parameter.
4120 items:
4121 type: string
4122 title: $contained
4123 description: The values to match.
4124 $exists:
4125 type: boolean
4126 title: $exists
4127 description: Filter by whether a value for this parameter exists (not `null`).
4128 title: deleted_at
4129 - name: $and
4130 in: query
4131 description: >-
4132 Join query parameters with an AND condition. Each object's content is
4133 the same type as the expected query parameters.
4134 required: false
4135 schema:
4136 type: array
4137 description: >-
4138 Join query parameters with an AND condition. Each object's content is
4139 the same type as the expected query parameters.
4140 items:
4141 type: object
4142 title: $and
4143 - name: $or
4144 in: query
4145 description: >-
4146 Join query parameters with an OR condition. Each object's content is the
4147 same type as the expected query parameters.
4148 required: false
4149 schema:
4150 type: array
4151 description: >-
4152 Join query parameters with an OR condition. Each object's content is
4153 the same type as the expected query parameters.
4154 items:
4155 type: object
4156 title: $or
4157 - name: has_account
4158 in: query
4159 description: Filter by whether the customer is registered.
4160 required: false
4161 schema:
4162 type: boolean
4163 title: has_account
4164 description: Filter by whether the customer is registered.
4165 - name: with_deleted
4166 in: query
4167 description: Whether to include deleted records in the result.
4168 required: false
4169 schema:
4170 type: boolean
4171 title: with_deleted
4172 description: Whether to include deleted records in the result.
4173 security:
4174 - api_token: []
4175 - cookie_auth: []
4176 - jwt_token: []
4177 x-codeSamples:
4178 - lang: JavaScript
4179 label: JS SDK
4180 source:
4181 $ref: ../code_samples/JavaScript/admin_customers/get.js
4182 - lang: Shell
4183 label: cURL
4184 source:
4185 $ref: ../code_samples/Shell/admin_customers/get.sh
4186 tags:
4187 - Customers
4188 responses:
4189 '200':
4190 description: OK
4191 content:
4192 application/json:
4193 schema:
4194 allOf:
4195 - type: object
4196 description: The paginated list of customers.
4197 required:
4198 - limit
4199 - offset
4200 - count
4201 properties:
4202 limit:
4203 type: number
4204 title: limit
4205 description: The maximum number of items returned in the list.
4206 offset:
4207 type: number
4208 title: offset
4209 description: >-
4210 The number of items skipped before retrieving the returned
4211 items.
4212 count:
4213 type: number
4214 title: count
4215 description: The total number of items.
4216 - type: object
4217 description: The paginated list of customers.
4218 required:
4219 - customers
4220 properties:
4221 customers:
4222 $ref: ../components/schemas/AdminCustomer.yaml
4223 '400':
4224 $ref: ../components/responses/400_error.yaml
4225 '401':
4226 $ref: ../components/responses/unauthorized.yaml
4227 '404':
4228 $ref: ../components/responses/not_found_error.yaml
4229 '409':
4230 $ref: ../components/responses/invalid_state_error.yaml
4231 '422':
4232 $ref: ../components/responses/invalid_request_error.yaml
4233 '500':
4234 $ref: ../components/responses/500_error.yaml
4235 post:
4236 operationId: PostCustomers
4237 summary: Create Customer
4238 description: Create a customer.
4239 x-authenticated: true
4240 parameters:
4241 - name: fields
4242 in: query
4243 description: >-
4244 Comma-separated fields that should be included in the returned data. if
4245 a field is prefixed with `+` it will be added to the default fields,
4246 using `-` will remove it from the default fields. without prefix it will
4247 replace the entire default fields. This API route restricts the fields
4248 that can be selected. Learn how to override the retrievable fields in
4249 the [Retrieve Custom
4250 Links](https://docs.medusajs.com/learn/fundamentals/api-routes/retrieve-custom-links)
4251 documentation.
4252 required: false
4253 schema:
4254 type: string
4255 title: fields
4256 description: >-
4257 Comma-separated fields that should be included in the returned data.
4258 if a field is prefixed with `+` it will be added to the default
4259 fields, using `-` will remove it from the default fields. without
4260 prefix it will replace the entire default fields. This API route
4261 restricts the fields that can be selected. Learn how to override the
4262 retrievable fields in the [Retrieve Custom
4263 Links](https://docs.medusajs.com/learn/fundamentals/api-routes/retrieve-custom-links)
4264 documentation.
4265 externalDocs:
4266 url: '#select-fields-and-relations'
4267 security:
4268 - api_token: []
4269 - cookie_auth: []
4270 - jwt_token: []
4271 requestBody:
4272 content:
4273 application/json:
4274 schema:
4275 allOf:
4276 - type: object
4277 description: The customer's details.
4278 required:
4279 - email
4280 - company_name
4281 - first_name
4282 - last_name
4283 - phone
4284 - metadata
4285 properties:
4286 email:
4287 type: string
4288 title: email
4289 description: The customer's email.
4290 format: email
4291 company_name:
4292 type: string
4293 title: company_name
4294 description: The customer's company name.
4295 first_name:
4296 type: string
4297 title: first_name
4298 description: The customer's first name.
4299 last_name:
4300 type: string
4301 title: last_name
4302 description: The customer's last name.
4303 phone:
4304 type: string
4305 title: phone
4306 description: The customer's phone.
4307 metadata:
4308 type: object
4309 description: The customer's metadata.
4310 - type: object
4311 description: The customer's details.
4312 properties:
4313 additional_data:
4314 type: object
4315 description: >-
4316 Pass additional custom data to the API route. This data is
4317 passed to the underlying workflow under the
4318 `additional_data` parameter.
4319 description: The customer's details.
4320 x-codeSamples:
4321 - lang: JavaScript
4322 label: JS SDK
4323 source:
4324 $ref: ../code_samples/JavaScript/admin_customers/post.js
4325 - lang: Shell
4326 label: cURL
4327 source:
4328 $ref: ../code_samples/Shell/admin_customers/post.sh
4329 tags:
4330 - Customers
4331 responses:
4332 '200':
4333 description: OK
4334 content:
4335 application/json:
4336 schema:
4337 $ref: ../components/schemas/AdminCustomerResponse.yaml
4338 '400':
4339 $ref: ../components/responses/400_error.yaml
4340 '401':
4341 $ref: ../components/responses/unauthorized.yaml
4342 '404':
4343 $ref: ../components/responses/not_found_error.yaml
4344 '409':
4345 $ref: ../components/responses/invalid_state_error.yaml
4346 '422':
4347 $ref: ../components/responses/invalid_request_error.yaml
4348 '500':
4349 $ref: ../components/responses/500_error.yaml
4350 x-workflow: createCustomersWorkflow
4351 x-events:
4352 - name: customer.created
4353 payload: |-
4354 ```ts
4355 {
4356 id, // The ID of the customer
4357 }
4358 ```
4359 description: Emitted when a customer is created.
4360 deprecated: false