post: operationId: PostTaxRatesTaxRateShippingOptions summary: Add to Shipping Options description: Associates a Tax Rate with a list of Shipping Options parameters: - in: path name: id required: true description: ID of the tax rate. schema: type: string - in: query name: fields description: Which fields should be included in the result. style: form explode: false schema: type: array items: type: string - in: query name: expand description: Which fields should be expanded and retrieved in the result. style: form explode: false schema: type: array items: type: string x-authenticated: true requestBody: content: application/json: schema: $ref: >- ../components/schemas/AdminPostTaxRatesTaxRateShippingOptionsReq.yaml x-codeSamples: - lang: JavaScript label: JS Client source: $ref: >- ../code_samples/JavaScript/tax-rates_{id}_shipping-options_batch/postundefined - lang: Shell label: cURL source: $ref: >- ../code_samples/Shell/tax-rates_{id}_shipping-options_batch/postundefined security: - api_token: [] - cookie_auth: [] tags: - Tax Rate responses: '200': description: OK content: application/json: schema: type: object properties: tax_rate: $ref: ../components/schemas/TaxRate.yaml '400': $ref: ../components/responses/400_error.yaml '401': $ref: ../components/responses/unauthorized.yaml '404': $ref: ../components/responses/not_found_error.yaml '409': $ref: ../components/responses/invalid_state_error.yaml '422': $ref: ../components/responses/invalid_request_error.yaml '500': $ref: ../components/responses/500_error.yaml delete: operationId: DeleteTaxRatesTaxRateShippingOptions summary: Del. for Shipping Options description: Removes a Tax Rate from a list of Shipping Options parameters: - in: path name: id required: true description: ID of the tax rate. schema: type: string - in: query name: fields description: Which fields should be included in the result. style: form explode: false schema: type: array items: type: string - in: query name: expand description: Which fields should be expanded and retrieved in the result. style: form explode: false schema: type: array items: type: string x-authenticated: true requestBody: content: application/json: schema: $ref: >- ../components/schemas/AdminDeleteTaxRatesTaxRateShippingOptionsReq.yaml x-codeSamples: - lang: JavaScript label: JS Client source: $ref: >- ../code_samples/JavaScript/tax-rates_{id}_shipping-options_batch/deleteundefined - lang: Shell label: cURL source: $ref: >- ../code_samples/Shell/tax-rates_{id}_shipping-options_batch/deleteundefined security: - api_token: [] - cookie_auth: [] tags: - Tax Rate responses: '200': description: OK content: application/json: schema: type: object properties: tax_rate: $ref: ../components/schemas/TaxRate.yaml '400': $ref: ../components/responses/400_error.yaml '401': $ref: ../components/responses/unauthorized.yaml '404': $ref: ../components/responses/not_found_error.yaml '409': $ref: ../components/responses/invalid_state_error.yaml '422': $ref: ../components/responses/invalid_request_error.yaml '500': $ref: ../components/responses/500_error.yaml