New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ordercloud-javascript-sdk

Package Overview
Dependencies
Maintainers
2
Versions
119
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ordercloud-javascript-sdk

JavaScript SDK autogenerated from swagger spec using the Swagger-CodeGen project

  • 3.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
9.9K
decreased by-5.11%
Maintainers
2
Weekly downloads
 
Created
Source

OrderCloud

OrderCloud - JavaScript SDK for OrderCloud

OrderCloud.io is a cloud-hosted B2B eCommerce platform exposed entirely via a RESTful API. When combined with our extensive library of components, SDKs, and deployment tools, it enables rapid development of custom, secure, and scalable B2B eCommerce solutions. Spin up a fully functional B2B app in minutes, and customize it to limits of your imagination.

This SDK is automatically generated by the Swagger Codegen project:

  • API version: 1.0
  • Package version: 3.0.1
  • Build package: io.swagger.codegen.languages.JavascriptClientCodegen

For more information, please visit https://documentation.ordercloud.io

Installation

npm
npm install ordercloud-javascript-sdk --save

For browser

The library also works in the browser environment via npm and browserify. After following the above steps with Node.js and installing browserify with npm install -g browserify, perform the following (assuming index.js is your entry file):

browserify index.js > bundle.js

Then include bundle.js in the HTML pages.

Authentication

We'll need to get a token before we can make any API calls. The platform offers four different auth workflows all found under the Auth class.

We'll use the password-grant type for this example.

var OrderCloud = require('ordercloud-javascript-sdk')
var defaultClient = OrderCloud.Sdk.instance;

var username = 'YOUR_USERNAME'; //username of the user logging in
var password = 'YOUR_PASSWORD'; //password of the user logging in
var clientID = 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'; //clientID of the application the user is logging in to ([sign up for free](https://account.ordercloud.io/login/)
var scope = ['FullAccess']; //string array of roles the application has access to ([more info](https://documentation.ordercloud.io/platform-guides/authentication/security-profiles)) 

return OrderCloud.Auth.Login(username, password, clientID, scope)
  .then(function(response){
    //store token, now any subsequent calls will automatically set this token in the headers for you
    var token = response['access_token'];
    defaultClient.authentications['oauth2'].accessToken = token;
  })
  .catch(function(err){
    //there was an error
    console.log(err);
  });

Example

After following the authentication instructions we can make any API call very easily.

Let's get the currently authenticated user's details with a Me.Get()

return OrderCloudSDK.Me.Get()
  .then(function(user){
    console.log("This user's name is " + user.FirstName + " " + user.LastName);
  })
  .catch(function(err){
    //there was an error
    console.log(err);
  })

Further Reading

