Demandware Organizations API
The Organizations API from Demandware — 122 operation(s) for organizations.
Operations 149
POST
/organizations/{organizationId}/oauth2/login
Log in a shopper with credentials that are managed by a B2C Commerce instance…
#
POST
/organizations/{organizationId}/oauth2/passwordless/login
Allow the customer to authenticate when their identity provider is down
#
GET
/organizations/{organizationId}/oauth2/authorize
Get an authorization code after authenticating a user against an identity…
#
POST
/organizations/{organizationId}/oauth2/token
Get the shopper or guest JWT access token and a refresh token
#
POST
/organizations/{organizationId}/oauth2/session-bridge/token
Get a shopper JWT access token for a customer using session bridging
#
POST
/organizations/{organizationId}/oauth2/trusted-system/token
Get a shopper JWT access token for a registered customer whose credentials are…
#
GET
/organizations/{organizationId}/oauth2/trusted-agent/authorize
Obtain a new agent on behalf of an authorization token for a registered customer
#
POST
/organizations/{organizationId}/oauth2/trusted-agent/token
Get a shopper JWT access token for a registered customer using a trusted agent…
#
GET
/organizations/{organizationId}/oauth2/userinfo
Return a JSON listing of claims about the currently authenticated user
#
GET
/organizations/{organizationId}/oauth2/.well-known/openid-configuration
Return a JSON listing of the OpenID/OAuth endpoints, supported scopes and…
#
POST
/organizations/{organizationId}/oauth2/webauthn/register/authorize
Authorize user for WebAuthn registration
#
POST
/organizations/{organizationId}/oauth2/webauthn/authenticate/start
Start WebAuthn authentication
#
POST
/organizations/{organizationId}/oauth2/webauthn/authenticate/finish
Finish WebAuthn authentication
#
GET
/organizations/{organizationId}/oauth2/webauthn/passkey/user/{loginId}
Retrieve passkey user information and credentials by login ID
#
DELETE
/organizations/{organizationId}/oauth2/webauthn/passkey/user/{loginId}
Delete passkey user and all associated credentials
#
DELETE
/organizations/{organizationId}/oauth2/webauthn/passkey/user/{loginId}/credentials/{credentialId}
Delete a specific passkey credential
#
POST
/organizations/{organizationId}/oauth2/otp/request
Request a one-time password (OTP) for a shopper
#
POST
/organizations/{organizationId}/oauth2/otp/verify
Verify a one-time password (OTP) for a shopper
#
PUT
/organizations/{organizationId}/baskets/{basketId}/agent
Designate a basket as an agent basket
#
PUT
/organizations/{organizationId}/baskets/{basketId}/billing-address
Add a billing address to a basket
#
DELETE
/organizations/{organizationId}/baskets/{basketId}/coupons/{couponItemId}
Remove a coupon from a basket
#
PUT
/organizations/{organizationId}/baskets/{basketId}/customer
Add shopper information to a basket
#
POST
/organizations/{organizationId}/baskets/{basketId}/gift-certificate-items
Add a gift certificate to a basket
#
DELETE
/organizations/{organizationId}/baskets/{basketId}/gift-certificate-items/{giftCertificateItemId}
Remove a gift certificate from a basket
#
PATCH
/organizations/{organizationId}/baskets/{basketId}/gift-certificate-items/{giftCertificateItemId}
Update gift certificate information for a basket
#
DELETE
/organizations/{organizationId}/baskets/{basketId}/items/{itemId}
Remove an item from a basket
#
PATCH
/organizations/{organizationId}/baskets/{basketId}/items/{itemId}
Update an item in a basket
#
PUT
/organizations/{organizationId}/baskets/{basketId}/items/{itemId}/taxes
Add taxation information for a basket item
#
POST
/organizations/{organizationId}/baskets/{basketId}/payment-instruments
Add a payment instrument to a basket
#
DELETE
/organizations/{organizationId}/baskets/{basketId}/payment-instruments/{paymentInstrumentId}
Remove a payment instrument from a basket
#
PATCH
/organizations/{organizationId}/baskets/{basketId}/payment-instruments/{paymentInstrumentId}
Update a payment instrument for a basket
#
GET
/organizations/{organizationId}/baskets/{basketId}/payment-methods
Retrieve payment instruments for a basket
#
POST
/organizations/{organizationId}/baskets/{basketId}/price-adjustments
Add a price adjustment to a basket
#
DELETE
/organizations/{organizationId}/baskets/{basketId}/price-adjustments/{priceAdjustmentId}
Remove a price adjustment from a basket
#
PATCH
/organizations/{organizationId}/baskets/{basketId}/price-adjustments/{priceAdjustmentId}
Update a price adjustment for a basket
#
GET
/organizations/{organizationId}/baskets/{basketId}/price-books
Retrieve price books for a basket
#
DELETE
/organizations/{organizationId}/baskets/{basketId}/shipments/{shipmentId}
Remove a shipment from a basket
#
PATCH
/organizations/{organizationId}/baskets/{basketId}/shipments/{shipmentId}
Update a shipment for a basket
#
PUT
/organizations/{organizationId}/baskets/{basketId}/shipments/{shipmentId}/shipping-address
Update the shipping address for a shipment
#
PUT
/organizations/{organizationId}/baskets/{basketId}/shipments/{shipmentId}/shipping-method
Update the shipping method for a shipment
#
GET
/organizations/{organizationId}/baskets/{basketId}/shipments/{shipmentId}/shipping-methods
Retrieve the shipping methods for a shipment
#
PUT
/organizations/{organizationId}/baskets/{basketId}/storefront
Designate a basket as a storefront basket
#
GET
/organizations/{organizationId}/baskets/{basketId}/taxes
Retrieve the external taxation information for a basket
#
PUT
/organizations/{organizationId}/baskets/{basketId}/taxes
Add external taxation information to a basket
#
POST
/organizations/{organizationId}/baskets/{basketId}/actions/promote
Promote a temporary basket by clearing its isTemporary flag
#
POST
/organizations/{organizationId}/subscriptions/actions/bulk
Update shopper subscription preferences
#
GET
/organizations/{organizationId}/shopper-context/{usid}
Get the shopper's context based on the shopperJWT
#
PUT
/organizations/{organizationId}/shopper-context/{usid}
Create the shopper's context based on the shopperJWT.
#
PATCH
/organizations/{organizationId}/shopper-context/{usid}
Update an existing shopper's context based on the Shopper JWT
#
POST
/organizations/{organizationId}/customers/password/actions/reset
Reset customer password after obtaining a reset token
#
POST
/organizations/{organizationId}/customers/password/actions/create-reset-token
Get reset password token
#
GET
/organizations/{organizationId}/customers/external-profile
Gets the new external profile for a customer.
#
POST
/organizations/{organizationId}/customers/external-profile
Register a new external profile for a customer.
#
GET
/organizations/{organizationId}/customers/{customerId}
Get a customer and all existing addresses and payment instruments associated…
#
POST
/organizations/{organizationId}/customers/{customerId}/addresses
Create a new address with the given name for the customer.
#
GET
/organizations/{organizationId}/customers/{customerId}/addresses/{addressName}
Retrieve a customer's address by address name.
#
DELETE
/organizations/{organizationId}/customers/{customerId}/addresses/{addressName}
Delete a customer's address by address name.
#
PATCH
/organizations/{organizationId}/customers/{customerId}/addresses/{addressName}
Update a customer's address by address name.
#
GET
/organizations/{organizationId}/customers/{customerId}/baskets
Get the baskets for a customer.
#
GET
/organizations/{organizationId}/customers/{customerId}/orders
Return a page list of all the customer's orders. The default page size is 10.
#
POST
/organizations/{organizationId}/customers/{customerId}/payment-instruments
Add a payment instrument to the customer information.
#
GET
/organizations/{organizationId}/customers/{customerId}/payment-instruments/{paymentInstrumentId}
Retrieve a customer's payment instrument by its ID.
#
DELETE
/organizations/{organizationId}/customers/{customerId}/payment-instruments/{paymentInstrumentId}
Delete a customer's payment instrument.
#
PATCH
/organizations/{organizationId}/customers/{customerId}/payment-instruments/{paymentInstrumentId}
Update a customer's payment instrument.
#
DELETE
/organizations/{organizationId}/customers/{customerId}/payment-method-references/{paymentMethodReferenceId}
Delete a customer's payment method reference.
#
POST
/organizations/{organizationId}/customers/{customerId}/payment-method-references/actions/setup
Set up a new payment method reference for a customer.
#
POST
/organizations/{organizationId}/customers/{customerId}/payment-method-references/actions/complete
Complete payment method reference setup for a customer.
#
GET
/organizations/{organizationId}/customers/{customerId}/product-lists
Return all customer product lists.
#
POST
/organizations/{organizationId}/customers/{customerId}/product-lists
Create a customer product list.
#
GET
/organizations/{organizationId}/customers/{customerId}/product-lists/{listId}
Return a customer product list for the given customer and the items in the list.
#
DELETE
/organizations/{organizationId}/customers/{customerId}/product-lists/{listId}
Delete customer product list
#
PATCH
/organizations/{organizationId}/customers/{customerId}/product-lists/{listId}
Change a product list.
#
POST
/organizations/{organizationId}/customers/{customerId}/product-lists/{listId}/items
Add an item to the customer's product list
#
GET
/organizations/{organizationId}/customers/{customerId}/product-lists/{listId}/items/{itemId}
Return an item of a customer product list and the actual product details such…
#
DELETE
/organizations/{organizationId}/customers/{customerId}/product-lists/{listId}/items/{itemId}
Remove an item from a customer product list.
#
PATCH
/organizations/{organizationId}/customers/{customerId}/product-lists/{listId}/items/{itemId}
Update an item in a customer's product list
#
GET
/organizations/{organizationId}/product-lists
Retrieve all public product lists as defined by the given search term, for…
#
GET
/organizations/{organizationId}/product-lists/{listId}
Retrieve a public product list by ID and the items under that product list.
#
GET
/organizations/{organizationId}/product-lists/{listId}/items
Retrieve all items of a public product list
#
GET
/organizations/{organizationId}/product-lists/{listId}/items/{itemId}
Retrieve an item from a public product list and the actual product details such…
#
GET
/organizations/{organizationId}/delivery-estimates
Returns delivery date estimates for the requested product
#
GET
/organizations/{organizationId}/pages/{pageId}
Get a Page Designer page based on a single page ID
#
POST
/organizations/{organizationId}/preview-context/apply
Apply a shareable storefront preview context to the caller's shopper session
#
POST
/organizations/{organizationId}/qualifiers/resolve
Resolve qualifiers for customer groups, campaign promotions, and data binding…
#
GET
/organizations/{organizationId}/orders/oms-meta-data
Retrieve Order Management (OMS) configuration data needed to render cancel and…
#
POST
/organizations/{organizationId}/orders/{orderNo}/lookup
Retrieve order information using a combination of non-token identifying factors
#
POST
/organizations/{organizationId}/orders/{orderNo}/actions/oms-cancel-order
Cancel an order that is integrated with Order Management (OMS)
#
POST
/organizations/{organizationId}/orders/{orderNo}/actions/oms-return-order
Initiate the return of one or more items of an order that is integrated with…
#
POST
/organizations/{organizationId}/orders/{orderNo}/actions/request-access-code
Request a time-limited access code for a guest order
#
POST
/organizations/{organizationId}/orders/{orderNo}/payment-instruments
Add a payment instrument to an order
#
DELETE
/organizations/{organizationId}/orders/{orderNo}/payment-instruments/{paymentInstrumentId}
Remove a payment instrument from an order
#
PATCH
/organizations/{organizationId}/orders/{orderNo}/payment-instruments/{paymentInstrumentId}
Update payment instrument details for an order
#
GET
/organizations/{organizationId}/orders/{orderNo}/payment-methods
Retrieve payment instrument details for an order
#
GET
/organizations/{organizationId}/orders/{orderNo}/taxes
Retrieve external taxation data for an order
#
GET
/organizations/{organizationId}/products/{productId}/images
Returns product image data for a single product
#
GET
/organizations/{organizationId}/products/{productId}/prices
Returns price details for a single product
#
GET
/organizations/{organizationId}/products/{productId}/promotions
Returns active promotion details for a single product
#
GET
/organizations/{organizationId}/categories
Returns category and subcategory details for one or more categories
#
GET
/organizations/{organizationId}/categories/{id}
Returns category and subcategory details for a single category
#
GET
/organizations/{organizationId}/promotions
Return an array of enabled promotions for specified IDs
#
GET
/organizations/{organizationId}/promotions/campaigns/{campaignId}
Return an array of enabled promotions matching the specified filter criteria
#
GET
/organizations/{organizationId}/product-search
Provides keyword and refinement-based search for products, returning only…
#
GET
/organizations/{organizationId}/search-suggestions
Provides keyword-based search suggestions for products, categories, and brands.
#
GET
/organizations/{organizationId}/store-search
Retrieve a list of stores for the given site that are within a configured…
#
Documentation
APIReference
https://developer.salesforce.com/docs/commerce/commerce-api/references
GettingStarted
https://developer.salesforce.com/docs/commerce/commerce-api/guide/get-started.html
Specifications
Schemas & Data
JSONSchema
https://artifacts.apis.io/demandware/json-schema/demandware-session-bridge-token-request-schema.json
JSONSchema
https://artifacts.apis.io/demandware/json-schema/demandware-token-response-schema.json
JSONSchema
https://artifacts.apis.io/demandware/json-schema/demandware-trusted-agent-token-request-schema.json
JSONSchema
https://artifacts.apis.io/demandware/json-schema/demandware-login-request-schema.json
JSONSchema
https://artifacts.apis.io/demandware/json-schema/demandware-passwordless-login-request-schema.json
JSONSchema
https://artifacts.apis.io/demandware/json-schema/demandware-token-request-schema.json