Home > @vsf-enterprise/sapcc-api > Endpoints > createCartAddress
Endpoints.createCartAddress() method
Creates an address and assigns it to the cart as the delivery address.
Signature:
createCartAddress(context: SapccIntegrationContext, props: CreateCartAddressProps): Promise<Address>;
Parameters
Parameter | Type | Description |
---|---|---|
context | SapccIntegrationContext | An auto-generated value prepended to the method as a first parameter. |
props | CreateCartAddressProps | An object containing required structure for creating cart delivery address. |
Returns:
Promise<Address>