1 post:
2 operationId: PostStockLocationsIdFulfillmentProviders
3 summary: Manage Fulfillment Providers of a Stock Location
4 x-sidebar-summary: Manage Fulfillment Providers
5 description: >-
6 Manage the fulfillment providers to add or remove them from a stock
7 location.
8 x-authenticated: true
9 parameters:
10 - name: id
11 in: path
12 description: The stock location's ID.
13 required: true
14 schema:
15 type: string
16 - name: fields
17 in: query
18 description: >-
19 Comma-separated fields that should be included in the returned data. if
20 a field is prefixed with `+` it will be added to the default fields,
21 using `-` will remove it from the default fields. without prefix it will
22 replace the entire default fields.
23 required: false
24 schema:
25 type: string
26 title: fields
27 description: >-
28 Comma-separated fields that should be included in the returned data.
29 if a field is prefixed with `+` it will be added to the default
30 fields, using `-` will remove it from the default fields. without
31 prefix it will replace the entire default fields.
32 externalDocs:
33 url: '#select-fields-and-relations'
34 security:
35 - api_token: []
36 - cookie_auth: []
37 - jwt_token: []
38 requestBody:
39 content:
40 application/json:
41 schema:
42 $ref: ../components/schemas/AdminBatchLink.yaml
43 x-codeSamples:
44 - lang: JavaScript
45 label: JS SDK
46 source:
47 $ref: >-
48 ../code_samples/JavaScript/admin_stock-locations_{id}_fulfillment-providers/post.js
49 - lang: Shell
50 label: cURL
51 source:
52 $ref: >-
53 ../code_samples/Shell/admin_stock-locations_{id}_fulfillment-providers/post.sh
54 tags:
55 - Stock Locations
56 responses:
57 '200':
58 description: OK
59 content:
60 application/json:
61 schema:
62 $ref: ../components/schemas/AdminStockLocationResponse.yaml
63 '400':
64 $ref: ../components/responses/400_error.yaml
65 '401':
66 $ref: ../components/responses/unauthorized.yaml
67 '404':
68 $ref: ../components/responses/not_found_error.yaml
69 '409':
70 $ref: ../components/responses/invalid_state_error.yaml
71 '422':
72 $ref: ../components/responses/invalid_request_error.yaml
73 '500':
74 $ref: ../components/responses/500_error.yaml
75 x-workflow: batchLinksWorkflow
76 x-events: []