You should now have enough information to get started building on our platform! The platform guides[https://documentation.ordercloud.io/platform-guides] and API reference should be your go-to guide for working with the API.

Documentation for API Endpoints

All URIs are relative to https://api.ordercloud.io/v1

ClassMethodHTTP requestDescription
OrderCloud.AddressesCreatePOST /buyers/{buyerID}/addresses
OrderCloud.AddressesDeleteDELETE /buyers/{buyerID}/addresses/{addressID}
OrderCloud.AddressesDeleteAssignmentDELETE /buyers/{buyerID}/addresses/{addressID}/assignments
OrderCloud.AddressesGetGET /buyers/{buyerID}/addresses/{addressID}
OrderCloud.AddressesListGET /buyers/{buyerID}/addresses
OrderCloud.AddressesListAssignmentsGET /buyers/{buyerID}/addresses/assignments
OrderCloud.AddressesPatchPATCH /buyers/{buyerID}/addresses/{addressID}
OrderCloud.AddressesSavePUT /buyers/{buyerID}/addresses/{addressID}
OrderCloud.AddressesSaveAssignmentPOST /buyers/{buyerID}/addresses/assignments
OrderCloud.AdminAddressesCreatePOST /addresses
OrderCloud.AdminAddressesDeleteDELETE /addresses/{addressID}
OrderCloud.AdminAddressesGetGET /addresses/{addressID}
OrderCloud.AdminAddressesListGET /addresses
OrderCloud.AdminAddressesPatchPATCH /addresses/{addressID}
OrderCloud.AdminAddressesSavePUT /addresses/{addressID}
OrderCloud.AdminUsersCreatePOST /adminusers
OrderCloud.AdminUsersDeleteDELETE /adminusers/{userID}
OrderCloud.AdminUsersGetGET /adminusers/{userID}
OrderCloud.AdminUsersListGET /adminusers
OrderCloud.AdminUsersPatchPATCH /adminusers/{userID}
OrderCloud.AdminUsersSavePUT /adminusers/{userID}
OrderCloud.AdminUserGroupsCreatePOST /usergroups
OrderCloud.AdminUserGroupsDeleteDELETE /usergroups/{userGroupID}
OrderCloud.AdminUserGroupsDeleteUserAssignmentDELETE /usergroups/{userGroupID}/assignments/{userID}
OrderCloud.AdminUserGroupsGetGET /usergroups/{userGroupID}
OrderCloud.AdminUserGroupsListGET /usergroups
OrderCloud.AdminUserGroupsListUserAssignmentsGET /usergroups/assignments
OrderCloud.AdminUserGroupsPatchPATCH /usergroups/{userGroupID}
OrderCloud.AdminUserGroupsSavePUT /usergroups/{userGroupID}
OrderCloud.AdminUserGroupsSaveUserAssignmentPOST /usergroups/assignments
OrderCloud.ApiClientsCreatePOST /apiclients
OrderCloud.ApiClientsDeleteDELETE /apiclients/{apiClientID}
OrderCloud.ApiClientsDeleteBuyerAssignmentDELETE /buyers/{buyerID}/ApiClients/Assignments/{apiClientID}
OrderCloud.ApiClientsDeleteSupplierAssignmentDELETE /suppliers/{supplierID}/ApiClients/Assignments/{apiClientID}
OrderCloud.ApiClientsGetGET /apiclients/{apiClientID}
OrderCloud.ApiClientsListGET /apiclients
OrderCloud.ApiClientsListAssignmentsGET /apiclients/assignments
OrderCloud.ApiClientsPatchPATCH /apiclients/{apiClientID}
OrderCloud.ApiClientsSavePUT /apiclients/{apiClientID}
OrderCloud.ApiClientsSaveAssignmentPOST /apiclients/assignments
OrderCloud.ApprovalRulesCreatePOST /buyers/{buyerID}/approvalrules
OrderCloud.ApprovalRulesDeleteDELETE /buyers/{buyerID}/approvalrules/{approvalRuleID}
OrderCloud.ApprovalRulesGetGET /buyers/{buyerID}/approvalrules/{approvalRuleID}
OrderCloud.ApprovalRulesListGET /buyers/{buyerID}/approvalrules
OrderCloud.ApprovalRulesPatchPATCH /buyers/{buyerID}/approvalrules/{approvalRuleID}
OrderCloud.ApprovalRulesSavePUT /buyers/{buyerID}/approvalrules/{approvalRuleID}
OrderCloud.BuyersCreatePOST /buyers
OrderCloud.BuyersDeleteDELETE /buyers/{buyerID}
OrderCloud.BuyersGetGET /buyers/{buyerID}
OrderCloud.BuyersListGET /buyers
OrderCloud.BuyersPatchPATCH /buyers/{buyerID}
OrderCloud.BuyersSavePUT /buyers/{buyerID}
OrderCloud.CatalogsCreatePOST /catalogs
OrderCloud.CatalogsDeleteDELETE /catalogs/{catalogID}
OrderCloud.CatalogsDeleteAssignmentDELETE /catalogs/{catalogID}/assignments
OrderCloud.CatalogsDeleteProductAssignmentDELETE /catalogs/{catalogID}/productassignments/{productID}
OrderCloud.CatalogsGetGET /catalogs/{catalogID}
OrderCloud.CatalogsListGET /catalogs
OrderCloud.CatalogsListAssignmentsGET /catalogs/assignments
OrderCloud.CatalogsListProductAssignmentsGET /catalogs/productassignments
OrderCloud.CatalogsPatchPATCH /catalogs/{catalogID}
OrderCloud.CatalogsSavePUT /catalogs/{catalogID}
OrderCloud.CatalogsSaveAssignmentPOST /catalogs/assignments
OrderCloud.CatalogsSaveProductAssignmentPOST /catalogs/productassignments
OrderCloud.CategoriesCreatePOST /catalogs/{catalogID}/categories
OrderCloud.CategoriesDeleteDELETE /catalogs/{catalogID}/categories/{categoryID}
OrderCloud.CategoriesDeleteAssignmentDELETE /catalogs/{catalogID}/categories/{categoryID}/assignments
OrderCloud.CategoriesDeleteProductAssignmentDELETE /catalogs/{catalogID}/categories/{categoryID}/productassignments/{productID}
OrderCloud.CategoriesGetGET /catalogs/{catalogID}/categories/{categoryID}
OrderCloud.CategoriesListGET /catalogs/{catalogID}/categories
OrderCloud.CategoriesListAssignmentsGET /catalogs/{catalogID}/categories/assignments
OrderCloud.CategoriesListProductAssignmentsGET /catalogs/{catalogID}/categories/productassignments
OrderCloud.CategoriesPatchPATCH /catalogs/{catalogID}/categories/{categoryID}
OrderCloud.CategoriesSavePUT /catalogs/{catalogID}/categories/{categoryID}
OrderCloud.CategoriesSaveAssignmentPOST /catalogs/{catalogID}/categories/assignments
OrderCloud.CategoriesSaveProductAssignmentPOST /catalogs/{catalogID}/categories/productassignments
OrderCloud.CostCentersCreatePOST /buyers/{buyerID}/costcenters
OrderCloud.CostCentersDeleteDELETE /buyers/{buyerID}/costcenters/{costCenterID}
OrderCloud.CostCentersDeleteAssignmentDELETE /buyers/{buyerID}/costcenters/{costCenterID}/assignments
OrderCloud.CostCentersGetGET /buyers/{buyerID}/costcenters/{costCenterID}
OrderCloud.CostCentersListGET /buyers/{buyerID}/costcenters
OrderCloud.CostCentersListAssignmentsGET /buyers/{buyerID}/costcenters/assignments
OrderCloud.CostCentersPatchPATCH /buyers/{buyerID}/costcenters/{costCenterID}
OrderCloud.CostCentersSavePUT /buyers/{buyerID}/costcenters/{costCenterID}
OrderCloud.CostCentersSaveAssignmentPOST /buyers/{buyerID}/costcenters/assignments
OrderCloud.CreditCardsCreatePOST /buyers/{buyerID}/creditcards
OrderCloud.CreditCardsDeleteDELETE /buyers/{buyerID}/creditcards/{creditCardID}
OrderCloud.CreditCardsDeleteAssignmentDELETE /buyers/{buyerID}/creditcards/{creditCardID}/assignments
OrderCloud.CreditCardsGetGET /buyers/{buyerID}/creditcards/{creditCardID}
OrderCloud.CreditCardsListGET /buyers/{buyerID}/creditcards
OrderCloud.CreditCardsListAssignmentsGET /buyers/{buyerID}/creditcards/assignments
OrderCloud.CreditCardsPatchPATCH /buyers/{buyerID}/creditcards/{creditCardID}
OrderCloud.CreditCardsSavePUT /buyers/{buyerID}/creditcards/{creditCardID}
OrderCloud.CreditCardsSaveAssignmentPOST /buyers/{buyerID}/creditcards/assignments
OrderCloud.ImpersonationConfigsCreatePOST /impersonationconfig
OrderCloud.ImpersonationConfigsDeleteDELETE /impersonationconfig/{impersonationConfigID}
OrderCloud.ImpersonationConfigsGetGET /impersonationconfig/{impersonationConfigID}
OrderCloud.ImpersonationConfigsListGET /impersonationconfig
OrderCloud.ImpersonationConfigsPatchPATCH /impersonationconfig/{impersonationConfigID}
OrderCloud.ImpersonationConfigsSavePUT /impersonationconfig/{impersonationConfigID}
OrderCloud.IncrementorsCreatePOST /incrementors
OrderCloud.IncrementorsDeleteDELETE /incrementors/{incrementorID}
OrderCloud.IncrementorsGetGET /incrementors/{incrementorID}
OrderCloud.IncrementorsListGET /incrementors
OrderCloud.IncrementorsPatchPATCH /incrementors/{incrementorID}
OrderCloud.IncrementorsSavePUT /incrementors/{incrementorID}
OrderCloud.LineItemsCreatePOST /orders/{direction}/{orderID}/lineitems
OrderCloud.LineItemsDeleteDELETE /orders/{direction}/{orderID}/lineitems/{lineItemID}
OrderCloud.LineItemsGetGET /orders/{direction}/{orderID}/lineitems/{lineItemID}
OrderCloud.LineItemsListGET /orders/{direction}/{orderID}/lineitems
OrderCloud.LineItemsPatchPATCH /orders/{direction}/{orderID}/lineitems/{lineItemID}
OrderCloud.LineItemsPatchShippingAddressPATCH /orders/{direction}/{orderID}/lineitems/{lineItemID}/shipto
OrderCloud.LineItemsSavePUT /orders/{direction}/{orderID}/lineitems/{lineItemID}
OrderCloud.LineItemsSetShippingAddressPUT /orders/{direction}/{orderID}/lineitems/{lineItemID}/shipto
OrderCloud.MeCreateAddressPOST /me/addresses
OrderCloud.MeCreateCreditCardPOST /me/creditcards
OrderCloud.MeDeleteAddressDELETE /me/addresses/{addressID}
OrderCloud.MeDeleteCreditCardDELETE /me/creditcards/{creditcardID}
OrderCloud.MeGetGET /me
OrderCloud.MeGetAddressGET /me/addresses/{addressID}
OrderCloud.MeGetCatalogGET /me/catalogs/{catalogID}
OrderCloud.MeGetCategoryGET /me/categories/{categoryID}
OrderCloud.MeGetCreditCardGET /me/creditcards/{creditcardID}
OrderCloud.MeGetProductGET /me/products/{productID}
OrderCloud.MeGetPromotionGET /me/promotions/{promotionID}
OrderCloud.MeGetShipmentGET /me/shipments/{shipmentID}
OrderCloud.MeGetSpecGET /me/products/{productID}/specs/{specID}
OrderCloud.MeGetSpendingAccountGET /me/spendingaccounts/{spendingAccountID}
OrderCloud.MeListAddressesGET /me/addresses
OrderCloud.MeListApprovableOrdersGET /me/orders/approvable
OrderCloud.MeListCatalogsGET /me/catalogs
OrderCloud.MeListCategoriesGET /me/categories
OrderCloud.MeListCostCentersGET /me/costcenters
OrderCloud.MeListCreditCardsGET /me/creditcards
OrderCloud.MeListOrdersGET /me/orders
OrderCloud.MeListProductsGET /me/products
OrderCloud.MeListPromotionsGET /me/promotions
OrderCloud.MeListShipmentItemsGET /me/shipments/{shipmentID}/items
OrderCloud.MeListShipmentsGET /me/shipments
OrderCloud.MeListSpecsGET /me/products/{productID}/specs
OrderCloud.MeListSpendingAccountsGET /me/spendingAccounts
OrderCloud.MeListUserGroupsGET /me/usergroups
OrderCloud.MePatchPATCH /me
OrderCloud.MePatchAddressPATCH /me/addresses/{addressID}
OrderCloud.MePatchCreditCardPATCH /me/creditcards/{creditcardID}
OrderCloud.MeRegisterPUT /me/register
OrderCloud.MeResetPasswordByTokenPOST /me/password
OrderCloud.MeSavePUT /me
OrderCloud.MeSaveAddressPUT /me/addresses/{addressID}
OrderCloud.MeSaveCreditCardPUT /me/creditcards/{creditcardID}
OrderCloud.MeTransferAnonUserOrderPUT /me/orders
OrderCloud.MessageSendersDeleteAssignmentDELETE /messagesenders/{messageSenderID}/assignments
OrderCloud.MessageSendersGetGET /messagesenders/{messageSenderID}
OrderCloud.MessageSendersListGET /messagesenders
OrderCloud.MessageSendersListAssignmentsGET /messagesenders/assignments
OrderCloud.MessageSendersListCCListenerAssignmentsGET /messagesenders/CCListenerAssignments
OrderCloud.MessageSendersSaveAssignmentPOST /messagesenders/assignments
OrderCloud.MessageSendersSaveCCListenerAssignmentPOST /messagesenders/CCListenerAssignments
OrderCloud.OrdersAddPromotionPOST /orders/{direction}/{orderID}/promotions/{promoCode}
OrderCloud.OrdersApprovePOST /orders/{direction}/{orderID}/approve
OrderCloud.OrdersCancelPOST /orders/{direction}/{orderID}/cancel
OrderCloud.OrdersCreatePOST /orders/{direction}
OrderCloud.OrdersDeclinePOST /orders/{direction}/{orderID}/decline
OrderCloud.OrdersDeleteDELETE /orders/{direction}/{orderID}
OrderCloud.OrdersGetGET /orders/{direction}/{orderID}
OrderCloud.OrdersListGET /orders/{direction}
OrderCloud.OrdersListApprovalsGET /orders/{direction}/{orderID}/approvals
OrderCloud.OrdersListEligibleApproversGET /orders/{direction}/{orderID}/eligibleapprovers
OrderCloud.OrdersListPromotionsGET /orders/{direction}/{orderID}/promotions
OrderCloud.OrdersPatchPATCH /orders/{direction}/{orderID}
OrderCloud.OrdersPatchBillingAddressPATCH /orders/{direction}/{orderID}/billto
OrderCloud.OrdersPatchFromUserPATCH /orders/{direction}/{orderID}/fromuser
OrderCloud.OrdersPatchShippingAddressPATCH /orders/{direction}/{orderID}/shipto
OrderCloud.OrdersRemovePromotionDELETE /orders/{direction}/{orderID}/promotions/{promoCode}
OrderCloud.OrdersSavePUT /orders/{direction}/{orderID}
OrderCloud.OrdersSetBillingAddressPUT /orders/{direction}/{orderID}/billto
OrderCloud.OrdersSetShippingAddressPUT /orders/{direction}/{orderID}/shipto
OrderCloud.OrdersShipPOST /orders/{direction}/{orderID}/ship
OrderCloud.OrdersSubmitPOST /orders/{direction}/{orderID}/submit
OrderCloud.PasswordResetsResetPasswordByVerificationCodePUT /password/reset/{verificationCode}
OrderCloud.PasswordResetsSendVerificationCodePOST /password/reset
OrderCloud.PaymentsCreatePOST /orders/{direction}/{orderID}/payments
OrderCloud.PaymentsCreateTransactionPOST /orders/{direction}/{orderID}/payments/{paymentID}/transactions
OrderCloud.PaymentsDeleteDELETE /orders/{direction}/{orderID}/payments/{paymentID}
OrderCloud.PaymentsDeleteTransactionDELETE /orders/{direction}/{orderID}/payments/{paymentID}/transactions/{transactionID}
OrderCloud.PaymentsGetGET /orders/{direction}/{orderID}/payments/{paymentID}
OrderCloud.PaymentsListGET /orders/{direction}/{orderID}/payments
OrderCloud.PaymentsPatchPATCH /orders/{direction}/{orderID}/payments/{paymentID}
OrderCloud.PriceSchedulesCreatePOST /priceschedules
OrderCloud.PriceSchedulesDeleteDELETE /priceschedules/{priceScheduleID}
OrderCloud.PriceSchedulesDeletePriceBreakDELETE /priceschedules/{priceScheduleID}/PriceBreaks
OrderCloud.PriceSchedulesGetGET /priceschedules/{priceScheduleID}
OrderCloud.PriceSchedulesListGET /priceschedules
OrderCloud.PriceSchedulesPatchPATCH /priceschedules/{priceScheduleID}
OrderCloud.PriceSchedulesSavePUT /priceschedules/{priceScheduleID}
OrderCloud.PriceSchedulesSavePriceBreakPOST /priceschedules/{priceScheduleID}/PriceBreaks
OrderCloud.ProductsCreatePOST /products
OrderCloud.ProductsDeleteDELETE /products/{productID}
OrderCloud.ProductsDeleteAssignmentDELETE /products/{productID}/assignments/{buyerID}
OrderCloud.ProductsGenerateVariantsPOST /products/{productID}/variants/generate
OrderCloud.ProductsGetGET /products/{productID}
OrderCloud.ProductsGetVariantGET /products/{productID}/variants/{variantID}
OrderCloud.ProductsListGET /products
OrderCloud.ProductsListAssignmentsGET /products/assignments
OrderCloud.ProductsListSuppliersGET /products/{productID}/suppliers
OrderCloud.ProductsListVariantsGET /products/{productID}/variants
OrderCloud.ProductsPatchPATCH /products/{productID}
OrderCloud.ProductsPatchVariantPATCH /products/{productID}/variants/{variantID}
OrderCloud.ProductsRemoveSupplierDELETE /products/{productID}/suppliers/{supplierID}
OrderCloud.ProductsSavePUT /products/{productID}
OrderCloud.ProductsSaveAssignmentPOST /products/assignments
OrderCloud.ProductsSaveSupplierPUT /products/{productID}/suppliers/{supplierID}
OrderCloud.ProductsSaveVariantPUT /products/{productID}/variants/{variantID}
OrderCloud.ProductFacetsCreatePOST /productfacets
OrderCloud.ProductFacetsDeleteDELETE /productfacets/{productFacetID}
OrderCloud.ProductFacetsGetGET /productfacets/{productFacetID}
OrderCloud.ProductFacetsListGET /productfacets
OrderCloud.ProductFacetsPatchPATCH /productfacets/{productFacetID}
OrderCloud.ProductFacetsSavePUT /productfacets/{productFacetID}
OrderCloud.PromotionsCreatePOST /promotions
OrderCloud.PromotionsDeleteDELETE /promotions/{promotionID}
OrderCloud.PromotionsDeleteAssignmentDELETE /promotions/{promotionID}/assignments
OrderCloud.PromotionsGetGET /promotions/{promotionID}
OrderCloud.PromotionsListGET /promotions
OrderCloud.PromotionsListAssignmentsGET /promotions/assignments
OrderCloud.PromotionsPatchPATCH /promotions/{promotionID}
OrderCloud.PromotionsSavePUT /promotions/{promotionID}
OrderCloud.PromotionsSaveAssignmentPOST /promotions/assignments
OrderCloud.SecurityProfilesDeleteAssignmentDELETE /securityprofiles/{securityProfileID}/assignments
OrderCloud.SecurityProfilesGetGET /securityprofiles/{securityProfileID}
OrderCloud.SecurityProfilesListGET /securityprofiles
OrderCloud.SecurityProfilesListAssignmentsGET /securityprofiles/assignments
OrderCloud.SecurityProfilesSaveAssignmentPOST /securityprofiles/assignments
OrderCloud.ShipmentsCreatePOST /shipments
OrderCloud.ShipmentsDeleteDELETE /shipments/{shipmentID}
OrderCloud.ShipmentsDeleteItemDELETE /shipments/{shipmentID}/items/{orderID}/{lineItemID}
OrderCloud.ShipmentsGetGET /shipments/{shipmentID}
OrderCloud.ShipmentsGetItemGET /shipments/{shipmentID}/items/{orderID}/{lineItemID}
OrderCloud.ShipmentsListGET /shipments
OrderCloud.ShipmentsListItemsGET /shipments/{shipmentID}/items
OrderCloud.ShipmentsPatchPATCH /shipments/{shipmentID}
OrderCloud.ShipmentsSavePUT /shipments/{shipmentID}
OrderCloud.ShipmentsSaveItemPOST /shipments/{shipmentID}/items
OrderCloud.SpecsCreatePOST /specs
OrderCloud.SpecsCreateOptionPOST /specs/{specID}/options
OrderCloud.SpecsDeleteDELETE /specs/{specID}
OrderCloud.SpecsDeleteOptionDELETE /specs/{specID}/options/{optionID}
OrderCloud.SpecsDeleteProductAssignmentDELETE /specs/{specID}/productassignments/{productID}
OrderCloud.SpecsGetGET /specs/{specID}
OrderCloud.SpecsGetOptionGET /specs/{specID}/options/{optionID}
OrderCloud.SpecsListGET /specs
OrderCloud.SpecsListOptionsGET /specs/{specID}/options
OrderCloud.SpecsListProductAssignmentsGET /specs/productassignments
OrderCloud.SpecsPatchPATCH /specs/{specID}
OrderCloud.SpecsPatchOptionPATCH /specs/{specID}/options/{optionID}
OrderCloud.SpecsSavePUT /specs/{specID}
OrderCloud.SpecsSaveOptionPUT /specs/{specID}/options/{optionID}
OrderCloud.SpecsSaveProductAssignmentPOST /specs/productassignments
OrderCloud.SpendingAccountsCreatePOST /buyers/{buyerID}/spendingaccounts
OrderCloud.SpendingAccountsDeleteDELETE /buyers/{buyerID}/spendingaccounts/{spendingAccountID}
OrderCloud.SpendingAccountsDeleteAssignmentDELETE /buyers/{buyerID}/spendingaccounts/{spendingAccountID}/assignments
OrderCloud.SpendingAccountsGetGET /buyers/{buyerID}/spendingaccounts/{spendingAccountID}
OrderCloud.SpendingAccountsListGET /buyers/{buyerID}/spendingaccounts
OrderCloud.SpendingAccountsListAssignmentsGET /buyers/{buyerID}/spendingaccounts/assignments
OrderCloud.SpendingAccountsPatchPATCH /buyers/{buyerID}/spendingaccounts/{spendingAccountID}
OrderCloud.SpendingAccountsSavePUT /buyers/{buyerID}/spendingaccounts/{spendingAccountID}
OrderCloud.SpendingAccountsSaveAssignmentPOST /buyers/{buyerID}/spendingaccounts/assignments
OrderCloud.SuppliersCreatePOST /suppliers
OrderCloud.SuppliersDeleteDELETE /suppliers/{supplierID}
OrderCloud.SuppliersGetGET /suppliers/{supplierID}
OrderCloud.SuppliersListGET /suppliers
OrderCloud.SuppliersPatchPATCH /suppliers/{supplierID}
OrderCloud.SuppliersSavePUT /suppliers/{supplierID}
OrderCloud.SupplierAddressesCreatePOST /suppliers/{supplierID}/addresses
OrderCloud.SupplierAddressesDeleteDELETE /suppliers/{supplierID}/addresses/{addressID}
OrderCloud.SupplierAddressesGetGET /suppliers/{supplierID}/addresses/{addressID}
OrderCloud.SupplierAddressesListGET /suppliers/{supplierID}/addresses
OrderCloud.SupplierAddressesPatchPATCH /suppliers/{supplierID}/addresses/{addressID}
OrderCloud.SupplierAddressesSavePUT /suppliers/{supplierID}/addresses/{addressID}
OrderCloud.SupplierUsersCreatePOST /suppliers/{supplierID}/users
OrderCloud.SupplierUsersDeleteDELETE /suppliers/{supplierID}/users/{userID}
OrderCloud.SupplierUsersGetGET /suppliers/{supplierID}/users/{userID}
OrderCloud.SupplierUsersGetAccessTokenPOST /suppliers/{supplierID}/users/{userID}/accesstoken
OrderCloud.SupplierUsersListGET /suppliers/{supplierID}/users
OrderCloud.SupplierUsersPatchPATCH /suppliers/{supplierID}/users/{userID}
OrderCloud.SupplierUsersSavePUT /suppliers/{supplierID}/users/{userID}
OrderCloud.SupplierUserGroupsCreatePOST /suppliers/{supplierID}/usergroups
OrderCloud.SupplierUserGroupsDeleteDELETE /suppliers/{supplierID}/usergroups/{userGroupID}
OrderCloud.SupplierUserGroupsDeleteUserAssignmentDELETE /suppliers/{supplierID}/usergroups/{userGroupID}/assignments/{userID}
OrderCloud.SupplierUserGroupsGetGET /suppliers/{supplierID}/usergroups/{userGroupID}
OrderCloud.SupplierUserGroupsListGET /suppliers/{supplierID}/usergroups
OrderCloud.SupplierUserGroupsListUserAssignmentsGET /suppliers/{supplierID}/usergroups/assignments
OrderCloud.SupplierUserGroupsPatchPATCH /suppliers/{supplierID}/usergroups/{userGroupID}
OrderCloud.SupplierUserGroupsSavePUT /suppliers/{supplierID}/usergroups/{userGroupID}
OrderCloud.SupplierUserGroupsSaveUserAssignmentPOST /suppliers/{supplierID}/usergroups/assignments
OrderCloud.UsersCreatePOST /buyers/{buyerID}/users
OrderCloud.UsersDeleteDELETE /buyers/{buyerID}/users/{userID}
OrderCloud.UsersGetGET /buyers/{buyerID}/users/{userID}
OrderCloud.UsersGetAccessTokenPOST /buyers/{buyerID}/users/{userID}/accesstoken
OrderCloud.UsersListGET /buyers/{buyerID}/users
OrderCloud.UsersMovePOST /buyers/{buyerID}/users/{userID}/moveto/{newBuyerID}
OrderCloud.UsersPatchPATCH /buyers/{buyerID}/users/{userID}
OrderCloud.UsersSavePUT /buyers/{buyerID}/users/{userID}
OrderCloud.UserGroupsCreatePOST /buyers/{buyerID}/usergroups
OrderCloud.UserGroupsDeleteDELETE /buyers/{buyerID}/usergroups/{userGroupID}
OrderCloud.UserGroupsDeleteUserAssignmentDELETE /buyers/{buyerID}/usergroups/{userGroupID}/assignments/{userID}
OrderCloud.UserGroupsGetGET /buyers/{buyerID}/usergroups/{userGroupID}
OrderCloud.UserGroupsListGET /buyers/{buyerID}/usergroups
OrderCloud.UserGroupsListUserAssignmentsGET /buyers/{buyerID}/usergroups/assignments
OrderCloud.UserGroupsPatchPATCH /buyers/{buyerID}/usergroups/{userGroupID}
OrderCloud.UserGroupsSavePUT /buyers/{buyerID}/usergroups/{userGroupID}
OrderCloud.UserGroupsSaveUserAssignmentPOST /buyers/{buyerID}/usergroups/assignments

Documentation for Models

Documentation for Authorization

oauth2

  • Type: OAuth
  • Flow: password
  • Authorization URL:
  • Scopes:
    • AddressAdmin:
    • AddressReader:
    • AdminAddressAdmin:
    • AdminAddressReader:
    • AdminUserAdmin:
    • AdminUserGroupAdmin:
    • AdminUserGroupReader:
    • AdminUserReader:
    • ApiClientAdmin:
    • ApiClientReader:
    • ApprovalRuleAdmin:
    • ApprovalRuleReader:
    • BuyerAdmin:
    • BuyerImpersonation:
    • BuyerReader:
    • BuyerUserAdmin:
    • BuyerUserReader:
    • CatalogAdmin:
    • CatalogReader:
    • CategoryAdmin:
    • CategoryReader:
    • CostCenterAdmin:
    • CostCenterReader:
    • CreditCardAdmin:
    • CreditCardReader:
    • FullAccess:
    • GrantForAnyRole:
    • IncrementorAdmin:
    • IncrementorReader:
    • InventoryAdmin:
    • MeAddressAdmin:
    • MeAdmin:
    • MeCreditCardAdmin:
    • MessageConfigAssignmentAdmin:
    • MeXpAdmin:
    • OrderAdmin:
    • OrderReader:
    • OverrideShipping:
    • OverrideTax:
    • OverrideUnitPrice:
    • PasswordReset:
    • PriceScheduleAdmin:
    • PriceScheduleReader:
    • ProductAdmin:
    • ProductAssignmentAdmin:
    • ProductFacetAdmin:
    • ProductFacetReader:
    • ProductReader:
    • PromotionAdmin:
    • PromotionReader:
    • SetSecurityProfile:
    • ShipmentAdmin:
    • ShipmentReader:
    • Shopper:
    • SpendingAccountAdmin:
    • SpendingAccountReader:
    • SupplierAddressAdmin:
    • SupplierAddressReader:
    • SupplierAdmin:
    • SupplierReader:
    • SupplierUserAdmin:
    • SupplierUserGroupAdmin:
    • SupplierUserGroupReader:
    • SupplierUserReader:
    • UnsubmittedOrderReader:
    • UserGroupAdmin:
    • UserGroupReader:

FAQs

Package last updated on 30 Nov 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc