|
1
|
get: |
|
2
|
operationId: GetFulfillmentProviders |
|
3
|
summary: List Fulfillment Providers |
|
4
|
description: >- |
|
5
|
Retrieve a list of fulfillment providers. The fulfillment providers can be |
|
6
|
filtered by fields such as `id`. The fulfillment providers can also be |
|
7
|
sorted or paginated. |
|
8
|
x-authenticated: true |
|
9
|
parameters: |
|
10
|
- name: fields |
|
11
|
in: query |
|
12
|
description: >- |
|
13
|
Comma-separated fields that should be included in the returned data. if |
|
14
|
a field is prefixed with `+` it will be added to the default fields, |
|
15
|
using `-` will remove it from the default fields. without prefix it will |
|
16
|
replace the entire default fields. |
|
17
|
required: false |
|
18
|
schema: |
|
19
|
type: string |
|
20
|
title: fields |
|
21
|
description: >- |
|
22
|
Comma-separated fields that should be included in the returned data. |
|
23
|
if a field is prefixed with `+` it will be added to the default |
|
24
|
fields, using `-` will remove it from the default fields. without |
|
25
|
prefix it will replace the entire default fields. |
|
26
|
externalDocs: |
|
27
|
url: '#select-fields-and-relations' |
|
28
|
- name: offset |
|
29
|
in: query |
|
30
|
description: The number of items to skip when retrieving a list. |
|
31
|
required: false |
|
32
|
schema: |
|
33
|
type: number |
|
34
|
title: offset |
|
35
|
description: The number of items to skip when retrieving a list. |
|
36
|
externalDocs: |
|
37
|
url: '#pagination' |
|
38
|
- name: limit |
|
39
|
in: query |
|
40
|
description: Limit the number of items returned in the list. |
|
41
|
required: false |
|
42
|
schema: |
|
43
|
type: number |
|
44
|
title: limit |
|
45
|
description: Limit the number of items returned in the list. |
|
46
|
externalDocs: |
|
47
|
url: '#pagination' |
|
48
|
- name: order |
|
49
|
in: query |
|
50
|
description: >- |
|
51
|
The field to sort the data by. By default, the sort order is ascending. |
|
52
|
To change the order to descending, prefix the field name with `-`. |
|
53
|
required: false |
|
54
|
schema: |
|
55
|
type: string |
|
56
|
title: order |
|
57
|
description: >- |
|
58
|
The field to sort the data by. By default, the sort order is |
|
59
|
ascending. To change the order to descending, prefix the field name |
|
60
|
with `-`. |
|
61
|
- name: id |
|
62
|
in: query |
|
63
|
required: false |
|
64
|
schema: |
|
65
|
oneOf: |
|
66
|
- type: string |
|
67
|
title: id |
|
68
|
description: Filter by a fulfillment provider's ID. |
|
69
|
- type: array |
|
70
|
description: Filter by fulfillment provider IDs. |
|
71
|
items: |
|
72
|
type: string |
|
73
|
title: id |
|
74
|
description: A fulfillment provider ID. |
|
75
|
- name: is_enabled |
|
76
|
in: query |
|
77
|
description: Filter by whether the fulfillment provider is enabled. |
|
78
|
required: false |
|
79
|
schema: |
|
80
|
type: boolean |
|
81
|
title: is_enabled |
|
82
|
description: Filter by whether the fulfillment provider is enabled. |
|
83
|
- name: q |
|
84
|
in: query |
|
85
|
description: Search term to filter a fulfillment provider's searchable properties. |
|
86
|
required: false |
|
87
|
schema: |
|
88
|
type: string |
|
89
|
title: q |
|
90
|
description: Search term to filter a fulfillment provider's searchable properties. |
|
91
|
- name: stock_location_id |
|
92
|
in: query |
|
93
|
required: false |
|
94
|
schema: |
|
95
|
oneOf: |
|
96
|
- type: string |
|
97
|
title: stock_location_id |
|
98
|
description: Filter by associated stock location's ID. |
|
99
|
- type: array |
|
100
|
description: Filter by associated stock location IDs. |
|
101
|
items: |
|
102
|
type: string |
|
103
|
title: stock_location_id |
|
104
|
description: A stock location's ID. |
|
105
|
- name: with_deleted |
|
106
|
in: query |
|
107
|
description: Whether to include deleted records in the result. |
|
108
|
required: false |
|
109
|
schema: |
|
110
|
type: boolean |
|
111
|
title: with_deleted |
|
112
|
description: Whether to include deleted records in the result. |
|
113
|
security: |
|
114
|
- api_token: [] |
|
115
|
- cookie_auth: [] |
|
116
|
- jwt_token: [] |
|
117
|
x-codeSamples: |
|
118
|
- lang: JavaScript |
|
119
|
label: JS SDK |
|
120
|
source: |
|
121
|
$ref: ../code_samples/JavaScript/admin_fulfillment-providers/get.js |
|
122
|
- lang: Shell |
|
123
|
label: cURL |
|
124
|
source: |
|
125
|
$ref: ../code_samples/Shell/admin_fulfillment-providers/get.sh |
|
126
|
tags: |
|
127
|
- Fulfillment Providers |
|
128
|
responses: |
|
129
|
'200': |
|
130
|
description: OK |
|
131
|
content: |
|
132
|
application/json: |
|
133
|
schema: |
|
134
|
$ref: ../components/schemas/AdminFulfillmentProviderListResponse.yaml |
|
135
|
'400': |
|
136
|
$ref: ../components/responses/400_error.yaml |
|
137
|
'401': |
|
138
|
$ref: ../components/responses/unauthorized.yaml |
|
139
|
'404': |
|
140
|
$ref: ../components/responses/not_found_error.yaml |
|
141
|
'409': |
|
142
|
$ref: ../components/responses/invalid_state_error.yaml |
|
143
|
'422': |
|
144
|
$ref: ../components/responses/invalid_request_error.yaml |
|
145
|
'500': |
|
146
|
$ref: ../components/responses/500_error.yaml |