Developer Center · Testing

Test search as a chain, not as a separate endpoint.

A technically successful API call says nothing about store insulation, relevant results or reliable conversion attribution. Test from input to business event.

Unit tests

Test mapping, validation, event formation and local error handling without external dependencies.

Integration tests

Check API contracts, authentication, store context, and error codes against a representative environment.

Query regression

Store critical exact matches and representative search queries in a fixed query set.

Conversion tests

Test attributed and unattributed scenarios and check if duplicate orders are prevented.

Attribution audit →