@shipengine/connect-fulfillment-provider-api 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -0
- package/jest.config.ts +5 -0
- package/lib/app/connector.d.ts +7 -0
- package/lib/app/connector.js +3 -0
- package/lib/app/connector.js.map +1 -0
- package/lib/app/diagnostic-routes.d.ts +5 -0
- package/lib/app/diagnostic-routes.js +3 -0
- package/lib/app/diagnostic-routes.js.map +1 -0
- package/lib/app/fulfillment-provider-app-definition.d.ts +41 -0
- package/lib/app/fulfillment-provider-app-definition.js +3 -0
- package/lib/app/fulfillment-provider-app-definition.js.map +1 -0
- package/lib/app/fulfillment-provider-app-metadata.d.ts +46 -0
- package/lib/app/fulfillment-provider-app-metadata.js +3 -0
- package/lib/app/fulfillment-provider-app-metadata.js.map +1 -0
- package/lib/app/fulfillment-provider-app.d.ts +9 -0
- package/lib/app/fulfillment-provider-app.js +70 -0
- package/lib/app/fulfillment-provider-app.js.map +1 -0
- package/lib/app/function-specification.d.ts +4 -0
- package/lib/app/function-specification.js +3 -0
- package/lib/app/function-specification.js.map +1 -0
- package/lib/app/index.d.ts +6 -0
- package/lib/app/index.js +19 -0
- package/lib/app/index.js.map +1 -0
- package/lib/app/internal/branded-images.d.ts +9 -0
- package/lib/app/internal/branded-images.js +3 -0
- package/lib/app/internal/branded-images.js.map +1 -0
- package/lib/app/internal/connect-runtime-app.d.ts +12 -0
- package/lib/app/internal/connect-runtime-app.js +3 -0
- package/lib/app/internal/connect-runtime-app.js.map +1 -0
- package/lib/app/internal/index.d.ts +5 -0
- package/lib/app/internal/index.js +18 -0
- package/lib/app/internal/index.js.map +1 -0
- package/lib/app/internal/metadata.d.ts +82 -0
- package/lib/app/internal/metadata.js +108 -0
- package/lib/app/internal/metadata.js.map +1 -0
- package/lib/app/internal/metadata.test.d.ts +1 -0
- package/lib/app/internal/metadata.test.js +17 -0
- package/lib/app/internal/metadata.test.js.map +1 -0
- package/lib/app/internal/method.d.ts +7 -0
- package/lib/app/internal/method.js +12 -0
- package/lib/app/internal/method.js.map +1 -0
- package/lib/app/internal/route.d.ts +6 -0
- package/lib/app/internal/route.js +3 -0
- package/lib/app/internal/route.js.map +1 -0
- package/lib/index.d.ts +5 -0
- package/lib/index.js +18 -0
- package/lib/index.js.map +1 -0
- package/lib/models/auth.d.ts +9 -0
- package/lib/models/auth.js +3 -0
- package/lib/models/auth.js.map +1 -0
- package/lib/models/carrier/addresses/address-base.d.ts +33 -0
- package/lib/models/carrier/addresses/address-base.js +3 -0
- package/lib/models/carrier/addresses/address-base.js.map +1 -0
- package/lib/models/carrier/addresses/address-residential-indicator.d.ts +6 -0
- package/lib/models/carrier/addresses/address-residential-indicator.js +11 -0
- package/lib/models/carrier/addresses/address-residential-indicator.js.map +1 -0
- package/lib/models/carrier/addresses/index.d.ts +6 -0
- package/lib/models/carrier/addresses/index.js +19 -0
- package/lib/models/carrier/addresses/index.js.map +1 -0
- package/lib/models/carrier/addresses/pudo-location.d.ts +8 -0
- package/lib/models/carrier/addresses/pudo-location.js +3 -0
- package/lib/models/carrier/addresses/pudo-location.js.map +1 -0
- package/lib/models/carrier/addresses/ship-from-display.d.ts +3 -0
- package/lib/models/carrier/addresses/ship-from-display.js +3 -0
- package/lib/models/carrier/addresses/ship-from-display.js.map +1 -0
- package/lib/models/carrier/addresses/ship-from.d.ts +6 -0
- package/lib/models/carrier/addresses/ship-from.js +3 -0
- package/lib/models/carrier/addresses/ship-from.js.map +1 -0
- package/lib/models/carrier/addresses/ship-to.d.ts +6 -0
- package/lib/models/carrier/addresses/ship-to.js +3 -0
- package/lib/models/carrier/addresses/ship-to.js.map +1 -0
- package/lib/models/carrier/advanced-options.d.ts +18 -0
- package/lib/models/carrier/advanced-options.js +3 -0
- package/lib/models/carrier/advanced-options.js.map +1 -0
- package/lib/models/carrier/billing/billing-categories.d.ts +25 -0
- package/lib/models/carrier/billing/billing-categories.js +30 -0
- package/lib/models/carrier/billing/billing-categories.js.map +1 -0
- package/lib/models/carrier/billing/billing-line-item.d.ts +10 -0
- package/lib/models/carrier/billing/billing-line-item.js +3 -0
- package/lib/models/carrier/billing/billing-line-item.js.map +1 -0
- package/lib/models/carrier/billing/index.d.ts +2 -0
- package/lib/models/carrier/billing/index.js +15 -0
- package/lib/models/carrier/billing/index.js.map +1 -0
- package/lib/models/carrier/confirmation-types.d.ts +13 -0
- package/lib/models/carrier/confirmation-types.js +18 -0
- package/lib/models/carrier/confirmation-types.js.map +1 -0
- package/lib/models/carrier/currency.d.ts +5 -0
- package/lib/models/carrier/currency.js +3 -0
- package/lib/models/carrier/currency.js.map +1 -0
- package/lib/models/carrier/customs/customs-content-types.d.ts +9 -0
- package/lib/models/carrier/customs/customs-content-types.js +14 -0
- package/lib/models/carrier/customs/customs-content-types.js.map +1 -0
- package/lib/models/carrier/customs/customs-item.d.ts +13 -0
- package/lib/models/carrier/customs/customs-item.js +3 -0
- package/lib/models/carrier/customs/customs-item.js.map +1 -0
- package/lib/models/carrier/customs/customs-non-delivery.d.ts +5 -0
- package/lib/models/carrier/customs/customs-non-delivery.js +10 -0
- package/lib/models/carrier/customs/customs-non-delivery.js.map +1 -0
- package/lib/models/carrier/customs/customs.d.ts +12 -0
- package/lib/models/carrier/customs/customs.js +3 -0
- package/lib/models/carrier/customs/customs.js.map +1 -0
- package/lib/models/carrier/customs/index.d.ts +4 -0
- package/lib/models/carrier/customs/index.js +17 -0
- package/lib/models/carrier/customs/index.js.map +1 -0
- package/lib/models/carrier/fulfillment-plans/fulfillment-plan-details.d.ts +9 -0
- package/lib/models/carrier/fulfillment-plans/fulfillment-plan-details.js +3 -0
- package/lib/models/carrier/fulfillment-plans/fulfillment-plan-details.js.map +1 -0
- package/lib/models/carrier/fulfillment-plans/fulfillment-plan-items.d.ts +12 -0
- package/lib/models/carrier/fulfillment-plans/fulfillment-plan-items.js +3 -0
- package/lib/models/carrier/fulfillment-plans/fulfillment-plan-items.js.map +1 -0
- package/lib/models/carrier/fulfillment-plans/index.d.ts +3 -0
- package/lib/models/carrier/fulfillment-plans/index.js +16 -0
- package/lib/models/carrier/fulfillment-plans/index.js.map +1 -0
- package/lib/models/carrier/fulfillment-plans/raw-external-source.d.ts +3 -0
- package/lib/models/carrier/fulfillment-plans/raw-external-source.js +3 -0
- package/lib/models/carrier/fulfillment-plans/raw-external-source.js.map +1 -0
- package/lib/models/carrier/identifier.d.ts +5 -0
- package/lib/models/carrier/identifier.js +3 -0
- package/lib/models/carrier/identifier.js.map +1 -0
- package/lib/models/carrier/index.d.ts +17 -0
- package/lib/models/carrier/index.js +35 -0
- package/lib/models/carrier/index.js.map +1 -0
- package/lib/models/carrier/insurance-providers.d.ts +7 -0
- package/lib/models/carrier/insurance-providers.js +12 -0
- package/lib/models/carrier/insurance-providers.js.map +1 -0
- package/lib/models/carrier/labels/form-download.d.ts +4 -0
- package/lib/models/carrier/labels/form-download.js +3 -0
- package/lib/models/carrier/labels/form-download.js.map +1 -0
- package/lib/models/carrier/labels/index.d.ts +8 -0
- package/lib/models/carrier/labels/index.js +22 -0
- package/lib/models/carrier/labels/index.js.map +1 -0
- package/lib/models/carrier/labels/label-download.d.ts +4 -0
- package/lib/models/carrier/labels/label-download.js +3 -0
- package/lib/models/carrier/labels/label-download.js.map +1 -0
- package/lib/models/carrier/labels/label-layouts.d.ts +7 -0
- package/lib/models/carrier/labels/label-layouts.js +12 -0
- package/lib/models/carrier/labels/label-layouts.js.map +1 -0
- package/lib/models/carrier/labels/label-message.d.ts +6 -0
- package/lib/models/carrier/labels/label-message.js +3 -0
- package/lib/models/carrier/labels/label-message.js.map +1 -0
- package/lib/models/carrier/labels/label-package.d.ts +9 -0
- package/lib/models/carrier/labels/label-package.js +3 -0
- package/lib/models/carrier/labels/label-package.js.map +1 -0
- package/lib/models/carrier/labels/return-label-details.d.ts +4 -0
- package/lib/models/carrier/labels/return-label-details.js +3 -0
- package/lib/models/carrier/labels/return-label-details.js.map +1 -0
- package/lib/models/carrier/labels/void-request.d.ts +7 -0
- package/lib/models/carrier/labels/void-request.js +3 -0
- package/lib/models/carrier/labels/void-request.js.map +1 -0
- package/lib/models/carrier/labels/void-response.d.ts +9 -0
- package/lib/models/carrier/labels/void-response.js +3 -0
- package/lib/models/carrier/labels/void-response.js.map +1 -0
- package/lib/models/carrier/manifests/index.d.ts +2 -0
- package/lib/models/carrier/manifests/index.js +15 -0
- package/lib/models/carrier/manifests/index.js.map +1 -0
- package/lib/models/carrier/manifests/label.d.ts +5 -0
- package/lib/models/carrier/manifests/label.js +3 -0
- package/lib/models/carrier/manifests/label.js.map +1 -0
- package/lib/models/carrier/manifests/manifest.d.ts +8 -0
- package/lib/models/carrier/manifests/manifest.js +3 -0
- package/lib/models/carrier/manifests/manifest.js.map +1 -0
- package/lib/models/carrier/package.d.ts +13 -0
- package/lib/models/carrier/package.js +3 -0
- package/lib/models/carrier/package.js.map +1 -0
- package/lib/models/carrier/pickup/cancellation-details.d.ts +11 -0
- package/lib/models/carrier/pickup/cancellation-details.js +3 -0
- package/lib/models/carrier/pickup/cancellation-details.js.map +1 -0
- package/lib/models/carrier/pickup/cancellation-reason.d.ts +8 -0
- package/lib/models/carrier/pickup/cancellation-reason.js +13 -0
- package/lib/models/carrier/pickup/cancellation-reason.js.map +1 -0
- package/lib/models/carrier/pickup/index.d.ts +11 -0
- package/lib/models/carrier/pickup/index.js +24 -0
- package/lib/models/carrier/pickup/index.js.map +1 -0
- package/lib/models/carrier/pickup/pickup-confirmation.d.ts +8 -0
- package/lib/models/carrier/pickup/pickup-confirmation.js +3 -0
- package/lib/models/carrier/pickup/pickup-confirmation.js.map +1 -0
- package/lib/models/carrier/pickup/pickup-contact-details.d.ts +8 -0
- package/lib/models/carrier/pickup/pickup-contact-details.js +3 -0
- package/lib/models/carrier/pickup/pickup-contact-details.js.map +1 -0
- package/lib/models/carrier/pickup/pickup-location-details.d.ts +11 -0
- package/lib/models/carrier/pickup/pickup-location-details.js +3 -0
- package/lib/models/carrier/pickup/pickup-location-details.js.map +1 -0
- package/lib/models/carrier/pickup/pickup-package.d.ts +12 -0
- package/lib/models/carrier/pickup/pickup-package.js +3 -0
- package/lib/models/carrier/pickup/pickup-package.js.map +1 -0
- package/lib/models/carrier/pickup/pickup-shipment-details.d.ts +7 -0
- package/lib/models/carrier/pickup/pickup-shipment-details.js +3 -0
- package/lib/models/carrier/pickup/pickup-shipment-details.js.map +1 -0
- package/lib/models/carrier/pickup/pickup-window.d.ts +7 -0
- package/lib/models/carrier/pickup/pickup-window.js +3 -0
- package/lib/models/carrier/pickup/pickup-window.js.map +1 -0
- package/lib/models/carrier/pickup/shipment-identifier.d.ts +6 -0
- package/lib/models/carrier/pickup/shipment-identifier.js +3 -0
- package/lib/models/carrier/pickup/shipment-identifier.js.map +1 -0
- package/lib/models/carrier/pickup/shipped-package.d.ts +12 -0
- package/lib/models/carrier/pickup/shipped-package.js +3 -0
- package/lib/models/carrier/pickup/shipped-package.js.map +1 -0
- package/lib/models/carrier/pickup/shipped-shipment.d.ts +16 -0
- package/lib/models/carrier/pickup/shipped-shipment.js +3 -0
- package/lib/models/carrier/pickup/shipped-shipment.js.map +1 -0
- package/lib/models/carrier/rates/index.d.ts +1 -0
- package/lib/models/carrier/rates/index.js +14 -0
- package/lib/models/carrier/rates/index.js.map +1 -0
- package/lib/models/carrier/rates/rate.d.ts +29 -0
- package/lib/models/carrier/rates/rate.js +3 -0
- package/lib/models/carrier/rates/rate.js.map +1 -0
- package/lib/models/carrier/resource-download.d.ts +5 -0
- package/lib/models/carrier/resource-download.js +3 -0
- package/lib/models/carrier/resource-download.js.map +1 -0
- package/lib/models/carrier/taxes/index.d.ts +2 -0
- package/lib/models/carrier/taxes/index.js +15 -0
- package/lib/models/carrier/taxes/index.js.map +1 -0
- package/lib/models/carrier/taxes/tax-identifier-type.d.ts +28 -0
- package/lib/models/carrier/taxes/tax-identifier-type.js +33 -0
- package/lib/models/carrier/taxes/tax-identifier-type.js.map +1 -0
- package/lib/models/carrier/taxes/tax-identifier.d.ts +12 -0
- package/lib/models/carrier/taxes/tax-identifier.js +3 -0
- package/lib/models/carrier/taxes/tax-identifier.js.map +1 -0
- package/lib/models/carrier/time-window.d.ts +17 -0
- package/lib/models/carrier/time-window.js +3 -0
- package/lib/models/carrier/time-window.js.map +1 -0
- package/lib/models/documents/document-formats.d.ts +6 -0
- package/lib/models/documents/document-formats.js +11 -0
- package/lib/models/documents/document-formats.js.map +1 -0
- package/lib/models/documents/document-type.d.ts +7 -0
- package/lib/models/documents/document-type.js +12 -0
- package/lib/models/documents/document-type.js.map +1 -0
- package/lib/models/documents/document.d.ts +8 -0
- package/lib/models/documents/document.js +3 -0
- package/lib/models/documents/document.js.map +1 -0
- package/lib/models/documents/index.d.ts +2 -0
- package/lib/models/documents/index.js +15 -0
- package/lib/models/documents/index.js.map +1 -0
- package/lib/models/errors/detailed-error.d.ts +9 -0
- package/lib/models/errors/detailed-error.js +3 -0
- package/lib/models/errors/detailed-error.js.map +1 -0
- package/lib/models/errors/index.d.ts +2 -0
- package/lib/models/errors/index.js +15 -0
- package/lib/models/errors/index.js.map +1 -0
- package/lib/models/errors/standardized-error-code.d.ts +16 -0
- package/lib/models/errors/standardized-error-code.js +21 -0
- package/lib/models/errors/standardized-error-code.js.map +1 -0
- package/lib/models/index.d.ts +7 -0
- package/lib/models/index.js +20 -0
- package/lib/models/index.js.map +1 -0
- package/lib/models/order-source/address.d.ts +47 -0
- package/lib/models/order-source/address.js +12 -0
- package/lib/models/order-source/address.js.map +1 -0
- package/lib/models/order-source/bill-to.d.ts +8 -0
- package/lib/models/order-source/bill-to.js +3 -0
- package/lib/models/order-source/bill-to.js.map +1 -0
- package/lib/models/order-source/branding.d.ts +8 -0
- package/lib/models/order-source/branding.js +3 -0
- package/lib/models/order-source/branding.js.map +1 -0
- package/lib/models/order-source/buyer.d.ts +11 -0
- package/lib/models/order-source/buyer.js +3 -0
- package/lib/models/order-source/buyer.js.map +1 -0
- package/lib/models/order-source/charge.d.ts +7 -0
- package/lib/models/order-source/charge.js +3 -0
- package/lib/models/order-source/charge.js.map +1 -0
- package/lib/models/order-source/index.d.ts +12 -0
- package/lib/models/order-source/index.js +25 -0
- package/lib/models/order-source/index.js.map +1 -0
- package/lib/models/order-source/label-voucher.d.ts +7 -0
- package/lib/models/order-source/label-voucher.js +3 -0
- package/lib/models/order-source/label-voucher.js.map +1 -0
- package/lib/models/order-source/note.d.ts +28 -0
- package/lib/models/order-source/note.js +24 -0
- package/lib/models/order-source/note.js.map +1 -0
- package/lib/models/order-source/packing-slip.d.ts +5 -0
- package/lib/models/order-source/packing-slip.js +3 -0
- package/lib/models/order-source/packing-slip.js.map +1 -0
- package/lib/models/order-source/payment.d.ts +32 -0
- package/lib/models/order-source/payment.js +14 -0
- package/lib/models/order-source/payment.js.map +1 -0
- package/lib/models/order-source/product.d.ts +56 -0
- package/lib/models/order-source/product.js +3 -0
- package/lib/models/order-source/product.js.map +1 -0
- package/lib/models/order-source/sales-order-item.d.ts +27 -0
- package/lib/models/order-source/sales-order-item.js +3 -0
- package/lib/models/order-source/sales-order-item.js.map +1 -0
- package/lib/models/order-source/sales-order.d.ts +87 -0
- package/lib/models/order-source/sales-order.js +14 -0
- package/lib/models/order-source/sales-order.js.map +1 -0
- package/lib/models/order-source/shipment-notification.d.ts +55 -0
- package/lib/models/order-source/shipment-notification.js +3 -0
- package/lib/models/order-source/shipment-notification.js.map +1 -0
- package/lib/models/order-source/shipping-preferences.d.ts +52 -0
- package/lib/models/order-source/shipping-preferences.js +3 -0
- package/lib/models/order-source/shipping-preferences.js.map +1 -0
- package/lib/models/order-source/weight.d.ts +8 -0
- package/lib/models/order-source/weight.js +3 -0
- package/lib/models/order-source/weight.js.map +1 -0
- package/lib/models/sales-order-status-change.d.ts +22 -0
- package/lib/models/sales-order-status-change.js +3 -0
- package/lib/models/sales-order-status-change.js.map +1 -0
- package/lib/models/units/dimension-details.d.ts +9 -0
- package/lib/models/units/dimension-details.js +3 -0
- package/lib/models/units/dimension-details.js.map +1 -0
- package/lib/models/units/dimension-unit.d.ts +5 -0
- package/lib/models/units/dimension-unit.js +10 -0
- package/lib/models/units/dimension-unit.js.map +1 -0
- package/lib/models/units/dimensions.d.ts +6 -0
- package/lib/models/units/dimensions.js +3 -0
- package/lib/models/units/dimensions.js.map +1 -0
- package/lib/models/units/index.d.ts +5 -0
- package/lib/models/units/index.js +18 -0
- package/lib/models/units/index.js.map +1 -0
- package/lib/models/units/weight-details.d.ts +8 -0
- package/lib/models/units/weight-details.js +3 -0
- package/lib/models/units/weight-details.js.map +1 -0
- package/lib/models/units/weight-unit.d.ts +7 -0
- package/lib/models/units/weight-unit.js +12 -0
- package/lib/models/units/weight-unit.js.map +1 -0
- package/lib/requests/cancellation-request.d.ts +6 -0
- package/lib/requests/cancellation-request.js +3 -0
- package/lib/requests/cancellation-request.js.map +1 -0
- package/lib/requests/connect-request.d.ts +4 -0
- package/lib/requests/connect-request.js +3 -0
- package/lib/requests/connect-request.js.map +1 -0
- package/lib/requests/delegation-request.d.ts +5 -0
- package/lib/requests/delegation-request.js +3 -0
- package/lib/requests/delegation-request.js.map +1 -0
- package/lib/requests/get-rates-request.d.ts +21 -0
- package/lib/requests/get-rates-request.js +3 -0
- package/lib/requests/get-rates-request.js.map +1 -0
- package/lib/requests/get-recent-changes-request.d.ts +6 -0
- package/lib/requests/get-recent-changes-request.js +3 -0
- package/lib/requests/get-recent-changes-request.js.map +1 -0
- package/lib/requests/index.d.ts +8 -0
- package/lib/requests/index.js +21 -0
- package/lib/requests/index.js.map +1 -0
- package/lib/requests/inventory-request.d.ts +5 -0
- package/lib/requests/inventory-request.js +3 -0
- package/lib/requests/inventory-request.js.map +1 -0
- package/lib/requests/reconnect-request.d.ts +4 -0
- package/lib/requests/reconnect-request.js +3 -0
- package/lib/requests/reconnect-request.js.map +1 -0
- package/lib/requests/status-request.d.ts +5 -0
- package/lib/requests/status-request.js +3 -0
- package/lib/requests/status-request.js.map +1 -0
- package/lib/responses/cancellation-response.d.ts +3 -0
- package/lib/responses/cancellation-response.js +3 -0
- package/lib/responses/cancellation-response.js.map +1 -0
- package/lib/responses/connect-response.d.ts +4 -0
- package/lib/responses/connect-response.js +3 -0
- package/lib/responses/connect-response.js.map +1 -0
- package/lib/responses/delegation-response.d.ts +3 -0
- package/lib/responses/delegation-response.js +3 -0
- package/lib/responses/delegation-response.js.map +1 -0
- package/lib/responses/get-rates-response.d.ts +5 -0
- package/lib/responses/get-rates-response.js +3 -0
- package/lib/responses/get-rates-response.js.map +1 -0
- package/lib/responses/get-recent-changes-response.d.ts +5 -0
- package/lib/responses/get-recent-changes-response.js +3 -0
- package/lib/responses/get-recent-changes-response.js.map +1 -0
- package/lib/responses/index.d.ts +8 -0
- package/lib/responses/index.js +21 -0
- package/lib/responses/index.js.map +1 -0
- package/lib/responses/inventory-response.d.ts +12 -0
- package/lib/responses/inventory-response.js +3 -0
- package/lib/responses/inventory-response.js.map +1 -0
- package/lib/responses/reconnect-response.d.ts +4 -0
- package/lib/responses/reconnect-response.js +3 -0
- package/lib/responses/reconnect-response.js.map +1 -0
- package/lib/responses/status-response.d.ts +8 -0
- package/lib/responses/status-response.js +3 -0
- package/lib/responses/status-response.js.map +1 -0
- package/lib/spec.d.ts +2 -0
- package/lib/spec.js +6 -0
- package/lib/spec.js.map +1 -0
- package/lib/spec.test.d.ts +1 -0
- package/lib/spec.test.js +12 -0
- package/lib/spec.test.js.map +1 -0
- package/package.json +34 -0
- package/spec.json +2819 -0
- package/spec.yaml +2111 -0
- package/tsconfig.tsbuildinfo +1 -0
package/spec.json
ADDED
|
@@ -0,0 +1,2819 @@
|
|
|
1
|
+
{
|
|
2
|
+
"openapi": "3.1.0",
|
|
3
|
+
"info": {
|
|
4
|
+
"title": "fulfillment-provider-api",
|
|
5
|
+
"version": "1.0"
|
|
6
|
+
},
|
|
7
|
+
"paths": {
|
|
8
|
+
"/connect": {
|
|
9
|
+
"post": {
|
|
10
|
+
"summary": "Connect to Partner",
|
|
11
|
+
"operationId": "post-connect",
|
|
12
|
+
"responses": {
|
|
13
|
+
"200": {
|
|
14
|
+
"description": "OK",
|
|
15
|
+
"content": {
|
|
16
|
+
"application/json": {
|
|
17
|
+
"schema": {
|
|
18
|
+
"type": "object",
|
|
19
|
+
"properties": {
|
|
20
|
+
"auth": {
|
|
21
|
+
"$ref": "#/components/schemas/Auth"
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"parameters": [
|
|
30
|
+
{
|
|
31
|
+
"schema": {
|
|
32
|
+
"type": "string"
|
|
33
|
+
},
|
|
34
|
+
"in": "header",
|
|
35
|
+
"name": "tenant-id"
|
|
36
|
+
}
|
|
37
|
+
],
|
|
38
|
+
"requestBody": {
|
|
39
|
+
"content": {
|
|
40
|
+
"application/json": {
|
|
41
|
+
"schema": {
|
|
42
|
+
"type": "object",
|
|
43
|
+
"description": "",
|
|
44
|
+
"properties": {
|
|
45
|
+
"auth": {
|
|
46
|
+
"$ref": "#/components/schemas/Auth"
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"description": "Contains form data for connecting to the app"
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"/fulfillment/delegation": {
|
|
57
|
+
"post": {
|
|
58
|
+
"summary": "Fulfillment Delegation Request",
|
|
59
|
+
"operationId": "post-fulfillment-delegation",
|
|
60
|
+
"responses": {
|
|
61
|
+
"200": {
|
|
62
|
+
"description": "OK",
|
|
63
|
+
"content": {
|
|
64
|
+
"application/json": {
|
|
65
|
+
"schema": {
|
|
66
|
+
"type": "object",
|
|
67
|
+
"properties": {
|
|
68
|
+
"fulfillment_provider_order_id": {
|
|
69
|
+
"type": "string"
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"description": "",
|
|
78
|
+
"requestBody": {
|
|
79
|
+
"content": {
|
|
80
|
+
"application/json": {
|
|
81
|
+
"schema": {
|
|
82
|
+
"type": "object",
|
|
83
|
+
"properties": {
|
|
84
|
+
"auth": {
|
|
85
|
+
"$ref": "#/components/schemas/Auth"
|
|
86
|
+
},
|
|
87
|
+
"bill_to": {
|
|
88
|
+
"$ref": "#/components/schemas/BillTo"
|
|
89
|
+
},
|
|
90
|
+
"buyer": {
|
|
91
|
+
"$ref": "#/components/schemas/Buyer"
|
|
92
|
+
},
|
|
93
|
+
"created_date_time": {
|
|
94
|
+
"type": "string",
|
|
95
|
+
"description": "The (ISO 8601) datetime (UTC) associated with when this order was created",
|
|
96
|
+
"example": "2021-03-31T18:21:14.858Z"
|
|
97
|
+
},
|
|
98
|
+
"currency": {
|
|
99
|
+
"type": "string",
|
|
100
|
+
"description": "The three character ISO 4217 code of the currency used for all monetary amounts",
|
|
101
|
+
"example": "USD,EUR,NZD"
|
|
102
|
+
},
|
|
103
|
+
"fulfilled_date": {
|
|
104
|
+
"type": "string",
|
|
105
|
+
"description": "The (ISO 8601) datetime (UTC) associated with when this order shipped",
|
|
106
|
+
"example": "2021-03-31T18:21:14.858Z"
|
|
107
|
+
},
|
|
108
|
+
"integration_context": {
|
|
109
|
+
"type": "string",
|
|
110
|
+
"description": "Data provided by the order source that should be included in calls back to the order source. This data is only meaningful to the integration and not otherwise used by the platform."
|
|
111
|
+
},
|
|
112
|
+
"modified_date_time": {
|
|
113
|
+
"type": "string",
|
|
114
|
+
"description": "The (ISO 8601) datetime (UTC) associated with when this order was last modified",
|
|
115
|
+
"example": "2021-03-31T18:21:14.858Z"
|
|
116
|
+
},
|
|
117
|
+
"notes": {
|
|
118
|
+
"type": "array",
|
|
119
|
+
"description": "Notes about the order",
|
|
120
|
+
"items": {
|
|
121
|
+
"$ref": "#/components/schemas/Note"
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
"order_id": {
|
|
125
|
+
"type": "string",
|
|
126
|
+
"description": "The unique identifier of the sales order from the order source"
|
|
127
|
+
},
|
|
128
|
+
"order_number": {
|
|
129
|
+
"type": "string",
|
|
130
|
+
"description": "The customer facing identifier of the sales order"
|
|
131
|
+
},
|
|
132
|
+
"order_url": {
|
|
133
|
+
"type": "string",
|
|
134
|
+
"description": "A unique url associated with the order"
|
|
135
|
+
},
|
|
136
|
+
"original_order_source": {
|
|
137
|
+
"$ref": "#/components/schemas/OriginalOrderSource"
|
|
138
|
+
},
|
|
139
|
+
"paid_date": {
|
|
140
|
+
"type": "string",
|
|
141
|
+
"description": "The (ISO 8601) datetime (UTC) associated with when this sales order was paid for",
|
|
142
|
+
"example": "2021-03-31T18:21:14.858Z"
|
|
143
|
+
},
|
|
144
|
+
"payment": {
|
|
145
|
+
"$ref": "#/components/schemas/Payment"
|
|
146
|
+
},
|
|
147
|
+
"requested_fulfillments": {
|
|
148
|
+
"type": "array",
|
|
149
|
+
"description": "The fulfillment requested by the marketplace or the buyer",
|
|
150
|
+
"items": {
|
|
151
|
+
"$ref": "#/components/schemas/RequestedFulfillment"
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
"ship_from": {
|
|
155
|
+
"$ref": "#/components/schemas/Address"
|
|
156
|
+
},
|
|
157
|
+
"status": {
|
|
158
|
+
"type": "string",
|
|
159
|
+
"description": "The sales order status",
|
|
160
|
+
"enum": [
|
|
161
|
+
"AwaitingPayment",
|
|
162
|
+
"AwaitingShipment",
|
|
163
|
+
"Cancelled",
|
|
164
|
+
"Completed",
|
|
165
|
+
"OnHold",
|
|
166
|
+
"PendingFulfillment"
|
|
167
|
+
]
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
"required": [
|
|
171
|
+
"auth",
|
|
172
|
+
"requested_fulfillments",
|
|
173
|
+
"status"
|
|
174
|
+
]
|
|
175
|
+
},
|
|
176
|
+
"examples": {
|
|
177
|
+
"example-1": {
|
|
178
|
+
"value": {
|
|
179
|
+
"bill_to": {
|
|
180
|
+
"address_line_1": "string",
|
|
181
|
+
"address_line_2": "string",
|
|
182
|
+
"address_line_3": "string",
|
|
183
|
+
"city": "string",
|
|
184
|
+
"company": "string",
|
|
185
|
+
"country_code": "US,MX,CA",
|
|
186
|
+
"email": "string",
|
|
187
|
+
"is_verified": true,
|
|
188
|
+
"name": "string",
|
|
189
|
+
"phone": "string",
|
|
190
|
+
"pickup_location": {
|
|
191
|
+
"carrier_id": "string",
|
|
192
|
+
"relay_id": "string"
|
|
193
|
+
},
|
|
194
|
+
"postal_code": "string",
|
|
195
|
+
"residential_indicator": "R",
|
|
196
|
+
"state_province": "string"
|
|
197
|
+
},
|
|
198
|
+
"buyer": {
|
|
199
|
+
"buyer_id": "string",
|
|
200
|
+
"email": "string",
|
|
201
|
+
"name": "string",
|
|
202
|
+
"phone": "string"
|
|
203
|
+
},
|
|
204
|
+
"created_date_time": "2021-03-31T18:21:14.858Z",
|
|
205
|
+
"currency": "USD,EUR,NZD",
|
|
206
|
+
"fulfilled_date": "2021-03-31T18:21:14.858Z",
|
|
207
|
+
"integration_context": "string",
|
|
208
|
+
"modified_date_time": "2021-03-31T18:21:14.858Z",
|
|
209
|
+
"notes": [
|
|
210
|
+
{
|
|
211
|
+
"text": "string",
|
|
212
|
+
"type": "BackOrderMessage"
|
|
213
|
+
}
|
|
214
|
+
],
|
|
215
|
+
"order_id": "string",
|
|
216
|
+
"order_number": "string",
|
|
217
|
+
"order_url": "string",
|
|
218
|
+
"original_order_source": {
|
|
219
|
+
"marketplace_code": "string",
|
|
220
|
+
"order_id": "string",
|
|
221
|
+
"source_id": "string"
|
|
222
|
+
},
|
|
223
|
+
"paid_date": "2021-03-31T18:21:14.858Z",
|
|
224
|
+
"payment": {
|
|
225
|
+
"adjustments": [
|
|
226
|
+
{
|
|
227
|
+
"amount": "string",
|
|
228
|
+
"description": "string"
|
|
229
|
+
}
|
|
230
|
+
],
|
|
231
|
+
"amount_paid": "string",
|
|
232
|
+
"coupon_code": "string",
|
|
233
|
+
"label_voucher": "string",
|
|
234
|
+
"payment_id": "string",
|
|
235
|
+
"payment_method": "string",
|
|
236
|
+
"payment_status": "AwaitingPayment",
|
|
237
|
+
"shipping_charges": [
|
|
238
|
+
{
|
|
239
|
+
"amount": "string",
|
|
240
|
+
"description": "string"
|
|
241
|
+
}
|
|
242
|
+
],
|
|
243
|
+
"taxes": [
|
|
244
|
+
{
|
|
245
|
+
"amount": "string",
|
|
246
|
+
"description": "string"
|
|
247
|
+
}
|
|
248
|
+
]
|
|
249
|
+
},
|
|
250
|
+
"requested_fulfillments": [
|
|
251
|
+
{
|
|
252
|
+
"branding": {
|
|
253
|
+
"company_name": "string",
|
|
254
|
+
"packing_slip": {
|
|
255
|
+
"url": "string"
|
|
256
|
+
}
|
|
257
|
+
},
|
|
258
|
+
"extensions": {
|
|
259
|
+
"custom_field_1": "string",
|
|
260
|
+
"custom_field_2": "string",
|
|
261
|
+
"custom_field_3": "string"
|
|
262
|
+
},
|
|
263
|
+
"items": [
|
|
264
|
+
{
|
|
265
|
+
"adjustments": [
|
|
266
|
+
{
|
|
267
|
+
"amount": "string",
|
|
268
|
+
"description": "string"
|
|
269
|
+
}
|
|
270
|
+
],
|
|
271
|
+
"description": "string",
|
|
272
|
+
"item_url": "string",
|
|
273
|
+
"line_item_id": "string",
|
|
274
|
+
"modified_date_time": "2021-03-31T18:21:14.858Z",
|
|
275
|
+
"product": {
|
|
276
|
+
"description": "string",
|
|
277
|
+
"details": [
|
|
278
|
+
{
|
|
279
|
+
"name": "Color",
|
|
280
|
+
"value": "Red"
|
|
281
|
+
}
|
|
282
|
+
],
|
|
283
|
+
"dimensions": {
|
|
284
|
+
"height": 0,
|
|
285
|
+
"length": 0,
|
|
286
|
+
"unit": "Centimeter",
|
|
287
|
+
"width": 0
|
|
288
|
+
},
|
|
289
|
+
"identifiers": {
|
|
290
|
+
"asin": "string",
|
|
291
|
+
"fulfillment_sku": "string",
|
|
292
|
+
"inventory_id": "string",
|
|
293
|
+
"isbn": "string",
|
|
294
|
+
"sku": "string",
|
|
295
|
+
"upc": "string"
|
|
296
|
+
},
|
|
297
|
+
"location": "string",
|
|
298
|
+
"name": "string",
|
|
299
|
+
"product_id": "string",
|
|
300
|
+
"unit_code": 0,
|
|
301
|
+
"urls": {
|
|
302
|
+
"image_url": "string",
|
|
303
|
+
"product_url": "string",
|
|
304
|
+
"thumbnail_url": "string"
|
|
305
|
+
},
|
|
306
|
+
"weight": {
|
|
307
|
+
"unit": "Gram",
|
|
308
|
+
"value": "string"
|
|
309
|
+
}
|
|
310
|
+
},
|
|
311
|
+
"quantity": 0,
|
|
312
|
+
"shipping_charges": [
|
|
313
|
+
{
|
|
314
|
+
"amount": "string",
|
|
315
|
+
"description": "string"
|
|
316
|
+
}
|
|
317
|
+
],
|
|
318
|
+
"taxes": [
|
|
319
|
+
{
|
|
320
|
+
"amount": "string",
|
|
321
|
+
"description": "string"
|
|
322
|
+
}
|
|
323
|
+
],
|
|
324
|
+
"unit_price": 0
|
|
325
|
+
}
|
|
326
|
+
],
|
|
327
|
+
"requested_fulfillment_id": "string",
|
|
328
|
+
"ship_to": {
|
|
329
|
+
"address_line_1": "string",
|
|
330
|
+
"address_line_2": "string",
|
|
331
|
+
"address_line_3": "string",
|
|
332
|
+
"city": "string",
|
|
333
|
+
"company": "string",
|
|
334
|
+
"country_code": "US,MX,CA",
|
|
335
|
+
"is_verified": true,
|
|
336
|
+
"name": "string",
|
|
337
|
+
"first_name": "string",
|
|
338
|
+
"last_name": "string",
|
|
339
|
+
"phone": "string",
|
|
340
|
+
"pickup_location": {
|
|
341
|
+
"carrier_id": "string",
|
|
342
|
+
"relay_id": "string"
|
|
343
|
+
},
|
|
344
|
+
"postal_code": "string",
|
|
345
|
+
"residential_indicator": "R",
|
|
346
|
+
"state_province": "string"
|
|
347
|
+
},
|
|
348
|
+
"shipping_preferences": {
|
|
349
|
+
"additional_handling": true,
|
|
350
|
+
"bill_duties_to_sender": true,
|
|
351
|
+
"deliver_by_date": "2021-03-31T18:21:14.858Z",
|
|
352
|
+
"digital_fulfillment": true,
|
|
353
|
+
"do_not_prepay_postage": true,
|
|
354
|
+
"documents": [
|
|
355
|
+
{
|
|
356
|
+
"data": "string",
|
|
357
|
+
"format": "PDF",
|
|
358
|
+
"type": [
|
|
359
|
+
"commercial_invoice"
|
|
360
|
+
]
|
|
361
|
+
}
|
|
362
|
+
],
|
|
363
|
+
"gift": true,
|
|
364
|
+
"has_alcohol": true,
|
|
365
|
+
"hold_until_date": "2021-03-31T18:21:14.858Z",
|
|
366
|
+
"insurance_requested": true,
|
|
367
|
+
"insured_value": 0,
|
|
368
|
+
"is_premium_program": true,
|
|
369
|
+
"non_machinable": true,
|
|
370
|
+
"package_type": "string",
|
|
371
|
+
"premium_program_name": "string",
|
|
372
|
+
"preplanned_fulfillment_id": "string",
|
|
373
|
+
"ready_to_ship_date": "2021-03-31T18:21:14.858Z",
|
|
374
|
+
"requested_warehouse": "string",
|
|
375
|
+
"saturday_delivery": true,
|
|
376
|
+
"ship_by_date": "2021-03-31T18:21:14.858Z",
|
|
377
|
+
"shipping_service": "string",
|
|
378
|
+
"show_postage": true,
|
|
379
|
+
"suppress_email_notify": true,
|
|
380
|
+
"suppress_marketplace_notify": true
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
],
|
|
384
|
+
"ship_from": {
|
|
385
|
+
"address_line_1": "string",
|
|
386
|
+
"address_line_2": "string",
|
|
387
|
+
"address_line_3": "string",
|
|
388
|
+
"city": "string",
|
|
389
|
+
"company": "string",
|
|
390
|
+
"country_code": "US,MX,CA",
|
|
391
|
+
"is_verified": true,
|
|
392
|
+
"name": "string",
|
|
393
|
+
"first_name": "string",
|
|
394
|
+
"last_name": "string",
|
|
395
|
+
"phone": "string",
|
|
396
|
+
"pickup_location": {
|
|
397
|
+
"carrier_id": "string",
|
|
398
|
+
"relay_id": "string"
|
|
399
|
+
},
|
|
400
|
+
"postal_code": "string",
|
|
401
|
+
"residential_indicator": "R",
|
|
402
|
+
"state_province": "string"
|
|
403
|
+
},
|
|
404
|
+
"status": "AwaitingPayment"
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
},
|
|
410
|
+
"description": ""
|
|
411
|
+
},
|
|
412
|
+
"parameters": [
|
|
413
|
+
{
|
|
414
|
+
"schema": {
|
|
415
|
+
"type": "string"
|
|
416
|
+
},
|
|
417
|
+
"in": "header",
|
|
418
|
+
"name": "tenant-id"
|
|
419
|
+
}
|
|
420
|
+
]
|
|
421
|
+
}
|
|
422
|
+
},
|
|
423
|
+
"/fulfillment/status": {
|
|
424
|
+
"post": {
|
|
425
|
+
"summary": "Get Fulfillment Status",
|
|
426
|
+
"operationId": "post-fulfillment-status",
|
|
427
|
+
"responses": {
|
|
428
|
+
"200": {
|
|
429
|
+
"description": "OK",
|
|
430
|
+
"content": {
|
|
431
|
+
"application/json": {
|
|
432
|
+
"schema": {
|
|
433
|
+
"type": "object",
|
|
434
|
+
"properties": {
|
|
435
|
+
"status": {
|
|
436
|
+
"$ref": "#/components/schemas/SalesOrderStatusChange"
|
|
437
|
+
},
|
|
438
|
+
"polling": {
|
|
439
|
+
"type": "object",
|
|
440
|
+
"properties": {
|
|
441
|
+
"is_final_update_state": {
|
|
442
|
+
"type": "boolean",
|
|
443
|
+
"enum": [
|
|
444
|
+
"once",
|
|
445
|
+
"changes_since"
|
|
446
|
+
]
|
|
447
|
+
},
|
|
448
|
+
"max_age_seconds": {
|
|
449
|
+
"type": "number"
|
|
450
|
+
}
|
|
451
|
+
}
|
|
452
|
+
}
|
|
453
|
+
}
|
|
454
|
+
}
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
},
|
|
459
|
+
"requestBody": {
|
|
460
|
+
"content": {
|
|
461
|
+
"application/json": {
|
|
462
|
+
"schema": {
|
|
463
|
+
"type": "object",
|
|
464
|
+
"properties": {
|
|
465
|
+
"auth": {
|
|
466
|
+
"$ref": "#/components/schemas/Auth"
|
|
467
|
+
},
|
|
468
|
+
"fulfillment_provider_order_id": {
|
|
469
|
+
"type": "string"
|
|
470
|
+
}
|
|
471
|
+
},
|
|
472
|
+
"required": [
|
|
473
|
+
"auth",
|
|
474
|
+
"fulfillment_provider_order_id"
|
|
475
|
+
]
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
},
|
|
480
|
+
"description": "Receives an single partner orderid id that was returned from the /fulfillment/delegation resource.\nIt should return matching fulfillment quantity updates for all line items of the original fulfillment delegations.\nIt should return quantities for rejected, cancelled, and shipped per line item.\nRejected means the partner cannot fulfill that item.\nCancelled means the client has requested an item not be fulfilled and the partner was able to stop fulfillment.\nShipped means the item has left for delivery.\n\nThe original fulfillment will be marked shipped when all line items are either rejected/cancelled/shipped and at least one is shipped.\n\nThis resource is requested after the first time /fulfillment/status returns a polling method of \"Batch\".\nThe polling interval is once every 30 minutes.\nThe maximum number of ids per request is 50.\nWhen there are more than 50 ids to request they are sequentially sent in batches of 50.\n\nPolling can be controlled by returning the polling.max_age_seconds or polling.per_request_limit property.\nThe polling.max_age_seconds property overrides the 30 minute interval.\nThe polling.per_request_limit property overrides the 50 ids sent per request.\n\nIndividual fulfillments can be removed from the batch polling method by returning \"once\" or \"cursor\" in the polling.method property.",
|
|
481
|
+
"parameters": [
|
|
482
|
+
{
|
|
483
|
+
"schema": {
|
|
484
|
+
"type": "string"
|
|
485
|
+
},
|
|
486
|
+
"in": "header",
|
|
487
|
+
"name": "tenant-id"
|
|
488
|
+
}
|
|
489
|
+
]
|
|
490
|
+
}
|
|
491
|
+
},
|
|
492
|
+
"/fulfillment/cancellation": {
|
|
493
|
+
"post": {
|
|
494
|
+
"summary": "Fulfillment Cancellation Request",
|
|
495
|
+
"operationId": "post-fulfillment-cancellation",
|
|
496
|
+
"responses": {
|
|
497
|
+
"200": {
|
|
498
|
+
"description": "OK",
|
|
499
|
+
"content": {
|
|
500
|
+
"application/json": {
|
|
501
|
+
"schema": {
|
|
502
|
+
"type": "object",
|
|
503
|
+
"properties": {
|
|
504
|
+
"reason": {
|
|
505
|
+
"type": "string"
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
}
|
|
510
|
+
}
|
|
511
|
+
}
|
|
512
|
+
},
|
|
513
|
+
"parameters": [
|
|
514
|
+
{
|
|
515
|
+
"schema": {
|
|
516
|
+
"type": "string"
|
|
517
|
+
},
|
|
518
|
+
"in": "header",
|
|
519
|
+
"name": "tenant-id"
|
|
520
|
+
}
|
|
521
|
+
],
|
|
522
|
+
"requestBody": {
|
|
523
|
+
"content": {
|
|
524
|
+
"application/json": {
|
|
525
|
+
"schema": {
|
|
526
|
+
"type": "object",
|
|
527
|
+
"properties": {
|
|
528
|
+
"auth": {
|
|
529
|
+
"$ref": "#/components/schemas/Auth"
|
|
530
|
+
},
|
|
531
|
+
"partner_fulfillment_order_id": {
|
|
532
|
+
"type": "string"
|
|
533
|
+
},
|
|
534
|
+
"reason": {
|
|
535
|
+
"type": "string"
|
|
536
|
+
}
|
|
537
|
+
},
|
|
538
|
+
"required": [
|
|
539
|
+
"auth",
|
|
540
|
+
"partner_fulfillment_order_id",
|
|
541
|
+
"reason"
|
|
542
|
+
]
|
|
543
|
+
}
|
|
544
|
+
}
|
|
545
|
+
}
|
|
546
|
+
}
|
|
547
|
+
}
|
|
548
|
+
},
|
|
549
|
+
"/rates": {
|
|
550
|
+
"post": {
|
|
551
|
+
"summary": "Get Estimated Rates",
|
|
552
|
+
"operationId": "post-rates",
|
|
553
|
+
"responses": {
|
|
554
|
+
"200": {
|
|
555
|
+
"description": "OK",
|
|
556
|
+
"content": {
|
|
557
|
+
"application/json": {
|
|
558
|
+
"schema": {
|
|
559
|
+
"$ref": "#/components/schemas/GetRatesResponse"
|
|
560
|
+
}
|
|
561
|
+
}
|
|
562
|
+
}
|
|
563
|
+
}
|
|
564
|
+
},
|
|
565
|
+
"requestBody": {
|
|
566
|
+
"content": {
|
|
567
|
+
"application/json": {
|
|
568
|
+
"schema": {
|
|
569
|
+
"type": "object",
|
|
570
|
+
"properties": {
|
|
571
|
+
"advanced_options": {
|
|
572
|
+
"type": "object",
|
|
573
|
+
"description": "This is a schemaless object. It is for open ended customizations unique to particular carriers. If the field is absent it should be interpreted as the default value for any applicable options, e.g. false for booleans."
|
|
574
|
+
},
|
|
575
|
+
"auth": {
|
|
576
|
+
"$ref": "#/components/schemas/Auth"
|
|
577
|
+
},
|
|
578
|
+
"confirmation": {
|
|
579
|
+
"$ref": "#/components/schemas/DeliveryConfirmation"
|
|
580
|
+
},
|
|
581
|
+
"customs": {
|
|
582
|
+
"$ref": "#/components/schemas/Customs"
|
|
583
|
+
},
|
|
584
|
+
"fulfillment_plan_details": {
|
|
585
|
+
"$ref": "#/components/schemas/FulfillmentPlanDetails"
|
|
586
|
+
},
|
|
587
|
+
"insurance_provider": {
|
|
588
|
+
"type": "string",
|
|
589
|
+
"description": "The insurance provider for the insured value of the label, carrier indicates that the user is requesting insurance from the carrier directly, anything else is extra information that should not result in a transaction.",
|
|
590
|
+
"enum": [
|
|
591
|
+
"None",
|
|
592
|
+
"Shipstation",
|
|
593
|
+
"Carrier",
|
|
594
|
+
"External"
|
|
595
|
+
]
|
|
596
|
+
},
|
|
597
|
+
"international": {
|
|
598
|
+
"type": "boolean",
|
|
599
|
+
"description": "Indicates Whether the shipment is international."
|
|
600
|
+
},
|
|
601
|
+
"is_return_label": {
|
|
602
|
+
"type": "boolean",
|
|
603
|
+
"description": "Indicates whether the label is a return."
|
|
604
|
+
},
|
|
605
|
+
"is_residential": {
|
|
606
|
+
"type": "boolean",
|
|
607
|
+
"description": "Indicates whether the label is to a residential address."
|
|
608
|
+
},
|
|
609
|
+
"next_day": {
|
|
610
|
+
"type": "boolean",
|
|
611
|
+
"description": "Indicates whether this shipment is expected to use a next day service class. If the field is absent it should be interpreted as false"
|
|
612
|
+
},
|
|
613
|
+
"packages": {
|
|
614
|
+
"type": "string",
|
|
615
|
+
"description": "All the packages that make up this shipment. There will always be at least one package defined."
|
|
616
|
+
},
|
|
617
|
+
"pickup_location": {
|
|
618
|
+
"$ref": "#/components/schemas/PickupLocationDetails"
|
|
619
|
+
},
|
|
620
|
+
"service_code": {
|
|
621
|
+
"type": "string",
|
|
622
|
+
"description": "Code used to map to what the carrier uses to identify the service."
|
|
623
|
+
},
|
|
624
|
+
"ship_datetime": {
|
|
625
|
+
"type": "string",
|
|
626
|
+
"description": "When the package is expected to ship. Not guaranteed to be in the future. Formatted per the https://tools.ietf.org/html/rfc3339 spec. Will always be in UTC."
|
|
627
|
+
},
|
|
628
|
+
"ship_from": {
|
|
629
|
+
"$ref": "#/components/schemas/ShippingAddress"
|
|
630
|
+
},
|
|
631
|
+
"ship_from_display": {
|
|
632
|
+
"$ref": "#/components/schemas/ShippingAddress"
|
|
633
|
+
},
|
|
634
|
+
"ship_to": {
|
|
635
|
+
"$ref": "#/components/schemas/ShippingAddress"
|
|
636
|
+
}
|
|
637
|
+
}
|
|
638
|
+
}
|
|
639
|
+
}
|
|
640
|
+
}
|
|
641
|
+
},
|
|
642
|
+
"description": "This method get possible rates for labels between two addresses.",
|
|
643
|
+
"parameters": [
|
|
644
|
+
{
|
|
645
|
+
"schema": {
|
|
646
|
+
"type": "string"
|
|
647
|
+
},
|
|
648
|
+
"in": "header",
|
|
649
|
+
"name": "tenant-id"
|
|
650
|
+
}
|
|
651
|
+
]
|
|
652
|
+
}
|
|
653
|
+
},
|
|
654
|
+
"/get-recent-changes": {
|
|
655
|
+
"parameters": [],
|
|
656
|
+
"post": {
|
|
657
|
+
"summary": "Get recent fulfillment changes since when",
|
|
658
|
+
"operationId": "post-fulfillment-get-recent-changes",
|
|
659
|
+
"responses": {
|
|
660
|
+
"200": {
|
|
661
|
+
"description": "OK",
|
|
662
|
+
"content": {
|
|
663
|
+
"application/json": {
|
|
664
|
+
"schema": {
|
|
665
|
+
"type": "object",
|
|
666
|
+
"properties": {
|
|
667
|
+
"changes": {
|
|
668
|
+
"type": "array",
|
|
669
|
+
"items": {
|
|
670
|
+
"$ref": "#/components/schemas/SalesOrderStatusChange"
|
|
671
|
+
}
|
|
672
|
+
},
|
|
673
|
+
"next_request": {
|
|
674
|
+
"type": "string"
|
|
675
|
+
},
|
|
676
|
+
"since": {
|
|
677
|
+
"type": "string"
|
|
678
|
+
}
|
|
679
|
+
}
|
|
680
|
+
}
|
|
681
|
+
}
|
|
682
|
+
}
|
|
683
|
+
},
|
|
684
|
+
"": {
|
|
685
|
+
"content": {
|
|
686
|
+
"application/json": {
|
|
687
|
+
"schema": {
|
|
688
|
+
"type": "object",
|
|
689
|
+
"properties": {
|
|
690
|
+
"changes": {
|
|
691
|
+
"type": "string"
|
|
692
|
+
},
|
|
693
|
+
"next_request": {
|
|
694
|
+
"type": [
|
|
695
|
+
"object",
|
|
696
|
+
"string"
|
|
697
|
+
]
|
|
698
|
+
}
|
|
699
|
+
}
|
|
700
|
+
}
|
|
701
|
+
}
|
|
702
|
+
}
|
|
703
|
+
}
|
|
704
|
+
},
|
|
705
|
+
"description": "Receives a timestamp and returns a list of line item changes since then.\nIt may also return order level status changes that should be applied to all line items on the order as a whole.",
|
|
706
|
+
"requestBody": {
|
|
707
|
+
"content": {
|
|
708
|
+
"application/json": {
|
|
709
|
+
"schema": {
|
|
710
|
+
"type": "object",
|
|
711
|
+
"properties": {
|
|
712
|
+
"auth": {
|
|
713
|
+
"$ref": "#/components/schemas/Auth"
|
|
714
|
+
},
|
|
715
|
+
"next_request": {
|
|
716
|
+
"type": [
|
|
717
|
+
"object",
|
|
718
|
+
"string"
|
|
719
|
+
]
|
|
720
|
+
},
|
|
721
|
+
"since": {
|
|
722
|
+
"type": "string"
|
|
723
|
+
}
|
|
724
|
+
}
|
|
725
|
+
}
|
|
726
|
+
}
|
|
727
|
+
}
|
|
728
|
+
},
|
|
729
|
+
"parameters": [
|
|
730
|
+
{
|
|
731
|
+
"schema": {
|
|
732
|
+
"type": "string"
|
|
733
|
+
},
|
|
734
|
+
"in": "header",
|
|
735
|
+
"name": "tenant-id"
|
|
736
|
+
}
|
|
737
|
+
]
|
|
738
|
+
}
|
|
739
|
+
},
|
|
740
|
+
"/reconnect": {
|
|
741
|
+
"post": {
|
|
742
|
+
"summary": "Refresh Auth to Partner",
|
|
743
|
+
"operationId": "post-reconnect",
|
|
744
|
+
"responses": {
|
|
745
|
+
"200": {
|
|
746
|
+
"description": "OK",
|
|
747
|
+
"content": {
|
|
748
|
+
"application/json": {
|
|
749
|
+
"schema": {
|
|
750
|
+
"type": "object",
|
|
751
|
+
"properties": {
|
|
752
|
+
"auth": {
|
|
753
|
+
"$ref": "#/components/schemas/Auth"
|
|
754
|
+
}
|
|
755
|
+
}
|
|
756
|
+
}
|
|
757
|
+
}
|
|
758
|
+
}
|
|
759
|
+
}
|
|
760
|
+
},
|
|
761
|
+
"parameters": [
|
|
762
|
+
{
|
|
763
|
+
"schema": {
|
|
764
|
+
"type": "string"
|
|
765
|
+
},
|
|
766
|
+
"in": "header",
|
|
767
|
+
"name": "tenant-id"
|
|
768
|
+
}
|
|
769
|
+
],
|
|
770
|
+
"requestBody": {
|
|
771
|
+
"content": {
|
|
772
|
+
"application/json": {
|
|
773
|
+
"schema": {
|
|
774
|
+
"type": "object",
|
|
775
|
+
"properties": {
|
|
776
|
+
"auth": {
|
|
777
|
+
"$ref": "#/components/schemas/Auth"
|
|
778
|
+
}
|
|
779
|
+
}
|
|
780
|
+
}
|
|
781
|
+
}
|
|
782
|
+
}
|
|
783
|
+
}
|
|
784
|
+
}
|
|
785
|
+
},
|
|
786
|
+
"/inventory": {
|
|
787
|
+
"post": {
|
|
788
|
+
"summary": "Get Inventory",
|
|
789
|
+
"operationId": "post-inventory",
|
|
790
|
+
"responses": {
|
|
791
|
+
"200": {
|
|
792
|
+
"description": "OK",
|
|
793
|
+
"content": {
|
|
794
|
+
"application/json": {
|
|
795
|
+
"schema": {
|
|
796
|
+
"type": "object",
|
|
797
|
+
"properties": {
|
|
798
|
+
"inventory": {
|
|
799
|
+
"type": "array",
|
|
800
|
+
"items": {
|
|
801
|
+
"type": "object",
|
|
802
|
+
"properties": {
|
|
803
|
+
"sku": {
|
|
804
|
+
"type": "string"
|
|
805
|
+
},
|
|
806
|
+
"warehouse_id": {
|
|
807
|
+
"type": "string"
|
|
808
|
+
},
|
|
809
|
+
"available_quantity": {
|
|
810
|
+
"type": "number"
|
|
811
|
+
},
|
|
812
|
+
"committed_quantity": {
|
|
813
|
+
"type": "number"
|
|
814
|
+
},
|
|
815
|
+
"on_hand_quantity": {
|
|
816
|
+
"type": "number"
|
|
817
|
+
}
|
|
818
|
+
}
|
|
819
|
+
}
|
|
820
|
+
},
|
|
821
|
+
"next_request": {
|
|
822
|
+
"type": "object"
|
|
823
|
+
}
|
|
824
|
+
}
|
|
825
|
+
}
|
|
826
|
+
}
|
|
827
|
+
}
|
|
828
|
+
}
|
|
829
|
+
},
|
|
830
|
+
"parameters": [
|
|
831
|
+
{
|
|
832
|
+
"schema": {
|
|
833
|
+
"type": "string"
|
|
834
|
+
},
|
|
835
|
+
"in": "header",
|
|
836
|
+
"name": "tenant-id"
|
|
837
|
+
}
|
|
838
|
+
],
|
|
839
|
+
"requestBody": {
|
|
840
|
+
"content": {
|
|
841
|
+
"application/json": {
|
|
842
|
+
"schema": {
|
|
843
|
+
"type": "object",
|
|
844
|
+
"properties": {
|
|
845
|
+
"auth": {
|
|
846
|
+
"$ref": "#/components/schemas/Auth"
|
|
847
|
+
},
|
|
848
|
+
"next_request": {
|
|
849
|
+
"type": [
|
|
850
|
+
"object",
|
|
851
|
+
"string"
|
|
852
|
+
]
|
|
853
|
+
}
|
|
854
|
+
}
|
|
855
|
+
}
|
|
856
|
+
}
|
|
857
|
+
}
|
|
858
|
+
}
|
|
859
|
+
}
|
|
860
|
+
}
|
|
861
|
+
},
|
|
862
|
+
"components": {
|
|
863
|
+
"schemas": {
|
|
864
|
+
"Address": {
|
|
865
|
+
"title": "Address",
|
|
866
|
+
"type": "object",
|
|
867
|
+
"description": "This defines the shape of an address",
|
|
868
|
+
"properties": {
|
|
869
|
+
"address_line_1": {
|
|
870
|
+
"type": "string",
|
|
871
|
+
"description": "The first line of the address"
|
|
872
|
+
},
|
|
873
|
+
"address_line_2": {
|
|
874
|
+
"type": "string",
|
|
875
|
+
"description": "The second line of the address"
|
|
876
|
+
},
|
|
877
|
+
"address_line_3": {
|
|
878
|
+
"type": "string",
|
|
879
|
+
"description": "The third line of the address"
|
|
880
|
+
},
|
|
881
|
+
"city": {
|
|
882
|
+
"type": "string",
|
|
883
|
+
"description": "The city associated with this address"
|
|
884
|
+
},
|
|
885
|
+
"company": {
|
|
886
|
+
"type": "string",
|
|
887
|
+
"description": "The name of the company associated with this address"
|
|
888
|
+
},
|
|
889
|
+
"country_code": {
|
|
890
|
+
"type": "string",
|
|
891
|
+
"description": "The two character ISO 3166 country code of this address",
|
|
892
|
+
"example": "US,MX,CA"
|
|
893
|
+
},
|
|
894
|
+
"is_verified": {
|
|
895
|
+
"type": "boolean",
|
|
896
|
+
"description": "Indicates whether or not this address has been verified using an Address Verification Service"
|
|
897
|
+
},
|
|
898
|
+
"name": {
|
|
899
|
+
"type": "string",
|
|
900
|
+
"description": "The full name of the contact associated with this address"
|
|
901
|
+
},
|
|
902
|
+
"first_name": {
|
|
903
|
+
"type": "string",
|
|
904
|
+
"description": "The first name of the contact associated with this address"
|
|
905
|
+
},
|
|
906
|
+
"last_name": {
|
|
907
|
+
"type": "string",
|
|
908
|
+
"description": "The last name of the contact associated with this address"
|
|
909
|
+
},
|
|
910
|
+
"phone": {
|
|
911
|
+
"type": "string",
|
|
912
|
+
"description": "The phone number associated with this address"
|
|
913
|
+
},
|
|
914
|
+
"pickup_location": {
|
|
915
|
+
"$ref": "#/components/schemas/PickupLocation"
|
|
916
|
+
},
|
|
917
|
+
"postal_code": {
|
|
918
|
+
"type": "string",
|
|
919
|
+
"description": "The postal code associated with this address"
|
|
920
|
+
},
|
|
921
|
+
"residential_indicator": {
|
|
922
|
+
"type": "string",
|
|
923
|
+
"description": "Indicates this is a residential or commercial address",
|
|
924
|
+
"enum": [
|
|
925
|
+
"R",
|
|
926
|
+
"C",
|
|
927
|
+
"null"
|
|
928
|
+
]
|
|
929
|
+
},
|
|
930
|
+
"state_province": {
|
|
931
|
+
"type": "string",
|
|
932
|
+
"description": "The state, province, or municipality of the address"
|
|
933
|
+
}
|
|
934
|
+
}
|
|
935
|
+
},
|
|
936
|
+
"Auth": {
|
|
937
|
+
"title": "Auth",
|
|
938
|
+
"type": "object",
|
|
939
|
+
"description": "Authentication properties",
|
|
940
|
+
"properties": {
|
|
941
|
+
"access_token": {
|
|
942
|
+
"type": "string",
|
|
943
|
+
"description": "Custom Value 1"
|
|
944
|
+
},
|
|
945
|
+
"api_key": {
|
|
946
|
+
"type": "string",
|
|
947
|
+
"description": "Custom Value 2"
|
|
948
|
+
},
|
|
949
|
+
"connection_context": {
|
|
950
|
+
"type": "string",
|
|
951
|
+
"description": "Custom Value 3"
|
|
952
|
+
},
|
|
953
|
+
"fulfillment_partner_api_code": {
|
|
954
|
+
"type": "string"
|
|
955
|
+
},
|
|
956
|
+
"password": {
|
|
957
|
+
"type": "string"
|
|
958
|
+
},
|
|
959
|
+
"url": {
|
|
960
|
+
"type": "string"
|
|
961
|
+
},
|
|
962
|
+
"username": {
|
|
963
|
+
"type": "string"
|
|
964
|
+
}
|
|
965
|
+
},
|
|
966
|
+
"required": [
|
|
967
|
+
"fulfillment_partner_api_code"
|
|
968
|
+
]
|
|
969
|
+
},
|
|
970
|
+
"BillingCategory": {
|
|
971
|
+
"type": "string",
|
|
972
|
+
"title": "BillingCategory",
|
|
973
|
+
"description": "This table lists the valid values for billing categories.",
|
|
974
|
+
"enum": [
|
|
975
|
+
"uncategorized",
|
|
976
|
+
"shipping",
|
|
977
|
+
"insurance",
|
|
978
|
+
"confirm",
|
|
979
|
+
"discount",
|
|
980
|
+
"fuel_charge",
|
|
981
|
+
"additional_fees",
|
|
982
|
+
"tariff",
|
|
983
|
+
"tax",
|
|
984
|
+
"delivery",
|
|
985
|
+
"handling",
|
|
986
|
+
"special_goods",
|
|
987
|
+
"pickup",
|
|
988
|
+
"location_fee",
|
|
989
|
+
"oversize",
|
|
990
|
+
"returns",
|
|
991
|
+
"notifications"
|
|
992
|
+
]
|
|
993
|
+
},
|
|
994
|
+
"BillingLineItem": {
|
|
995
|
+
"title": "Billing Line Item",
|
|
996
|
+
"type": "object",
|
|
997
|
+
"properties": {
|
|
998
|
+
"billing_category": {
|
|
999
|
+
"$ref": "#/components/schemas/BillingCategory"
|
|
1000
|
+
},
|
|
1001
|
+
"carrier_description": {
|
|
1002
|
+
"type": "string",
|
|
1003
|
+
"description": "If the carrier provides a description from their API about the billing charge (not specific to the user). Maximum length of 100 characters."
|
|
1004
|
+
},
|
|
1005
|
+
"carrier_billing_code": {
|
|
1006
|
+
"type": "string",
|
|
1007
|
+
"description": "If the carrier provides a billing code for the billing charge."
|
|
1008
|
+
},
|
|
1009
|
+
"memo": {
|
|
1010
|
+
"type": "string",
|
|
1011
|
+
"description": "This will often be empty; however, if there was additionally specific information about the charge it should go here, could also be a reference number. Maximum length of 250 characters."
|
|
1012
|
+
},
|
|
1013
|
+
"amount": {
|
|
1014
|
+
"type": "object",
|
|
1015
|
+
"required": [
|
|
1016
|
+
"amount",
|
|
1017
|
+
"currency"
|
|
1018
|
+
],
|
|
1019
|
+
"description": "Total amount and currency of the line item.",
|
|
1020
|
+
"properties": {
|
|
1021
|
+
"amount": {
|
|
1022
|
+
"type": "string",
|
|
1023
|
+
"description": "The amount of the line item."
|
|
1024
|
+
},
|
|
1025
|
+
"currency": {
|
|
1026
|
+
"type": "string",
|
|
1027
|
+
"description": "The currency of the line item."
|
|
1028
|
+
}
|
|
1029
|
+
}
|
|
1030
|
+
}
|
|
1031
|
+
},
|
|
1032
|
+
"required": [
|
|
1033
|
+
"billing_category",
|
|
1034
|
+
"amount"
|
|
1035
|
+
],
|
|
1036
|
+
"description": "This table lists the properties of a billing line item object and identifies those properties that are required."
|
|
1037
|
+
},
|
|
1038
|
+
"BillTo": {
|
|
1039
|
+
"type": "object",
|
|
1040
|
+
"title": "BillTo",
|
|
1041
|
+
"description": "This model represents information for who is being billed",
|
|
1042
|
+
"x-internal": false,
|
|
1043
|
+
"properties": {
|
|
1044
|
+
"address_line_1": {
|
|
1045
|
+
"type": "string",
|
|
1046
|
+
"description": "The first line of the address"
|
|
1047
|
+
},
|
|
1048
|
+
"address_line_2": {
|
|
1049
|
+
"type": "string",
|
|
1050
|
+
"description": "The second line of the address"
|
|
1051
|
+
},
|
|
1052
|
+
"address_line_3": {
|
|
1053
|
+
"type": "string",
|
|
1054
|
+
"description": "The third line of the address"
|
|
1055
|
+
},
|
|
1056
|
+
"city": {
|
|
1057
|
+
"type": "string",
|
|
1058
|
+
"description": "The city associated with this address"
|
|
1059
|
+
},
|
|
1060
|
+
"company": {
|
|
1061
|
+
"type": "string",
|
|
1062
|
+
"description": "The name of the company associated with this address"
|
|
1063
|
+
},
|
|
1064
|
+
"country_code": {
|
|
1065
|
+
"type": "string",
|
|
1066
|
+
"description": "The two character ISO 3166 country code of this address",
|
|
1067
|
+
"example": "US,MX,CA"
|
|
1068
|
+
},
|
|
1069
|
+
"email": {
|
|
1070
|
+
"type": "string",
|
|
1071
|
+
"description": "The email address of the person being billed"
|
|
1072
|
+
},
|
|
1073
|
+
"is_verified": {
|
|
1074
|
+
"type": "boolean",
|
|
1075
|
+
"description": "Indicates whether or not this address has been verified using an Address Verification Service"
|
|
1076
|
+
},
|
|
1077
|
+
"name": {
|
|
1078
|
+
"type": "string",
|
|
1079
|
+
"description": "The name of the individual associated with this address"
|
|
1080
|
+
},
|
|
1081
|
+
"phone": {
|
|
1082
|
+
"type": "string",
|
|
1083
|
+
"description": "The phone number associated with this address"
|
|
1084
|
+
},
|
|
1085
|
+
"pickup_location": {
|
|
1086
|
+
"$ref": "#/components/schemas/PickupLocation"
|
|
1087
|
+
},
|
|
1088
|
+
"postal_code": {
|
|
1089
|
+
"type": "string",
|
|
1090
|
+
"description": "The postal code associated with this address"
|
|
1091
|
+
},
|
|
1092
|
+
"residential_indicator": {
|
|
1093
|
+
"type": "string",
|
|
1094
|
+
"description": "Indicates this is a residential or commercial address",
|
|
1095
|
+
"enum": [
|
|
1096
|
+
"R",
|
|
1097
|
+
"C",
|
|
1098
|
+
"null"
|
|
1099
|
+
]
|
|
1100
|
+
},
|
|
1101
|
+
"state_province": {
|
|
1102
|
+
"type": "string",
|
|
1103
|
+
"description": "The state, province, or municipality of the address"
|
|
1104
|
+
}
|
|
1105
|
+
},
|
|
1106
|
+
"required": [
|
|
1107
|
+
"address_line_1",
|
|
1108
|
+
"address_line_2",
|
|
1109
|
+
"address_line_3",
|
|
1110
|
+
"city",
|
|
1111
|
+
"company",
|
|
1112
|
+
"country_code",
|
|
1113
|
+
"name",
|
|
1114
|
+
"phone",
|
|
1115
|
+
"postal_code",
|
|
1116
|
+
"state_province"
|
|
1117
|
+
]
|
|
1118
|
+
},
|
|
1119
|
+
"Branding": {
|
|
1120
|
+
"title": "Branding",
|
|
1121
|
+
"type": "object",
|
|
1122
|
+
"properties": {
|
|
1123
|
+
"company_name": {
|
|
1124
|
+
"type": "string"
|
|
1125
|
+
},
|
|
1126
|
+
"packing_slip": {
|
|
1127
|
+
"$ref": "#/components/schemas/PackingSlip"
|
|
1128
|
+
}
|
|
1129
|
+
},
|
|
1130
|
+
"description": "The brand requested for a fulfillment"
|
|
1131
|
+
},
|
|
1132
|
+
"Buyer": {
|
|
1133
|
+
"title": "Buyer",
|
|
1134
|
+
"type": "object",
|
|
1135
|
+
"description": "Contact information for the buyer of this sales order",
|
|
1136
|
+
"properties": {
|
|
1137
|
+
"buyer_id": {
|
|
1138
|
+
"type": "string",
|
|
1139
|
+
"description": "An ID for this buyer in the vendor API"
|
|
1140
|
+
},
|
|
1141
|
+
"email": {
|
|
1142
|
+
"type": "string",
|
|
1143
|
+
"description": "The primary email address of the buyer"
|
|
1144
|
+
},
|
|
1145
|
+
"name": {
|
|
1146
|
+
"type": "string",
|
|
1147
|
+
"description": "The full name of the buyer"
|
|
1148
|
+
},
|
|
1149
|
+
"phone": {
|
|
1150
|
+
"type": "string",
|
|
1151
|
+
"description": "The primary phone number of the buyer"
|
|
1152
|
+
}
|
|
1153
|
+
}
|
|
1154
|
+
},
|
|
1155
|
+
"Charge": {
|
|
1156
|
+
"title": "Charge",
|
|
1157
|
+
"type": "object",
|
|
1158
|
+
"description": "This represents an amount charged",
|
|
1159
|
+
"properties": {
|
|
1160
|
+
"amount": {
|
|
1161
|
+
"type": "string",
|
|
1162
|
+
"description": "The amount of the currency"
|
|
1163
|
+
},
|
|
1164
|
+
"description": {
|
|
1165
|
+
"type": "string",
|
|
1166
|
+
"description": "A description for display purposes only"
|
|
1167
|
+
}
|
|
1168
|
+
},
|
|
1169
|
+
"required": [
|
|
1170
|
+
"amount",
|
|
1171
|
+
"description"
|
|
1172
|
+
]
|
|
1173
|
+
},
|
|
1174
|
+
"CountryCode": {
|
|
1175
|
+
"type": "string",
|
|
1176
|
+
"title": "Country Code",
|
|
1177
|
+
"description": "This is the list of ISO 3166-1 alpha-2 supported. You must use the specified abbreviation anytime a country is needed, such as in your Delivery Service Definition files in the availableCountries properties.",
|
|
1178
|
+
"enum": [
|
|
1179
|
+
"AF",
|
|
1180
|
+
"AX",
|
|
1181
|
+
"AL",
|
|
1182
|
+
"DZ",
|
|
1183
|
+
"AS",
|
|
1184
|
+
"AD",
|
|
1185
|
+
"AO",
|
|
1186
|
+
"AI",
|
|
1187
|
+
"AQ",
|
|
1188
|
+
"AG",
|
|
1189
|
+
"AR",
|
|
1190
|
+
"AM",
|
|
1191
|
+
"AW",
|
|
1192
|
+
"AU",
|
|
1193
|
+
"AT",
|
|
1194
|
+
"AZ",
|
|
1195
|
+
"BS",
|
|
1196
|
+
"BH",
|
|
1197
|
+
"BD",
|
|
1198
|
+
"BB",
|
|
1199
|
+
"BY",
|
|
1200
|
+
"BE",
|
|
1201
|
+
"BZ",
|
|
1202
|
+
"BJ",
|
|
1203
|
+
"BM",
|
|
1204
|
+
"BT",
|
|
1205
|
+
"BO",
|
|
1206
|
+
"BA",
|
|
1207
|
+
"BW",
|
|
1208
|
+
"BV",
|
|
1209
|
+
"BR",
|
|
1210
|
+
"IO",
|
|
1211
|
+
"BN",
|
|
1212
|
+
"BG",
|
|
1213
|
+
"BF",
|
|
1214
|
+
"BI",
|
|
1215
|
+
"KH",
|
|
1216
|
+
"CM",
|
|
1217
|
+
"CA",
|
|
1218
|
+
"CV",
|
|
1219
|
+
"KY",
|
|
1220
|
+
"CF",
|
|
1221
|
+
"TD",
|
|
1222
|
+
"CL",
|
|
1223
|
+
"CN",
|
|
1224
|
+
"CX",
|
|
1225
|
+
"CC",
|
|
1226
|
+
"CO",
|
|
1227
|
+
"KM",
|
|
1228
|
+
"CG",
|
|
1229
|
+
"CD",
|
|
1230
|
+
"CK",
|
|
1231
|
+
"CR",
|
|
1232
|
+
"CI",
|
|
1233
|
+
"HR",
|
|
1234
|
+
"CU",
|
|
1235
|
+
"CY",
|
|
1236
|
+
"CZ",
|
|
1237
|
+
"DK",
|
|
1238
|
+
"DJ",
|
|
1239
|
+
"DM",
|
|
1240
|
+
"DO",
|
|
1241
|
+
"EC",
|
|
1242
|
+
"EG",
|
|
1243
|
+
"SV",
|
|
1244
|
+
"GQ",
|
|
1245
|
+
"ER",
|
|
1246
|
+
"EE",
|
|
1247
|
+
"ET",
|
|
1248
|
+
"FK",
|
|
1249
|
+
"FO",
|
|
1250
|
+
"FJ",
|
|
1251
|
+
"FI",
|
|
1252
|
+
"FR",
|
|
1253
|
+
"GF",
|
|
1254
|
+
"PF",
|
|
1255
|
+
"TF",
|
|
1256
|
+
"GA",
|
|
1257
|
+
"GM",
|
|
1258
|
+
"GE",
|
|
1259
|
+
"DE",
|
|
1260
|
+
"GH",
|
|
1261
|
+
"GI",
|
|
1262
|
+
"GR",
|
|
1263
|
+
"GL",
|
|
1264
|
+
"GD",
|
|
1265
|
+
"GP",
|
|
1266
|
+
"GU",
|
|
1267
|
+
"GT",
|
|
1268
|
+
"GG",
|
|
1269
|
+
"GN",
|
|
1270
|
+
"GW",
|
|
1271
|
+
"GY",
|
|
1272
|
+
"HT",
|
|
1273
|
+
"HM",
|
|
1274
|
+
"VA",
|
|
1275
|
+
"HN",
|
|
1276
|
+
"HK",
|
|
1277
|
+
"HU",
|
|
1278
|
+
"IS",
|
|
1279
|
+
"IN",
|
|
1280
|
+
"ID",
|
|
1281
|
+
"IR",
|
|
1282
|
+
"IQ",
|
|
1283
|
+
"IE",
|
|
1284
|
+
"IM",
|
|
1285
|
+
"IL",
|
|
1286
|
+
"IT",
|
|
1287
|
+
"JM",
|
|
1288
|
+
"JP",
|
|
1289
|
+
"JE",
|
|
1290
|
+
"JO",
|
|
1291
|
+
"KZ",
|
|
1292
|
+
"KE",
|
|
1293
|
+
"KI",
|
|
1294
|
+
"KR",
|
|
1295
|
+
"KW",
|
|
1296
|
+
"KG",
|
|
1297
|
+
"LA",
|
|
1298
|
+
"LV",
|
|
1299
|
+
"LB",
|
|
1300
|
+
"LS",
|
|
1301
|
+
"LR",
|
|
1302
|
+
"LY",
|
|
1303
|
+
"LI",
|
|
1304
|
+
"LT",
|
|
1305
|
+
"LU",
|
|
1306
|
+
"MO",
|
|
1307
|
+
"MK",
|
|
1308
|
+
"MG",
|
|
1309
|
+
"MW",
|
|
1310
|
+
"MY",
|
|
1311
|
+
"MV",
|
|
1312
|
+
"ML",
|
|
1313
|
+
"MT",
|
|
1314
|
+
"MH",
|
|
1315
|
+
"MQ",
|
|
1316
|
+
"MR",
|
|
1317
|
+
"MU",
|
|
1318
|
+
"YT",
|
|
1319
|
+
"MX",
|
|
1320
|
+
"FM",
|
|
1321
|
+
"MD",
|
|
1322
|
+
"MC",
|
|
1323
|
+
"MN",
|
|
1324
|
+
"ME",
|
|
1325
|
+
"MS",
|
|
1326
|
+
"MA",
|
|
1327
|
+
"MZ",
|
|
1328
|
+
"MM",
|
|
1329
|
+
"NA",
|
|
1330
|
+
"NR",
|
|
1331
|
+
"NP",
|
|
1332
|
+
"NL",
|
|
1333
|
+
"AN",
|
|
1334
|
+
"NC",
|
|
1335
|
+
"NZ",
|
|
1336
|
+
"NI",
|
|
1337
|
+
"NE",
|
|
1338
|
+
"NG",
|
|
1339
|
+
"NU",
|
|
1340
|
+
"NF",
|
|
1341
|
+
"MP",
|
|
1342
|
+
"NO",
|
|
1343
|
+
"OM",
|
|
1344
|
+
"PK",
|
|
1345
|
+
"PW",
|
|
1346
|
+
"PS",
|
|
1347
|
+
"PA",
|
|
1348
|
+
"PG",
|
|
1349
|
+
"PY",
|
|
1350
|
+
"PE",
|
|
1351
|
+
"PH",
|
|
1352
|
+
"PN",
|
|
1353
|
+
"PL",
|
|
1354
|
+
"PT",
|
|
1355
|
+
"PR",
|
|
1356
|
+
"QA",
|
|
1357
|
+
"RE",
|
|
1358
|
+
"RO",
|
|
1359
|
+
"RU",
|
|
1360
|
+
"RW",
|
|
1361
|
+
"BL",
|
|
1362
|
+
"SH",
|
|
1363
|
+
"KN",
|
|
1364
|
+
"LC",
|
|
1365
|
+
"MF",
|
|
1366
|
+
"PM",
|
|
1367
|
+
"VC",
|
|
1368
|
+
"WS",
|
|
1369
|
+
"SM",
|
|
1370
|
+
"ST",
|
|
1371
|
+
"SA",
|
|
1372
|
+
"SN",
|
|
1373
|
+
"RS",
|
|
1374
|
+
"SC",
|
|
1375
|
+
"SL",
|
|
1376
|
+
"SG",
|
|
1377
|
+
"SK",
|
|
1378
|
+
"SI",
|
|
1379
|
+
"SB",
|
|
1380
|
+
"SO",
|
|
1381
|
+
"ZA",
|
|
1382
|
+
"GS",
|
|
1383
|
+
"ES",
|
|
1384
|
+
"LK",
|
|
1385
|
+
"SD",
|
|
1386
|
+
"SR",
|
|
1387
|
+
"SJ",
|
|
1388
|
+
"SZ",
|
|
1389
|
+
"SE",
|
|
1390
|
+
"CH",
|
|
1391
|
+
"SY",
|
|
1392
|
+
"TW",
|
|
1393
|
+
"TJ",
|
|
1394
|
+
"TZ",
|
|
1395
|
+
"TH",
|
|
1396
|
+
"TL",
|
|
1397
|
+
"TG",
|
|
1398
|
+
"TK",
|
|
1399
|
+
"TO",
|
|
1400
|
+
"TT",
|
|
1401
|
+
"TN",
|
|
1402
|
+
"TR",
|
|
1403
|
+
"TM",
|
|
1404
|
+
"TC",
|
|
1405
|
+
"TV",
|
|
1406
|
+
"UG",
|
|
1407
|
+
"UA",
|
|
1408
|
+
"AE",
|
|
1409
|
+
"GB",
|
|
1410
|
+
"US",
|
|
1411
|
+
"UM",
|
|
1412
|
+
"UY",
|
|
1413
|
+
"UZ",
|
|
1414
|
+
"VU",
|
|
1415
|
+
"VE",
|
|
1416
|
+
"VN",
|
|
1417
|
+
"VG",
|
|
1418
|
+
"VI",
|
|
1419
|
+
"WF",
|
|
1420
|
+
"EH",
|
|
1421
|
+
"YE",
|
|
1422
|
+
"ZM",
|
|
1423
|
+
"ZW"
|
|
1424
|
+
]
|
|
1425
|
+
},
|
|
1426
|
+
"Customs": {
|
|
1427
|
+
"title": "Customs",
|
|
1428
|
+
"type": "object",
|
|
1429
|
+
"description": "Customs declarations for this package.",
|
|
1430
|
+
"properties": {
|
|
1431
|
+
"customs": {
|
|
1432
|
+
"type": "object",
|
|
1433
|
+
"properties": {
|
|
1434
|
+
"contents": {
|
|
1435
|
+
"$ref": "#/components/schemas/DeliveryConfirmation"
|
|
1436
|
+
},
|
|
1437
|
+
"non_delivery": {
|
|
1438
|
+
"type": "string",
|
|
1439
|
+
"description": "Indicates what should be done if the package cannot be delivered. If undefined, the default behavior of the receiving country's customs department applies, which may incur charges.",
|
|
1440
|
+
"enum": [
|
|
1441
|
+
"return_to_sender",
|
|
1442
|
+
"treat_as_abandoned"
|
|
1443
|
+
]
|
|
1444
|
+
},
|
|
1445
|
+
"customs_items": {
|
|
1446
|
+
"type": "array",
|
|
1447
|
+
"items": {
|
|
1448
|
+
"type": "object",
|
|
1449
|
+
"properties": {
|
|
1450
|
+
"description": {
|
|
1451
|
+
"type": "string",
|
|
1452
|
+
"description": "A description of the item. Usually required if type is other. This string will not contain newline characters."
|
|
1453
|
+
},
|
|
1454
|
+
"quantity": {
|
|
1455
|
+
"type": "number",
|
|
1456
|
+
"description": "The quantity of items in the package."
|
|
1457
|
+
},
|
|
1458
|
+
"value": {
|
|
1459
|
+
"type": "object",
|
|
1460
|
+
"description": "The monetary value of each unit in the package.",
|
|
1461
|
+
"properties": {
|
|
1462
|
+
"amount": {
|
|
1463
|
+
"type": "number",
|
|
1464
|
+
"description": "The amount of this value."
|
|
1465
|
+
},
|
|
1466
|
+
"currency": {
|
|
1467
|
+
"type": "string",
|
|
1468
|
+
"description": "The currency that the value represents."
|
|
1469
|
+
}
|
|
1470
|
+
}
|
|
1471
|
+
},
|
|
1472
|
+
"country_of_origin": {
|
|
1473
|
+
"$ref": "#/components/schemas/CountryCode"
|
|
1474
|
+
},
|
|
1475
|
+
"harmonized_tariff_code": {
|
|
1476
|
+
"type": "string",
|
|
1477
|
+
"description": "The Harmonized Tariff Code for the item. This string must not contain newline characters."
|
|
1478
|
+
},
|
|
1479
|
+
"sku": {
|
|
1480
|
+
"type": "string",
|
|
1481
|
+
"description": "The Stock Keeping Unit of this customs item. This field is completely free form."
|
|
1482
|
+
},
|
|
1483
|
+
"sku_description": {
|
|
1484
|
+
"type": "string",
|
|
1485
|
+
"description": "The user specified SKU description of this customs item. This field is completely free form."
|
|
1486
|
+
},
|
|
1487
|
+
"item_weight": {
|
|
1488
|
+
"$ref": "#/components/schemas/WeightDetails"
|
|
1489
|
+
}
|
|
1490
|
+
}
|
|
1491
|
+
}
|
|
1492
|
+
},
|
|
1493
|
+
"buyer_shipping_amount_paid": {
|
|
1494
|
+
"type": "object",
|
|
1495
|
+
"description": "Indicates how much the buyer paid for shipping, if any. This amount may be different than the shipping cost billed to the shipper.",
|
|
1496
|
+
"properties": {
|
|
1497
|
+
"amount": {
|
|
1498
|
+
"type": "number",
|
|
1499
|
+
"description": "The amount of this value."
|
|
1500
|
+
},
|
|
1501
|
+
"currency": {
|
|
1502
|
+
"type": "string",
|
|
1503
|
+
"description": "The currency that the value represents."
|
|
1504
|
+
}
|
|
1505
|
+
},
|
|
1506
|
+
"required": [
|
|
1507
|
+
"amount",
|
|
1508
|
+
"currency"
|
|
1509
|
+
]
|
|
1510
|
+
},
|
|
1511
|
+
"duties_paid": {
|
|
1512
|
+
"type": "object",
|
|
1513
|
+
"description": "The amount of duties paid by the shipper, if any. This is generally only necessary for DDP (bill duties to sender) shipments.",
|
|
1514
|
+
"properties": {
|
|
1515
|
+
"value": {
|
|
1516
|
+
"type": "number",
|
|
1517
|
+
"description": "The amount of this value."
|
|
1518
|
+
},
|
|
1519
|
+
"currency": {
|
|
1520
|
+
"type": "string",
|
|
1521
|
+
"description": "The currency that the value represents."
|
|
1522
|
+
}
|
|
1523
|
+
},
|
|
1524
|
+
"required": [
|
|
1525
|
+
"value",
|
|
1526
|
+
"currency"
|
|
1527
|
+
]
|
|
1528
|
+
}
|
|
1529
|
+
},
|
|
1530
|
+
"required": [
|
|
1531
|
+
"customs_items"
|
|
1532
|
+
]
|
|
1533
|
+
}
|
|
1534
|
+
}
|
|
1535
|
+
},
|
|
1536
|
+
"DeliveryConfirmation": {
|
|
1537
|
+
"type": "string",
|
|
1538
|
+
"title": "DeliveryConfirmation",
|
|
1539
|
+
"description": "This is the list of valid values for delivery confirmation types.",
|
|
1540
|
+
"enum": [
|
|
1541
|
+
"None",
|
|
1542
|
+
"Delivery",
|
|
1543
|
+
"Signature",
|
|
1544
|
+
"AdultSignature",
|
|
1545
|
+
"DirectSignature"
|
|
1546
|
+
]
|
|
1547
|
+
},
|
|
1548
|
+
"DimensionDetails": {
|
|
1549
|
+
"title": "Dimension Details",
|
|
1550
|
+
"type": "object",
|
|
1551
|
+
"description": "This model represents the dimensions for a package represented in its original unit, inches, and centimeters.",
|
|
1552
|
+
"properties": {
|
|
1553
|
+
"dimensions_in_centimeters": {
|
|
1554
|
+
"$ref": "#/components/schemas/PackageDimension"
|
|
1555
|
+
},
|
|
1556
|
+
"dimension_in_inches": {
|
|
1557
|
+
"$ref": "#/components/schemas/PackageDimension"
|
|
1558
|
+
},
|
|
1559
|
+
"source_dimensions": {
|
|
1560
|
+
"$ref": "#/components/schemas/PackageDimension"
|
|
1561
|
+
},
|
|
1562
|
+
"source_dimensions_units": {
|
|
1563
|
+
"type": "string",
|
|
1564
|
+
"description": "The unit of the source dimensions. Either centimeters or inches."
|
|
1565
|
+
}
|
|
1566
|
+
},
|
|
1567
|
+
"required": [
|
|
1568
|
+
"dimensions_in_centimeters",
|
|
1569
|
+
"dimension_in_inches",
|
|
1570
|
+
"source_dimensions",
|
|
1571
|
+
"source_dimensions_units"
|
|
1572
|
+
]
|
|
1573
|
+
},
|
|
1574
|
+
"Dimensions": {
|
|
1575
|
+
"title": "Dimensions",
|
|
1576
|
+
"type": "object",
|
|
1577
|
+
"description": "The definition of dimensions for an item or package",
|
|
1578
|
+
"properties": {
|
|
1579
|
+
"height": {
|
|
1580
|
+
"type": "number",
|
|
1581
|
+
"description": "The height of the item in dimension units"
|
|
1582
|
+
},
|
|
1583
|
+
"length": {
|
|
1584
|
+
"type": "number",
|
|
1585
|
+
"description": "The length of the item in dimension units"
|
|
1586
|
+
},
|
|
1587
|
+
"unit": {
|
|
1588
|
+
"type": "string",
|
|
1589
|
+
"description": "The unit associated with these dimensions",
|
|
1590
|
+
"enum": [
|
|
1591
|
+
"Centimeter",
|
|
1592
|
+
"Inch"
|
|
1593
|
+
]
|
|
1594
|
+
},
|
|
1595
|
+
"width": {
|
|
1596
|
+
"type": "number",
|
|
1597
|
+
"description": "The width of the item in dimension units"
|
|
1598
|
+
}
|
|
1599
|
+
},
|
|
1600
|
+
"required": [
|
|
1601
|
+
"height",
|
|
1602
|
+
"length",
|
|
1603
|
+
"unit",
|
|
1604
|
+
"width"
|
|
1605
|
+
]
|
|
1606
|
+
},
|
|
1607
|
+
"Document": {
|
|
1608
|
+
"title": "Document",
|
|
1609
|
+
"type": "object",
|
|
1610
|
+
"properties": {
|
|
1611
|
+
"data": {
|
|
1612
|
+
"type": "string",
|
|
1613
|
+
"description": "Base64 encoded string of the document in the specified format"
|
|
1614
|
+
},
|
|
1615
|
+
"format": {
|
|
1616
|
+
"type": "string",
|
|
1617
|
+
"description": "The format the document is in",
|
|
1618
|
+
"enum": [
|
|
1619
|
+
"PDF",
|
|
1620
|
+
"PNG",
|
|
1621
|
+
"ZPL"
|
|
1622
|
+
]
|
|
1623
|
+
},
|
|
1624
|
+
"type": {
|
|
1625
|
+
"type": "array",
|
|
1626
|
+
"description": "Usually there will only be 1 type present, but sometimes multiple documents can be combined",
|
|
1627
|
+
"items": {
|
|
1628
|
+
"type": "string",
|
|
1629
|
+
"enum": [
|
|
1630
|
+
"commercial_invoice",
|
|
1631
|
+
"customs_form",
|
|
1632
|
+
"label"
|
|
1633
|
+
]
|
|
1634
|
+
}
|
|
1635
|
+
}
|
|
1636
|
+
},
|
|
1637
|
+
"required": [
|
|
1638
|
+
"format"
|
|
1639
|
+
]
|
|
1640
|
+
},
|
|
1641
|
+
"FulfillmentPlanDetails": {
|
|
1642
|
+
"title": "Fulfillment Plan Details",
|
|
1643
|
+
"type": "object",
|
|
1644
|
+
"description": "An fulfillment plan details object representing a fulfilment plan.",
|
|
1645
|
+
"properties": {
|
|
1646
|
+
"external_sales_order_identifiers": {
|
|
1647
|
+
"type": "array",
|
|
1648
|
+
"description": "A list of identifiers for the sales order.",
|
|
1649
|
+
"items": {
|
|
1650
|
+
"$ref": "#/components/schemas/Identifier"
|
|
1651
|
+
}
|
|
1652
|
+
},
|
|
1653
|
+
"items": {
|
|
1654
|
+
"type": "array",
|
|
1655
|
+
"items": {
|
|
1656
|
+
"$ref": "#/components/schemas/FulfillmentPlanDetails"
|
|
1657
|
+
}
|
|
1658
|
+
},
|
|
1659
|
+
"raw_external_source": {
|
|
1660
|
+
"type": "object",
|
|
1661
|
+
"required": [
|
|
1662
|
+
"marketplace_code"
|
|
1663
|
+
],
|
|
1664
|
+
"description": "This model represents a raw external source of information.",
|
|
1665
|
+
"properties": {
|
|
1666
|
+
"marketplace_code": {
|
|
1667
|
+
"type": "string",
|
|
1668
|
+
"description": "Canonical representation of the fulfillment plan's and/or sales order's original source."
|
|
1669
|
+
}
|
|
1670
|
+
}
|
|
1671
|
+
}
|
|
1672
|
+
},
|
|
1673
|
+
"required": [
|
|
1674
|
+
"raw_external_source"
|
|
1675
|
+
]
|
|
1676
|
+
},
|
|
1677
|
+
"FulfillmentPlanItem": {
|
|
1678
|
+
"title": "Fulfillment Plan Item",
|
|
1679
|
+
"type": "object",
|
|
1680
|
+
"properties": {
|
|
1681
|
+
"external_sales_order_identifiers": {
|
|
1682
|
+
"type": "array",
|
|
1683
|
+
"description": "A list of identifiers for the sales order item.",
|
|
1684
|
+
"items": {
|
|
1685
|
+
"$ref": "#/components/schemas/Identifier"
|
|
1686
|
+
}
|
|
1687
|
+
},
|
|
1688
|
+
"external_product_identifiers": {
|
|
1689
|
+
"type": "array",
|
|
1690
|
+
"description": "A list of identifiers specific to the selling channel.",
|
|
1691
|
+
"items": {
|
|
1692
|
+
"$ref": "#/components/schemas/Identifier"
|
|
1693
|
+
}
|
|
1694
|
+
},
|
|
1695
|
+
"name": {
|
|
1696
|
+
"type": "string",
|
|
1697
|
+
"description": "The name of the item."
|
|
1698
|
+
},
|
|
1699
|
+
"quantity": {
|
|
1700
|
+
"type": "number",
|
|
1701
|
+
"description": "The number of items."
|
|
1702
|
+
}
|
|
1703
|
+
},
|
|
1704
|
+
"description": "An fulfillment plan item object representing a single item on a fulfilment plan."
|
|
1705
|
+
},
|
|
1706
|
+
"Identifier": {
|
|
1707
|
+
"title": "Identifier",
|
|
1708
|
+
"type": "object",
|
|
1709
|
+
"description": "An identifier object is used to describe any identifier used through out Connect.",
|
|
1710
|
+
"properties": {
|
|
1711
|
+
"type": {
|
|
1712
|
+
"type": "string",
|
|
1713
|
+
"description": "They key associated with the identifier. Examples include tracking_number or carrier_transaction_id."
|
|
1714
|
+
},
|
|
1715
|
+
"value": {
|
|
1716
|
+
"type": "string",
|
|
1717
|
+
"description": "The value of the identifier."
|
|
1718
|
+
}
|
|
1719
|
+
},
|
|
1720
|
+
"required": [
|
|
1721
|
+
"type",
|
|
1722
|
+
"value"
|
|
1723
|
+
]
|
|
1724
|
+
},
|
|
1725
|
+
"GetRatesRequest": {
|
|
1726
|
+
"title": "Get Rates Request",
|
|
1727
|
+
"type": "object",
|
|
1728
|
+
"description": "An object containing information about the shipment to get rates for. The more information provided the more accurate rates (usually).",
|
|
1729
|
+
"properties": {
|
|
1730
|
+
"service_code": {
|
|
1731
|
+
"type": "string",
|
|
1732
|
+
"description": "Code used to map to what the carrier uses to identify the service."
|
|
1733
|
+
},
|
|
1734
|
+
"ship_datetime": {
|
|
1735
|
+
"type": "string",
|
|
1736
|
+
"description": "When the package is expected to ship. Not guaranteed to be in the future. Formatted per the https://tools.ietf.org/html/rfc3339 spec. Will always be in UTC."
|
|
1737
|
+
},
|
|
1738
|
+
"confirmation": {
|
|
1739
|
+
"$ref": "#/components/schemas/DeliveryConfirmation"
|
|
1740
|
+
},
|
|
1741
|
+
"advanced_options": {
|
|
1742
|
+
"type": "object",
|
|
1743
|
+
"description": "This is a schemaless object. It is for open ended customizations unique to particular carriers. If the field is absent it should be interpreted as the default value for any applicable options, e.g. false for booleans."
|
|
1744
|
+
},
|
|
1745
|
+
"insurance_provider": {
|
|
1746
|
+
"type": "string",
|
|
1747
|
+
"description": "The insurance provider for the insured value of the label, carrier indicates that the user is requesting insurance from the carrier directly, anything else is extra information that should not result in a transaction.",
|
|
1748
|
+
"enum": [
|
|
1749
|
+
"None",
|
|
1750
|
+
"Shipstation",
|
|
1751
|
+
"Carrier",
|
|
1752
|
+
"External"
|
|
1753
|
+
]
|
|
1754
|
+
},
|
|
1755
|
+
"is_return_label": {
|
|
1756
|
+
"type": "boolean",
|
|
1757
|
+
"description": "Indicates whether the label is a return."
|
|
1758
|
+
},
|
|
1759
|
+
"is_residential": {
|
|
1760
|
+
"type": "boolean",
|
|
1761
|
+
"description": "Indicates whether the label is to a residential address."
|
|
1762
|
+
},
|
|
1763
|
+
"packages": {
|
|
1764
|
+
"type": "string",
|
|
1765
|
+
"description": "All the packages that make up this shipment. There will always be at least one package defined."
|
|
1766
|
+
},
|
|
1767
|
+
"customs": {
|
|
1768
|
+
"$ref": "#/components/schemas/Customs"
|
|
1769
|
+
},
|
|
1770
|
+
"ship_to": {
|
|
1771
|
+
"$ref": "#/components/schemas/ShippingAddress"
|
|
1772
|
+
},
|
|
1773
|
+
"ship_from": {
|
|
1774
|
+
"$ref": "#/components/schemas/ShippingAddress"
|
|
1775
|
+
},
|
|
1776
|
+
"pickup_location": {
|
|
1777
|
+
"$ref": "#/components/schemas/PickupLocationDetails"
|
|
1778
|
+
},
|
|
1779
|
+
"ship_from_display": {
|
|
1780
|
+
"$ref": "#/components/schemas/ShippingAddress"
|
|
1781
|
+
},
|
|
1782
|
+
"next_day": {
|
|
1783
|
+
"type": "boolean",
|
|
1784
|
+
"description": "Indicates whether this shipment is expected to use a next day service class. If the field is absent it should be interpreted as false"
|
|
1785
|
+
},
|
|
1786
|
+
"international": {
|
|
1787
|
+
"type": "boolean",
|
|
1788
|
+
"description": "Indicates Whether the shipment is international."
|
|
1789
|
+
},
|
|
1790
|
+
"fulfillment_plan_details": {
|
|
1791
|
+
"$ref": "#/components/schemas/FulfillmentPlanDetails"
|
|
1792
|
+
}
|
|
1793
|
+
},
|
|
1794
|
+
"required": [
|
|
1795
|
+
"ship_datetime"
|
|
1796
|
+
]
|
|
1797
|
+
},
|
|
1798
|
+
"GetRatesResponse": {
|
|
1799
|
+
"title": "Get Rates Response",
|
|
1800
|
+
"type": "object",
|
|
1801
|
+
"description": "This object model represents the response from a successful get rates request.",
|
|
1802
|
+
"properties": {
|
|
1803
|
+
"rates": {
|
|
1804
|
+
"type": "array",
|
|
1805
|
+
"description": "A list of rates for shipping services. If you use service codes there may be exactly one rate returned for the requested service. If you use service codes there may be more than one rate to provide additional options. If you don't use service codes there may be one or more rates. If you don't provide real time rates you should return a single hard coded zero value rate.",
|
|
1806
|
+
"items": {
|
|
1807
|
+
"type": "object",
|
|
1808
|
+
"properties": {
|
|
1809
|
+
"billing_line_items": {
|
|
1810
|
+
"description": "Individual Billing Line items for the rate.",
|
|
1811
|
+
"type": "array",
|
|
1812
|
+
"items": {
|
|
1813
|
+
"$ref": "#/components/schemas/BillingLineItem"
|
|
1814
|
+
}
|
|
1815
|
+
},
|
|
1816
|
+
"error_messages": {
|
|
1817
|
+
"type": "array",
|
|
1818
|
+
"description": "Any error messages that resulted while trying to get the rate.",
|
|
1819
|
+
"items": {
|
|
1820
|
+
"type": "string"
|
|
1821
|
+
}
|
|
1822
|
+
},
|
|
1823
|
+
"estimated_delivery_datetime": {
|
|
1824
|
+
"type": "string",
|
|
1825
|
+
"description": "When the package(s) in this shipment are expected to arrive at their destination. Formatted per the https://tools.ietf.org/html/rfc3339 spec. Must be in UTC."
|
|
1826
|
+
},
|
|
1827
|
+
"negotiated_rate": {
|
|
1828
|
+
"type": "boolean",
|
|
1829
|
+
"description": "Indicates whether this is a pre-negotiated rate."
|
|
1830
|
+
},
|
|
1831
|
+
"service_code": {
|
|
1832
|
+
"type": "string",
|
|
1833
|
+
"description": "The service code uniquely identifies a shipping service that you offer. Which service codes can be passed to you will be configured in ShipEngine. If this field is missing, the rate will be discarded."
|
|
1834
|
+
},
|
|
1835
|
+
"ship_datetime": {
|
|
1836
|
+
"type": "string",
|
|
1837
|
+
"description": "When the package should ship for this rate to be valid. Formatted per the https://tools.ietf.org/html/rfc3339 spec. Must be in UTC."
|
|
1838
|
+
},
|
|
1839
|
+
"warning_messages": {
|
|
1840
|
+
"type": "array",
|
|
1841
|
+
"description": "Any warning messages that resulted while trying to get the rate.",
|
|
1842
|
+
"items": {
|
|
1843
|
+
"type": "string"
|
|
1844
|
+
}
|
|
1845
|
+
}
|
|
1846
|
+
}
|
|
1847
|
+
}
|
|
1848
|
+
}
|
|
1849
|
+
},
|
|
1850
|
+
"required": [
|
|
1851
|
+
"rates"
|
|
1852
|
+
]
|
|
1853
|
+
},
|
|
1854
|
+
"LineItemQuantityStatus": {
|
|
1855
|
+
"title": "LineItemQuantityStatus",
|
|
1856
|
+
"type": "object",
|
|
1857
|
+
"properties": {
|
|
1858
|
+
"line_item_id": {
|
|
1859
|
+
"type": "string"
|
|
1860
|
+
},
|
|
1861
|
+
"sku": {
|
|
1862
|
+
"type": "string"
|
|
1863
|
+
},
|
|
1864
|
+
"quantity": {
|
|
1865
|
+
"type": "number"
|
|
1866
|
+
},
|
|
1867
|
+
"shipped_quantity": {
|
|
1868
|
+
"type": "number"
|
|
1869
|
+
},
|
|
1870
|
+
"cancelled_quantity": {
|
|
1871
|
+
"$ref": "#/components/schemas/QuantityWithReason"
|
|
1872
|
+
},
|
|
1873
|
+
"rejected_quantity": {
|
|
1874
|
+
"$ref": "#/components/schemas/QuantityWithReason"
|
|
1875
|
+
},
|
|
1876
|
+
"unknown_quantity": {
|
|
1877
|
+
"$ref": "#/components/schemas/QuantityWithReason"
|
|
1878
|
+
}
|
|
1879
|
+
},
|
|
1880
|
+
"required": [
|
|
1881
|
+
"line_item_id",
|
|
1882
|
+
"sku",
|
|
1883
|
+
"quantity"
|
|
1884
|
+
],
|
|
1885
|
+
"description": "Sales order line item quantity fulfillment statuses"
|
|
1886
|
+
},
|
|
1887
|
+
"Note": {
|
|
1888
|
+
"title": "Note",
|
|
1889
|
+
"type": "object",
|
|
1890
|
+
"description": "This represents a note to the buyer, seller, or recipient",
|
|
1891
|
+
"properties": {
|
|
1892
|
+
"text": {
|
|
1893
|
+
"type": "string",
|
|
1894
|
+
"description": "The contents of the note"
|
|
1895
|
+
},
|
|
1896
|
+
"type": {
|
|
1897
|
+
"$ref": "#/components/schemas/NoteType"
|
|
1898
|
+
}
|
|
1899
|
+
},
|
|
1900
|
+
"required": [
|
|
1901
|
+
"text",
|
|
1902
|
+
"type"
|
|
1903
|
+
]
|
|
1904
|
+
},
|
|
1905
|
+
"NoteType": {
|
|
1906
|
+
"type": "string",
|
|
1907
|
+
"title": "NoteType",
|
|
1908
|
+
"description": "The standardized type associated with a note",
|
|
1909
|
+
"enum": [
|
|
1910
|
+
"BackOrderMessage",
|
|
1911
|
+
"ConditionNote",
|
|
1912
|
+
"FeedbackMessage",
|
|
1913
|
+
"GiftMessage",
|
|
1914
|
+
"InStockMessage",
|
|
1915
|
+
"InternalNotes",
|
|
1916
|
+
"MPN",
|
|
1917
|
+
"NotesFromBuyer",
|
|
1918
|
+
"NotesToBuyer",
|
|
1919
|
+
"Other",
|
|
1920
|
+
"OutOfStockMessage",
|
|
1921
|
+
"Reason",
|
|
1922
|
+
"SpecialInstructions",
|
|
1923
|
+
"WarningLabel"
|
|
1924
|
+
]
|
|
1925
|
+
},
|
|
1926
|
+
"OriginalOrderSource": {
|
|
1927
|
+
"title": "OriginalOrderSource",
|
|
1928
|
+
"type": "object",
|
|
1929
|
+
"description": "Represents information from the source marketplace. (This is common with reselling goods)",
|
|
1930
|
+
"properties": {
|
|
1931
|
+
"marketplace_code": {
|
|
1932
|
+
"type": "string",
|
|
1933
|
+
"description": "The code for the type of marketplace"
|
|
1934
|
+
},
|
|
1935
|
+
"order_id": {
|
|
1936
|
+
"type": "string",
|
|
1937
|
+
"description": "The unique identifier for the order at the source marketplace"
|
|
1938
|
+
},
|
|
1939
|
+
"source_id": {
|
|
1940
|
+
"type": "string",
|
|
1941
|
+
"description": "A unique identifier for the source marketplace"
|
|
1942
|
+
}
|
|
1943
|
+
}
|
|
1944
|
+
},
|
|
1945
|
+
"PackingSlip": {
|
|
1946
|
+
"title": "PackingSlip",
|
|
1947
|
+
"type": "object",
|
|
1948
|
+
"description": "Packing slip details for a fulfillment brand",
|
|
1949
|
+
"properties": {
|
|
1950
|
+
"url": {
|
|
1951
|
+
"type": "string",
|
|
1952
|
+
"description": "The url from which the packing slip can be downloaded"
|
|
1953
|
+
}
|
|
1954
|
+
},
|
|
1955
|
+
"required": [
|
|
1956
|
+
"url"
|
|
1957
|
+
]
|
|
1958
|
+
},
|
|
1959
|
+
"Package": {
|
|
1960
|
+
"title": "Package",
|
|
1961
|
+
"type": "object",
|
|
1962
|
+
"description": "The new package object describes the package information needed when creating a new label.",
|
|
1963
|
+
"properties": {
|
|
1964
|
+
"package_code": {
|
|
1965
|
+
"type": "string",
|
|
1966
|
+
"description": "Optional code used to map to what the carrier uses to identify the packaging."
|
|
1967
|
+
},
|
|
1968
|
+
"dimension_details": {
|
|
1969
|
+
"$ref": "#/components/schemas/DimensionDetails"
|
|
1970
|
+
},
|
|
1971
|
+
"weight_details": {
|
|
1972
|
+
"$ref": "#/components/schemas/WeightDetails"
|
|
1973
|
+
},
|
|
1974
|
+
"insured_value": {
|
|
1975
|
+
"type": "object",
|
|
1976
|
+
"description": "The insured value of this shipment.",
|
|
1977
|
+
"required": [
|
|
1978
|
+
"amount",
|
|
1979
|
+
"currency"
|
|
1980
|
+
],
|
|
1981
|
+
"properties": {
|
|
1982
|
+
"amount": {
|
|
1983
|
+
"type": "number",
|
|
1984
|
+
"description": "The value of the insured amount."
|
|
1985
|
+
},
|
|
1986
|
+
"currency": {
|
|
1987
|
+
"type": "string",
|
|
1988
|
+
"description": "The currency that the value represents."
|
|
1989
|
+
}
|
|
1990
|
+
}
|
|
1991
|
+
},
|
|
1992
|
+
"label_messages": {
|
|
1993
|
+
"type": "object",
|
|
1994
|
+
"description": "User defined messages for the label.",
|
|
1995
|
+
"properties": {
|
|
1996
|
+
"reference1": {
|
|
1997
|
+
"type": "string",
|
|
1998
|
+
"description": "The first custom message text."
|
|
1999
|
+
},
|
|
2000
|
+
"reference2": {
|
|
2001
|
+
"type": "string",
|
|
2002
|
+
"description": "The second custom message text."
|
|
2003
|
+
},
|
|
2004
|
+
"reference3": {
|
|
2005
|
+
"type": "string",
|
|
2006
|
+
"description": "The third custom message text."
|
|
2007
|
+
}
|
|
2008
|
+
}
|
|
2009
|
+
},
|
|
2010
|
+
"customs": {
|
|
2011
|
+
"$ref": "#/components/schemas/Customs"
|
|
2012
|
+
}
|
|
2013
|
+
},
|
|
2014
|
+
"required": [
|
|
2015
|
+
"insured_value",
|
|
2016
|
+
"customs"
|
|
2017
|
+
]
|
|
2018
|
+
},
|
|
2019
|
+
"PackageDimension": {
|
|
2020
|
+
"title": "Package Dimension",
|
|
2021
|
+
"type": "object",
|
|
2022
|
+
"description": "This model represents the measurements for dimensions.",
|
|
2023
|
+
"properties": {
|
|
2024
|
+
"length": {
|
|
2025
|
+
"type": "number",
|
|
2026
|
+
"description": "The length of the package."
|
|
2027
|
+
},
|
|
2028
|
+
"width": {
|
|
2029
|
+
"type": "number",
|
|
2030
|
+
"description": "The width of the package."
|
|
2031
|
+
},
|
|
2032
|
+
"height": {
|
|
2033
|
+
"type": "number",
|
|
2034
|
+
"description": "The height of the package."
|
|
2035
|
+
}
|
|
2036
|
+
},
|
|
2037
|
+
"required": [
|
|
2038
|
+
"length",
|
|
2039
|
+
"width",
|
|
2040
|
+
"height"
|
|
2041
|
+
]
|
|
2042
|
+
},
|
|
2043
|
+
"Payment": {
|
|
2044
|
+
"title": "Payment",
|
|
2045
|
+
"type": "object",
|
|
2046
|
+
"properties": {
|
|
2047
|
+
"adjustments": {
|
|
2048
|
+
"type": "array",
|
|
2049
|
+
"description": "A list of adjustments applied that influence the order total. For example, promotions/discounts/coupons. The amount should always be a quantity of currency, not a percentage.",
|
|
2050
|
+
"items": {
|
|
2051
|
+
"$ref": "#/components/schemas/Charge"
|
|
2052
|
+
}
|
|
2053
|
+
},
|
|
2054
|
+
"amount_paid": {
|
|
2055
|
+
"type": "string",
|
|
2056
|
+
"description": "The amount of the currency"
|
|
2057
|
+
},
|
|
2058
|
+
"coupon_code": {
|
|
2059
|
+
"type": "string",
|
|
2060
|
+
"description": "Coupon code applied to obtain a discount. The discount amounts should be included as one of the adjustments."
|
|
2061
|
+
},
|
|
2062
|
+
"label_voucher": {
|
|
2063
|
+
"type": "string"
|
|
2064
|
+
},
|
|
2065
|
+
"payment_id": {
|
|
2066
|
+
"type": "string",
|
|
2067
|
+
"description": "An ID for this payment in the vendor API"
|
|
2068
|
+
},
|
|
2069
|
+
"payment_method": {
|
|
2070
|
+
"type": "string",
|
|
2071
|
+
"description": "The payment method"
|
|
2072
|
+
},
|
|
2073
|
+
"payment_status": {
|
|
2074
|
+
"type": "string",
|
|
2075
|
+
"description": "The status of whether or not an order has been paid for",
|
|
2076
|
+
"enum": [
|
|
2077
|
+
"AwaitingPayment",
|
|
2078
|
+
"Other",
|
|
2079
|
+
"Paid",
|
|
2080
|
+
"PaymentCancelled",
|
|
2081
|
+
"PaymentFailed",
|
|
2082
|
+
"PaymentInProcess"
|
|
2083
|
+
]
|
|
2084
|
+
},
|
|
2085
|
+
"shipping_charges": {
|
|
2086
|
+
"type": "array",
|
|
2087
|
+
"description": "A list of shipping charges.",
|
|
2088
|
+
"items": {
|
|
2089
|
+
"$ref": "#/components/schemas/Charge"
|
|
2090
|
+
}
|
|
2091
|
+
},
|
|
2092
|
+
"taxes": {
|
|
2093
|
+
"type": "array",
|
|
2094
|
+
"description": "A list of tax charges. The description can convey the jurisdiction",
|
|
2095
|
+
"items": {
|
|
2096
|
+
"$ref": "#/components/schemas/Charge"
|
|
2097
|
+
}
|
|
2098
|
+
}
|
|
2099
|
+
}
|
|
2100
|
+
},
|
|
2101
|
+
"PickupLocation": {
|
|
2102
|
+
"title": "PickupLocation",
|
|
2103
|
+
"type": "object",
|
|
2104
|
+
"description": "Describes information about a drop off / pickup location",
|
|
2105
|
+
"properties": {
|
|
2106
|
+
"carrier_id": {
|
|
2107
|
+
"type": "string",
|
|
2108
|
+
"description": "An id specific to the carrier about this drop off / pickup location"
|
|
2109
|
+
},
|
|
2110
|
+
"relay_id": {
|
|
2111
|
+
"type": "string",
|
|
2112
|
+
"description": "The id of a relay point used for the drop off / pickup location"
|
|
2113
|
+
}
|
|
2114
|
+
}
|
|
2115
|
+
},
|
|
2116
|
+
"PickupLocationDetails": {
|
|
2117
|
+
"title": "PickupLocationDetails",
|
|
2118
|
+
"type": "object",
|
|
2119
|
+
"properties": {
|
|
2120
|
+
"pickup_address": {
|
|
2121
|
+
"$ref": "#/components/schemas/ShippingAddress"
|
|
2122
|
+
},
|
|
2123
|
+
"location_notes": {
|
|
2124
|
+
"type": "string",
|
|
2125
|
+
"description": "Human readable location information for the driver to find the location."
|
|
2126
|
+
},
|
|
2127
|
+
"pickup_options": {
|
|
2128
|
+
"type": "object",
|
|
2129
|
+
"description": "Custom options that are used by the carrier to determine pickup locations."
|
|
2130
|
+
}
|
|
2131
|
+
},
|
|
2132
|
+
"description": "Pickup/Dropoff location address used by carriers."
|
|
2133
|
+
},
|
|
2134
|
+
"Product": {
|
|
2135
|
+
"title": "Product",
|
|
2136
|
+
"type": "object",
|
|
2137
|
+
"description": "This represents a product",
|
|
2138
|
+
"properties": {
|
|
2139
|
+
"description": {
|
|
2140
|
+
"type": "string",
|
|
2141
|
+
"description": "The product description"
|
|
2142
|
+
},
|
|
2143
|
+
"details": {
|
|
2144
|
+
"type": "array",
|
|
2145
|
+
"description": "A list of details associated with this product",
|
|
2146
|
+
"items": {
|
|
2147
|
+
"$ref": "#/components/schemas/ProductDetail"
|
|
2148
|
+
}
|
|
2149
|
+
},
|
|
2150
|
+
"dimensions": {
|
|
2151
|
+
"$ref": "#/components/schemas/Dimensions"
|
|
2152
|
+
},
|
|
2153
|
+
"identifiers": {
|
|
2154
|
+
"$ref": "#/components/schemas/ProductIdentifiers"
|
|
2155
|
+
},
|
|
2156
|
+
"location": {
|
|
2157
|
+
"type": "string",
|
|
2158
|
+
"description": "The location the product can be found in a warehouse"
|
|
2159
|
+
},
|
|
2160
|
+
"name": {
|
|
2161
|
+
"type": "string",
|
|
2162
|
+
"description": "The product name"
|
|
2163
|
+
},
|
|
2164
|
+
"product_id": {
|
|
2165
|
+
"type": "string",
|
|
2166
|
+
"description": "This ID of this product in the vendor API"
|
|
2167
|
+
},
|
|
2168
|
+
"unit_code": {
|
|
2169
|
+
"type": "number",
|
|
2170
|
+
"description": "The cost of a single product"
|
|
2171
|
+
},
|
|
2172
|
+
"urls": {
|
|
2173
|
+
"$ref": "#/components/schemas/ProductUrls"
|
|
2174
|
+
},
|
|
2175
|
+
"weight": {
|
|
2176
|
+
"$ref": "#/components/schemas/Weight"
|
|
2177
|
+
}
|
|
2178
|
+
},
|
|
2179
|
+
"required": [
|
|
2180
|
+
"name",
|
|
2181
|
+
"product_id"
|
|
2182
|
+
]
|
|
2183
|
+
},
|
|
2184
|
+
"ProductDetail": {
|
|
2185
|
+
"title": "ProductDetail",
|
|
2186
|
+
"type": "object",
|
|
2187
|
+
"description": "Details about a product",
|
|
2188
|
+
"examples": [
|
|
2189
|
+
{
|
|
2190
|
+
"name": "Color",
|
|
2191
|
+
"value": "Red"
|
|
2192
|
+
}
|
|
2193
|
+
],
|
|
2194
|
+
"properties": {
|
|
2195
|
+
"name": {
|
|
2196
|
+
"type": "string",
|
|
2197
|
+
"description": "The type of the product detail. Example (non-exhaustive)",
|
|
2198
|
+
"enum": [
|
|
2199
|
+
"Color",
|
|
2200
|
+
"CountryOfManufacture",
|
|
2201
|
+
"Shape",
|
|
2202
|
+
"Size",
|
|
2203
|
+
"Style"
|
|
2204
|
+
]
|
|
2205
|
+
},
|
|
2206
|
+
"value": {
|
|
2207
|
+
"type": "string",
|
|
2208
|
+
"description": "The value of the product detail"
|
|
2209
|
+
}
|
|
2210
|
+
}
|
|
2211
|
+
},
|
|
2212
|
+
"ProductIdentifiers": {
|
|
2213
|
+
"title": "ProductIdentifiers",
|
|
2214
|
+
"type": "object",
|
|
2215
|
+
"description": "A set of identifiers for a product",
|
|
2216
|
+
"properties": {
|
|
2217
|
+
"asin": {
|
|
2218
|
+
"type": "string",
|
|
2219
|
+
"description": "An Amazon standard identification number associated with a product"
|
|
2220
|
+
},
|
|
2221
|
+
"fulfillment_sku": {
|
|
2222
|
+
"type": "string",
|
|
2223
|
+
"description": "A stock-keeping unit associated with the fulfillment of an order"
|
|
2224
|
+
},
|
|
2225
|
+
"inventory_id": {
|
|
2226
|
+
"type": "string",
|
|
2227
|
+
"description": "The identifier needed to set and retrieve inventory levels"
|
|
2228
|
+
},
|
|
2229
|
+
"isbn": {
|
|
2230
|
+
"type": "string",
|
|
2231
|
+
"description": "An international standard book number associated with a product"
|
|
2232
|
+
},
|
|
2233
|
+
"sku": {
|
|
2234
|
+
"type": "string",
|
|
2235
|
+
"description": "A stock-keeping unit associated with a product by the order source"
|
|
2236
|
+
},
|
|
2237
|
+
"upc": {
|
|
2238
|
+
"type": "string",
|
|
2239
|
+
"description": "A universal product code associated with a product"
|
|
2240
|
+
}
|
|
2241
|
+
}
|
|
2242
|
+
},
|
|
2243
|
+
"ProductUrls": {
|
|
2244
|
+
"title": "ProductUrls",
|
|
2245
|
+
"type": "object",
|
|
2246
|
+
"description": "The urls associated with a product",
|
|
2247
|
+
"properties": {
|
|
2248
|
+
"image_url": {
|
|
2249
|
+
"type": "string",
|
|
2250
|
+
"description": "A link to the image for a product if available"
|
|
2251
|
+
},
|
|
2252
|
+
"product_url": {
|
|
2253
|
+
"type": "string",
|
|
2254
|
+
"description": "A link to the product page if available"
|
|
2255
|
+
},
|
|
2256
|
+
"thumbnail_url": {
|
|
2257
|
+
"type": "string",
|
|
2258
|
+
"description": "A link to the image for use in platform thumbnails"
|
|
2259
|
+
}
|
|
2260
|
+
}
|
|
2261
|
+
},
|
|
2262
|
+
"QuantityWithReason": {
|
|
2263
|
+
"title": "QuantityWithReason",
|
|
2264
|
+
"type": "object",
|
|
2265
|
+
"properties": {
|
|
2266
|
+
"quantity": {
|
|
2267
|
+
"type": "number"
|
|
2268
|
+
},
|
|
2269
|
+
"reason": {
|
|
2270
|
+
"type": "string"
|
|
2271
|
+
}
|
|
2272
|
+
}
|
|
2273
|
+
},
|
|
2274
|
+
"RequestedFulfillmentExtensions": {
|
|
2275
|
+
"title": "RequestedFulfillmentExtensions",
|
|
2276
|
+
"type": "object",
|
|
2277
|
+
"properties": {
|
|
2278
|
+
"custom_field_1": {
|
|
2279
|
+
"type": "string",
|
|
2280
|
+
"description": "Custom field 1"
|
|
2281
|
+
},
|
|
2282
|
+
"custom_field_2": {
|
|
2283
|
+
"type": "string",
|
|
2284
|
+
"description": "Custom field 2"
|
|
2285
|
+
},
|
|
2286
|
+
"custom_field_3": {
|
|
2287
|
+
"type": "string",
|
|
2288
|
+
"description": "Custom field 3"
|
|
2289
|
+
}
|
|
2290
|
+
},
|
|
2291
|
+
"description": "Additional information necessary for a requested fulfillment"
|
|
2292
|
+
},
|
|
2293
|
+
"RequestedFulfillment": {
|
|
2294
|
+
"title": "RequestedFulfillment",
|
|
2295
|
+
"type": "object",
|
|
2296
|
+
"description": "The fulfillment requested by the marketplace or the buyer",
|
|
2297
|
+
"properties": {
|
|
2298
|
+
"branding": {
|
|
2299
|
+
"$ref": "#/components/schemas/Branding"
|
|
2300
|
+
},
|
|
2301
|
+
"extensions": {
|
|
2302
|
+
"$ref": "#/components/schemas/RequestedFulfillmentExtensions"
|
|
2303
|
+
},
|
|
2304
|
+
"items": {
|
|
2305
|
+
"type": "array",
|
|
2306
|
+
"description": "The items that should be shipped",
|
|
2307
|
+
"items": {
|
|
2308
|
+
"$ref": "#/components/schemas/SalesOrderItem"
|
|
2309
|
+
}
|
|
2310
|
+
},
|
|
2311
|
+
"requested_fulfillment_id": {
|
|
2312
|
+
"type": "string",
|
|
2313
|
+
"description": "Identifier for the requested fulfillment from the order source"
|
|
2314
|
+
},
|
|
2315
|
+
"ship_to": {
|
|
2316
|
+
"$ref": "#/components/schemas/Address"
|
|
2317
|
+
},
|
|
2318
|
+
"shipping_preferences": {
|
|
2319
|
+
"$ref": "#/components/schemas/ShippingPreferences"
|
|
2320
|
+
}
|
|
2321
|
+
},
|
|
2322
|
+
"required": [
|
|
2323
|
+
"items",
|
|
2324
|
+
"ship_to"
|
|
2325
|
+
]
|
|
2326
|
+
},
|
|
2327
|
+
"SalesOrderItem": {
|
|
2328
|
+
"title": "SalesOrderItem",
|
|
2329
|
+
"type": "object",
|
|
2330
|
+
"description": "An individual item in a sales order",
|
|
2331
|
+
"properties": {
|
|
2332
|
+
"adjustments": {
|
|
2333
|
+
"type": "array",
|
|
2334
|
+
"description": "A list of adjustments applied that influence the order total. For example, promotions/discounts/coupons. The amount should always be a quantify of currency, not a percentage.",
|
|
2335
|
+
"items": {
|
|
2336
|
+
"$ref": "#/components/schemas/Charge"
|
|
2337
|
+
}
|
|
2338
|
+
},
|
|
2339
|
+
"description": {
|
|
2340
|
+
"type": "string",
|
|
2341
|
+
"description": "A description of the sales order item - which may differ from the product description"
|
|
2342
|
+
},
|
|
2343
|
+
"item_url": {
|
|
2344
|
+
"type": "string",
|
|
2345
|
+
"description": "The url for the item being purchased"
|
|
2346
|
+
},
|
|
2347
|
+
"line_item_id": {
|
|
2348
|
+
"type": "string",
|
|
2349
|
+
"description": "An ID for the line item for the vendor API"
|
|
2350
|
+
},
|
|
2351
|
+
"modified_date_time": {
|
|
2352
|
+
"type": "string",
|
|
2353
|
+
"description": "The (ISO 8601) datetime (UTC) associated with when this item was last modified",
|
|
2354
|
+
"example": "2021-03-31T18:21:14.858Z"
|
|
2355
|
+
},
|
|
2356
|
+
"product": {
|
|
2357
|
+
"$ref": "#/components/schemas/Product"
|
|
2358
|
+
},
|
|
2359
|
+
"quantity": {
|
|
2360
|
+
"type": "number",
|
|
2361
|
+
"description": "The item quantity for this sales order item"
|
|
2362
|
+
},
|
|
2363
|
+
"shipping_charges": {
|
|
2364
|
+
"type": "array",
|
|
2365
|
+
"description": "A list of shipping charges",
|
|
2366
|
+
"items": {
|
|
2367
|
+
"$ref": "#/components/schemas/Charge"
|
|
2368
|
+
}
|
|
2369
|
+
},
|
|
2370
|
+
"taxes": {
|
|
2371
|
+
"type": "array",
|
|
2372
|
+
"description": "A list of tax charges. The description can convey the jurisdiction.",
|
|
2373
|
+
"items": {
|
|
2374
|
+
"$ref": "#/components/schemas/Charge"
|
|
2375
|
+
}
|
|
2376
|
+
},
|
|
2377
|
+
"unit_price": {
|
|
2378
|
+
"type": "number"
|
|
2379
|
+
}
|
|
2380
|
+
},
|
|
2381
|
+
"required": [
|
|
2382
|
+
"description",
|
|
2383
|
+
"quantity"
|
|
2384
|
+
]
|
|
2385
|
+
},
|
|
2386
|
+
"SalesOrderStatus": {
|
|
2387
|
+
"type": "string",
|
|
2388
|
+
"title": "SalesOrderStatus",
|
|
2389
|
+
"enum": [
|
|
2390
|
+
"Processing",
|
|
2391
|
+
"Cancelled",
|
|
2392
|
+
"Rejected",
|
|
2393
|
+
"Unknown",
|
|
2394
|
+
"PartiallyShipped",
|
|
2395
|
+
"Shipped"
|
|
2396
|
+
]
|
|
2397
|
+
},
|
|
2398
|
+
"SalesOrderStatusChange": {
|
|
2399
|
+
"title": "SalesOrderStatusChange",
|
|
2400
|
+
"type": "object",
|
|
2401
|
+
"description": "Represents a status change update for a sales order",
|
|
2402
|
+
"properties": {
|
|
2403
|
+
"order_id": {
|
|
2404
|
+
"type": "string"
|
|
2405
|
+
},
|
|
2406
|
+
"status": {
|
|
2407
|
+
"$ref": "#/components/schemas/SalesOrderStatus"
|
|
2408
|
+
},
|
|
2409
|
+
"items": {
|
|
2410
|
+
"$ref": "#/components/schemas/LineItemQuantityStatus"
|
|
2411
|
+
},
|
|
2412
|
+
"shipments": {
|
|
2413
|
+
"type": "array",
|
|
2414
|
+
"items": {
|
|
2415
|
+
"$ref": "#/components/schemas/ShipmentNotification"
|
|
2416
|
+
}
|
|
2417
|
+
}
|
|
2418
|
+
}
|
|
2419
|
+
},
|
|
2420
|
+
"ShipmentNotification": {
|
|
2421
|
+
"title": "ShipmentNotification",
|
|
2422
|
+
"type": "object",
|
|
2423
|
+
"properties": {
|
|
2424
|
+
"carrier_code": {
|
|
2425
|
+
"type": "string",
|
|
2426
|
+
"description": "The carrier code the order was shipped through"
|
|
2427
|
+
},
|
|
2428
|
+
"carrier_service_code": {
|
|
2429
|
+
"type": "string",
|
|
2430
|
+
"description": "The shipping service used to ship this order"
|
|
2431
|
+
},
|
|
2432
|
+
"currency": {
|
|
2433
|
+
"type": "string",
|
|
2434
|
+
"description": "The (ISO 4217) code describing the currency used for all amounts on this payload.",
|
|
2435
|
+
"example": "USD,EUR,NZD"
|
|
2436
|
+
},
|
|
2437
|
+
"ext_location_id": {
|
|
2438
|
+
"type": "string",
|
|
2439
|
+
"description": "The order source's identifier for the location that items were shipped from"
|
|
2440
|
+
},
|
|
2441
|
+
"fulfillment_cost": {
|
|
2442
|
+
"type": "number",
|
|
2443
|
+
"description": "The amount of money it cost to fulfill this shipment"
|
|
2444
|
+
},
|
|
2445
|
+
"insurance_cost": {
|
|
2446
|
+
"type": "number",
|
|
2447
|
+
"description": "The total amount of insurance purchased"
|
|
2448
|
+
},
|
|
2449
|
+
"integration_context": {
|
|
2450
|
+
"type": "object",
|
|
2451
|
+
"description": "The integration context specified on the ExportSalesOrders response"
|
|
2452
|
+
},
|
|
2453
|
+
"items": {
|
|
2454
|
+
"type": "array",
|
|
2455
|
+
"description": "The items shipped in this shipment",
|
|
2456
|
+
"items": {
|
|
2457
|
+
"$ref": "#/components/schemas/ShipmentNotificationItem"
|
|
2458
|
+
}
|
|
2459
|
+
},
|
|
2460
|
+
"notes": {
|
|
2461
|
+
"type": "array",
|
|
2462
|
+
"description": "Additional notes associated with this notification or its sales order",
|
|
2463
|
+
"items": {
|
|
2464
|
+
"$ref": "#/components/schemas/Note"
|
|
2465
|
+
}
|
|
2466
|
+
},
|
|
2467
|
+
"notification_id": {
|
|
2468
|
+
"type": "string",
|
|
2469
|
+
"description": "A unique identifier to correlate this shipment notification with its result in the response"
|
|
2470
|
+
},
|
|
2471
|
+
"notify_buyer": {
|
|
2472
|
+
"type": "boolean",
|
|
2473
|
+
"description": "Indicates whether or not the buyer should be notified that this item has been shipped"
|
|
2474
|
+
},
|
|
2475
|
+
"order_id": {
|
|
2476
|
+
"type": "string",
|
|
2477
|
+
"description": "The unique identifier of the sales order from the order source"
|
|
2478
|
+
},
|
|
2479
|
+
"order_number": {
|
|
2480
|
+
"type": "string",
|
|
2481
|
+
"description": "The customer facing identifier of the sales order"
|
|
2482
|
+
},
|
|
2483
|
+
"return_address": {
|
|
2484
|
+
"$ref": "#/components/schemas/Address"
|
|
2485
|
+
},
|
|
2486
|
+
"ship_date": {
|
|
2487
|
+
"type": "string",
|
|
2488
|
+
"description": "The (ISO 8601) datetime (UTC) associated with when this item was last modified",
|
|
2489
|
+
"example": "2021-03-31T18:21:14.858Z"
|
|
2490
|
+
},
|
|
2491
|
+
"ship_from": {
|
|
2492
|
+
"$ref": "#/components/schemas/Address"
|
|
2493
|
+
},
|
|
2494
|
+
"ship_to": {
|
|
2495
|
+
"$ref": "#/components/schemas/Address"
|
|
2496
|
+
},
|
|
2497
|
+
"tracking_number": {
|
|
2498
|
+
"type": "string",
|
|
2499
|
+
"description": "The identifier provided by the fulfiller for tracking the delivery progress"
|
|
2500
|
+
},
|
|
2501
|
+
"tracking_url": {
|
|
2502
|
+
"type": "string",
|
|
2503
|
+
"description": "The url where the shipment can be tracked"
|
|
2504
|
+
}
|
|
2505
|
+
},
|
|
2506
|
+
"required": [
|
|
2507
|
+
"items",
|
|
2508
|
+
"notification_id",
|
|
2509
|
+
"order_id"
|
|
2510
|
+
],
|
|
2511
|
+
"description": "An individual notification that an order has been shipped"
|
|
2512
|
+
},
|
|
2513
|
+
"ShipmentNotificationItem": {
|
|
2514
|
+
"title": "ShipmentNotificationItem",
|
|
2515
|
+
"type": "object",
|
|
2516
|
+
"properties": {
|
|
2517
|
+
"description": {
|
|
2518
|
+
"type": "string",
|
|
2519
|
+
"description": "A description of the sales order item - which may differ from the product description"
|
|
2520
|
+
},
|
|
2521
|
+
"line_item_id": {
|
|
2522
|
+
"type": "string",
|
|
2523
|
+
"description": "The order source's unique identifier for the line item"
|
|
2524
|
+
},
|
|
2525
|
+
"product_id": {
|
|
2526
|
+
"type": "string",
|
|
2527
|
+
"description": "This ID of this product in the vendor API"
|
|
2528
|
+
},
|
|
2529
|
+
"quantity": {
|
|
2530
|
+
"type": "number",
|
|
2531
|
+
"description": "The number of items of this SKU that were shipped"
|
|
2532
|
+
},
|
|
2533
|
+
"sku": {
|
|
2534
|
+
"type": "string",
|
|
2535
|
+
"description": "The unique identifier for the item that was shipped"
|
|
2536
|
+
}
|
|
2537
|
+
},
|
|
2538
|
+
"required": [
|
|
2539
|
+
"description",
|
|
2540
|
+
"quantity"
|
|
2541
|
+
]
|
|
2542
|
+
},
|
|
2543
|
+
"ShippingAddress": {
|
|
2544
|
+
"title": "ShippingAddress",
|
|
2545
|
+
"type": "object",
|
|
2546
|
+
"description": "An address object representing address information.",
|
|
2547
|
+
"properties": {
|
|
2548
|
+
"name": {
|
|
2549
|
+
"type": "string",
|
|
2550
|
+
"description": "Name of the contact."
|
|
2551
|
+
},
|
|
2552
|
+
"first_name": {
|
|
2553
|
+
"type": "string",
|
|
2554
|
+
"description": "First or given name of the contact."
|
|
2555
|
+
},
|
|
2556
|
+
"last_name": {
|
|
2557
|
+
"type": "string",
|
|
2558
|
+
"description": "Last or family name of the contact."
|
|
2559
|
+
},
|
|
2560
|
+
"email": {
|
|
2561
|
+
"type": "string",
|
|
2562
|
+
"description": "Email of the contact."
|
|
2563
|
+
},
|
|
2564
|
+
"phone_number": {
|
|
2565
|
+
"type": "string",
|
|
2566
|
+
"description": "Phone number of the contact. Cannot include newline chars."
|
|
2567
|
+
},
|
|
2568
|
+
"company_name": {
|
|
2569
|
+
"type": "string",
|
|
2570
|
+
"description": "Company name, if applicable. Cannot include newline chars."
|
|
2571
|
+
},
|
|
2572
|
+
"address_lines": {
|
|
2573
|
+
"type": "array",
|
|
2574
|
+
"description": "Address fields separated by line. Up to 100 chars per line. Cannot include newline chars.",
|
|
2575
|
+
"items": {
|
|
2576
|
+
"type": "string"
|
|
2577
|
+
}
|
|
2578
|
+
},
|
|
2579
|
+
"city_locality": {
|
|
2580
|
+
"type": "string",
|
|
2581
|
+
"description": "City or locality. Cannot contain newline chars."
|
|
2582
|
+
},
|
|
2583
|
+
"state_province": {
|
|
2584
|
+
"type": "string",
|
|
2585
|
+
"description": "State or province. Cannot contain newline chars."
|
|
2586
|
+
},
|
|
2587
|
+
"postal_code": {
|
|
2588
|
+
"type": "string",
|
|
2589
|
+
"description": "Zip or postal code. Cannot include newline chars."
|
|
2590
|
+
},
|
|
2591
|
+
"country_code": {
|
|
2592
|
+
"$ref": "#/components/schemas/CountryCode"
|
|
2593
|
+
},
|
|
2594
|
+
"address_residential_indicator": {
|
|
2595
|
+
"type": "string",
|
|
2596
|
+
"description": "Indicates whether the address is residential or commercial.",
|
|
2597
|
+
"enum": [
|
|
2598
|
+
"unknown",
|
|
2599
|
+
"yes",
|
|
2600
|
+
"no"
|
|
2601
|
+
]
|
|
2602
|
+
},
|
|
2603
|
+
"is_eu": {
|
|
2604
|
+
"type": "boolean",
|
|
2605
|
+
"description": "Indicates whether the country of the shipment address is a member of the EU."
|
|
2606
|
+
},
|
|
2607
|
+
"address_metadata": {
|
|
2608
|
+
"type": "object",
|
|
2609
|
+
"description": "Schemaless object representing the metadata related to this address."
|
|
2610
|
+
},
|
|
2611
|
+
"tax_identifiers": {
|
|
2612
|
+
"type": "object",
|
|
2613
|
+
"properties": {
|
|
2614
|
+
"id": {
|
|
2615
|
+
"type": "string",
|
|
2616
|
+
"description": "Identification number."
|
|
2617
|
+
},
|
|
2618
|
+
"type": {
|
|
2619
|
+
"type": "string",
|
|
2620
|
+
"enum": [
|
|
2621
|
+
"tin",
|
|
2622
|
+
"ein",
|
|
2623
|
+
"ssn",
|
|
2624
|
+
"vat",
|
|
2625
|
+
"eori",
|
|
2626
|
+
"ioss",
|
|
2627
|
+
"pan",
|
|
2628
|
+
"voec"
|
|
2629
|
+
],
|
|
2630
|
+
"description": "The Tax ID type."
|
|
2631
|
+
},
|
|
2632
|
+
"registration_county": {
|
|
2633
|
+
"type": "string",
|
|
2634
|
+
"description": "The country where the Tax ID is registered with."
|
|
2635
|
+
},
|
|
2636
|
+
"description": {
|
|
2637
|
+
"type": "string",
|
|
2638
|
+
"description": "Description of the tax ID that may give the customs agent more context."
|
|
2639
|
+
}
|
|
2640
|
+
},
|
|
2641
|
+
"required": [
|
|
2642
|
+
"id",
|
|
2643
|
+
"type"
|
|
2644
|
+
]
|
|
2645
|
+
}
|
|
2646
|
+
},
|
|
2647
|
+
"required": [
|
|
2648
|
+
"postal_code",
|
|
2649
|
+
"country_code"
|
|
2650
|
+
]
|
|
2651
|
+
},
|
|
2652
|
+
"ShippingPreferences": {
|
|
2653
|
+
"title": "ShippingPreferences",
|
|
2654
|
+
"type": "object",
|
|
2655
|
+
"description": "This represents the shipping preferences specified for an order",
|
|
2656
|
+
"properties": {
|
|
2657
|
+
"additional_handling": {
|
|
2658
|
+
"type": "boolean",
|
|
2659
|
+
"description": "Indicates whether or not this shipment will require additional handling"
|
|
2660
|
+
},
|
|
2661
|
+
"bill_duties_to_sender": {
|
|
2662
|
+
"type": "boolean",
|
|
2663
|
+
"description": "Indicates whether duties should be billed to the sender of the package"
|
|
2664
|
+
},
|
|
2665
|
+
"deliver_by_date": {
|
|
2666
|
+
"type": "string",
|
|
2667
|
+
"description": "The (ISO 8601) datetime (UTC) associated with when the order needs to be delivered by",
|
|
2668
|
+
"example": "2021-03-31T18:21:14.858Z"
|
|
2669
|
+
},
|
|
2670
|
+
"digital_fulfillment": {
|
|
2671
|
+
"type": "boolean",
|
|
2672
|
+
"description": "Indicates whether or not the item being delivered is a digital good or not"
|
|
2673
|
+
},
|
|
2674
|
+
"do_not_prepay_postage": {
|
|
2675
|
+
"type": "boolean",
|
|
2676
|
+
"description": "Indicates whether you must pay for postage at drop off, for carriers that usually require prepaid postage"
|
|
2677
|
+
},
|
|
2678
|
+
"documents": {
|
|
2679
|
+
"type": "array",
|
|
2680
|
+
"description": "Any documents relevant to shipping that the order source provides",
|
|
2681
|
+
"items": {
|
|
2682
|
+
"$ref": "#/components/schemas/Document"
|
|
2683
|
+
}
|
|
2684
|
+
},
|
|
2685
|
+
"gift": {
|
|
2686
|
+
"type": "boolean",
|
|
2687
|
+
"description": "Indicates whether or not this order is a gift"
|
|
2688
|
+
},
|
|
2689
|
+
"has_alcohol": {
|
|
2690
|
+
"type": "boolean",
|
|
2691
|
+
"description": "Indicates whether or not this order contains alcohol"
|
|
2692
|
+
},
|
|
2693
|
+
"hold_until_date": {
|
|
2694
|
+
"type": "string",
|
|
2695
|
+
"description": "The (ISO 8601) datetime (UTC) associated with how long to hold the order",
|
|
2696
|
+
"example": "2021-03-31T18:21:14.858Z"
|
|
2697
|
+
},
|
|
2698
|
+
"insurance_requested": {
|
|
2699
|
+
"type": "boolean",
|
|
2700
|
+
"description": "Indicates whether or not insurance has been requested for shipping this order"
|
|
2701
|
+
},
|
|
2702
|
+
"insured_value": {
|
|
2703
|
+
"type": "number",
|
|
2704
|
+
"description": "The amount of money being request for insurance on this shipment"
|
|
2705
|
+
},
|
|
2706
|
+
"is_premium_program": {
|
|
2707
|
+
"type": "boolean",
|
|
2708
|
+
"description": "true if the order was placed under the terms of the order source's premium program (Amazon Prime, Walmart+, etc)"
|
|
2709
|
+
},
|
|
2710
|
+
"non_machinable": {
|
|
2711
|
+
"type": "boolean",
|
|
2712
|
+
"description": "Indicates whether or not this order is nonmachinable (must be sorted outside of the standard, automated mail process)"
|
|
2713
|
+
},
|
|
2714
|
+
"package_type": {
|
|
2715
|
+
"type": "string",
|
|
2716
|
+
"description": "The requested package type for this fulfillment"
|
|
2717
|
+
},
|
|
2718
|
+
"premium_program_name": {
|
|
2719
|
+
"type": "string",
|
|
2720
|
+
"description": "The name of the premium program, if any. This is for informational purposes. Consumers should base all logic on is_premium_program flag."
|
|
2721
|
+
},
|
|
2722
|
+
"preplanned_fulfillment_id": {
|
|
2723
|
+
"type": "string",
|
|
2724
|
+
"description": "The identifer assigned by a fulfillment planning system at checkout (Delivery Options)."
|
|
2725
|
+
},
|
|
2726
|
+
"ready_to_ship_date": {
|
|
2727
|
+
"type": "string",
|
|
2728
|
+
"description": "The (ISO 8601) datetime (UTC) associated with when the order is ready to ship",
|
|
2729
|
+
"example": "2021-03-31T18:21:14.858Z"
|
|
2730
|
+
},
|
|
2731
|
+
"requested_warehouse": {
|
|
2732
|
+
"type": "string",
|
|
2733
|
+
"description": "The warehouse name associated with the requested warehouse"
|
|
2734
|
+
},
|
|
2735
|
+
"saturday_delivery": {
|
|
2736
|
+
"description": "Indicates whether or not this order should be delivered on a saturday",
|
|
2737
|
+
"type": "boolean"
|
|
2738
|
+
},
|
|
2739
|
+
"ship_by_date": {
|
|
2740
|
+
"type": "string",
|
|
2741
|
+
"description": "The (ISO 8601) datetime (UTC) associated with when the order needs to be shipped by",
|
|
2742
|
+
"example": "2021-03-31T18:21:14.858Z"
|
|
2743
|
+
},
|
|
2744
|
+
"shipping_service": {
|
|
2745
|
+
"type": "string",
|
|
2746
|
+
"description": "The requested shipping service for this fulfillment"
|
|
2747
|
+
},
|
|
2748
|
+
"show_postage": {
|
|
2749
|
+
"description": "Indicates whether or not to allow display of postage paid on the shipping label",
|
|
2750
|
+
"type": "boolean"
|
|
2751
|
+
},
|
|
2752
|
+
"suppress_email_notify": {
|
|
2753
|
+
"type": "boolean",
|
|
2754
|
+
"description": "Indicates whether or not to supress email notifications to the buyer"
|
|
2755
|
+
},
|
|
2756
|
+
"suppress_marketplace_notify": {
|
|
2757
|
+
"type": "boolean",
|
|
2758
|
+
"description": "Indicates whether or not to supress email notifications to the seller"
|
|
2759
|
+
}
|
|
2760
|
+
}
|
|
2761
|
+
},
|
|
2762
|
+
"Weight": {
|
|
2763
|
+
"title": "Weight",
|
|
2764
|
+
"type": "object",
|
|
2765
|
+
"description": "A measurement of weight",
|
|
2766
|
+
"properties": {
|
|
2767
|
+
"unit": {
|
|
2768
|
+
"type": "string",
|
|
2769
|
+
"description": "The unit this weight was measured in",
|
|
2770
|
+
"enum": [
|
|
2771
|
+
"Gram",
|
|
2772
|
+
"Kilogram",
|
|
2773
|
+
"Ounce",
|
|
2774
|
+
"Pound"
|
|
2775
|
+
]
|
|
2776
|
+
},
|
|
2777
|
+
"value": {
|
|
2778
|
+
"type": "string",
|
|
2779
|
+
"description": "The value of the weight in weight units"
|
|
2780
|
+
}
|
|
2781
|
+
},
|
|
2782
|
+
"required": [
|
|
2783
|
+
"unit",
|
|
2784
|
+
"value"
|
|
2785
|
+
]
|
|
2786
|
+
},
|
|
2787
|
+
"WeightDetails": {
|
|
2788
|
+
"title": "Weight Details",
|
|
2789
|
+
"type": "object",
|
|
2790
|
+
"description": "This model represents the weight of a package represented in its original unit, ounces, and grams.",
|
|
2791
|
+
"properties": {
|
|
2792
|
+
"weight_in_ounces": {
|
|
2793
|
+
"type": "number",
|
|
2794
|
+
"description": "The weight in ounces rounded to the fourth decimal place."
|
|
2795
|
+
},
|
|
2796
|
+
"weight_in_grams": {
|
|
2797
|
+
"type": "number",
|
|
2798
|
+
"description": "The weight in grams rounded to the fourth decimal place."
|
|
2799
|
+
},
|
|
2800
|
+
"source_weight": {
|
|
2801
|
+
"type": "number",
|
|
2802
|
+
"description": "The weight in the original dimensions rounded to the fourth decimal place."
|
|
2803
|
+
},
|
|
2804
|
+
"source_weight_unit": {
|
|
2805
|
+
"type": "string",
|
|
2806
|
+
"description": "The unit of the source dimensions. Either ounces or grams."
|
|
2807
|
+
}
|
|
2808
|
+
},
|
|
2809
|
+
"required": [
|
|
2810
|
+
"weight_in_ounces",
|
|
2811
|
+
"weight_in_grams",
|
|
2812
|
+
"source_weight",
|
|
2813
|
+
"source_weight_unit"
|
|
2814
|
+
]
|
|
2815
|
+
}
|
|
2816
|
+
},
|
|
2817
|
+
"requestBodies": {}
|
|
2818
|
+
}
|
|
2819
|
+
}
|