Skip to main content
string
The Spring bean identifier containing the service being called.orderServiceImpl
string
default:"PROTOTYPE"
Bean scope. Use PROTOTYPE for service calls.
string
The public service method name shown in the signature below.
object[]
The method argument array. Each argument is passed as an object with index 0, 1, and so on; the value must match the Java parameter type.

Headers

Send Lang-Context and Site-Context with every request. For protected methods, send the JWT in the Authorization header as Bearer <token>. Access: ADMIN. Bearer Token: conditional for USER/ADMIN.
  • GUEST — unauthenticated users; only whitelist services are available.
  • USER — authentication is required; methods with USER checks are available.
  • ADMIN — full access to public methods of all services.
  • If a method checks a role internally, GUEST may receive null.

Methods

void

handleNotify

OrderRepository

getRepository

String

activeLogisticsProvider

String

activePaymentProvider

CommerceItemRepository

getCommerceItemRepository

Deque<Map<String, Object>>

getPaginationFilter

LinkedHashSet<OrderDTO>

getOrders

Page<Order>

getOrdersPaged

Optional<Order>

createOrder

Example JSON request object:
Request:
Order

saveOrder

Example JSON request object:
Request:
List<OrderDTO>

orderCheckout

Order

digitalOrderCheckout

Example JSON request object:
Request:
Attachment

createInvoiceBuyerToVendor

void

removeOrder

void

removeOrdersByIds

boolean

removeCommerceItemFromOrder

List<OrderDTO>

getOrdersFromLoggedUser

LinkedHashSet<OrderDTO>

getOrdersFromLoggedUserByIds

OrderDTO

getOrder

boolean

approve

PaymentStatus

pay

boolean

ship

boolean

deliver

String

payout

boolean

complete

boolean

completeDigitalOrder

boolean

prepareForShipment

boolean

cancel

boolean

refund

List<OrderTimeLineBean>

getOrderTimeLine

boolean

isUserParticipatesInOrder

OrderTimeLineBean

getLastOrderTimelineBean

boolean

removeAttachment

boolean

removeAttachment

Set<Address>

getShippingAddresses

boolean

canCancel

boolean

canAddAttachment

boolean

changeAddress

boolean

changePaymentMethod

boolean

canChangeStatus

boolean

mustAddAttachments

String

getInvoiceTemplate

BigDecimal

calculateDelivery

Order

clearPaymentInfo

CommerceItem

updateCommerceItemMetaInfo