Salesforce Commerce Cloud/Demandware - OCAPI query orders by date range -
i trying query demandware (sfcc) api extract orders using date range. post orders_search works seems terribly inefficient. first pull all data , filter results.
i query date ranges, cannot figure out how that. help.
{ query : { filtered_query: { query: { term_query: { fields: ["creation_date"], operator: "is_not_null" } }, filter: { range_filter: { field: "creation_date", from: "2017-08-12t00:00:00.000z", to: "2017-08-13t00:00:00.000z", from_inclusive: true } } } } }
Comments
Post a Comment